All times are UTC-06:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
 Post subject: SPI on efika
PostPosted: Mon May 12, 2008 4:08 am 
Offline

Joined: Mon Mar 31, 2008 11:15 am
Posts: 17
Location: Bari, Italy
It is possible to use SPI and I2C on Efika? Some time ago I have talked to Thomas from bplan, he has said that "SPI and I2C are available via solder pads". Is this correct?

Reading this topic it seems like somebody had already tried to reach the PSC6 pins under the board, but no one had confirmed that it had been done successfully.

These features would be REALLY useful for us.

Thanks

Giammarco


Top
   
 Post subject: Re: SPI on efika
PostPosted: Mon May 12, 2008 4:57 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
It is possible to use SPI and I2C on Efika? Some time ago I have talked to Thomas from bplan, he has said that "SPI and I2C are available via solder pads". Is this correct?

Reading this topic it seems like somebody had already tried to reach the PSC6 pins under the board, but no one had confirmed that it had been done successfully.

These features would be REALLY useful for us.
Whoops :D

You can use I2C using the two very prominent solder pads on the underside of the board; they're meant for CAN but you can configure the bus at the firmware level and post a device tree entry that will enable Linux to pick it up. I can provide you with that code if you like.

As for the missing pins on PSC6, this should help;

Image

It is not as easy to solder as the CAN/I2C bus, but it's possible. You can do some clever poking and hacking and get a full SPI and I2C connector on the 9x9 solder grid on the board if you wish, however this precludes using a hard disk..

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Tue May 13, 2008 6:40 am 
Offline

Joined: Mon Mar 31, 2008 11:15 am
Posts: 17
Location: Bari, Italy
Quote:
It is not as easy to solder as the CAN/I2C bus, but it's possible.
(Cough) Yes, of course... :-)

We'll try it and let you know.

Thanks a lot

Giammarco


Top
   
 Post subject: SPI bandwith
PostPosted: Fri Sep 05, 2008 7:05 am 
Offline

Joined: Sat Nov 03, 2007 10:43 am
Posts: 38
Location: France
Hello Giammarco,

What's up about this ? Any success to get a working SPI/I2C bus working ?

By the way, what is the bandwith of the SPI port?

Czk.


Top
   
 Post subject: Re: SPI bandwith
PostPosted: Fri Sep 05, 2008 10:25 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
Hello Giammarco,

What's up about this ? Any success to get a working SPI/I2C bus working ?

By the way, what is the bandwith of the SPI port?
By my calculation you can run the SPI bus at ~33Mbit/s (this is a raw rate assuming you can transfer something on every clock cycle, which may or may not actually be possible).

This is more than enough to run an 802.11g wireless module, for example.

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Wed Oct 29, 2008 6:56 am 
Offline

Joined: Mon Mar 31, 2008 11:15 am
Posts: 17
Location: Bari, Italy
Hi, sorry for the late response.

We have not tried to make it work as the project has been put aside, probably we'll be trying in the next few weeks. We'll post here some results/benchmarks when available.

Regards

Giammarco


Top
   
 Post subject: Re: SPI bandwith
PostPosted: Sun Nov 30, 2008 4:53 am 
Offline

Joined: Sat Nov 03, 2007 10:43 am
Posts: 38
Location: France
Quote:

This is more than enough to run an 802.11g wireless module, for example.
This kind of chip for example ?

http://www.st.com/stonline/products/lit ... lc4550.htm

Czk


Top
   
 Post subject: Re: SPI bandwith
PostPosted: Sun Nov 30, 2008 1:42 pm 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
Quote:

This is more than enough to run an 802.11g wireless module, for example.
This kind of chip for example ?

http://www.st.com/stonline/products/lit ... lc4550.htm
Yes just like that or just like this

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Sun May 31, 2009 7:50 am 
Offline

Joined: Wed Aug 01, 2007 8:04 pm
Posts: 21
Location: Wellesley, MA
There are two ways to do SPI on mpc5200, using the dedicated SPI controller or a PSC. The PSC has to be 1,2,3 or 6.

The dedicated controller can only do about 100Kb/sec. The PSC is known to do 20Mb/sec and can probably do 40Mb/sec with some tweaking.

Working drivers for both methods are in my tree at http://git.digispeaker.com

You can get 802.11 for USB and PCI too. May be an easier solution.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 9 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group