All times are UTC - 6 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: SPI on Efika
PostPosted: Thu Jul 19, 2007 4:02 am 
Offline


Sun Nov 12, 2006 8:11 pm

22

Malaysia
Hi all,

In our project 329, we need to use SPI. And we need to do it at 33MHz.

The plan is for Efika to be master and in 2-wire mode (MOSI, SCK)

After digging around this forum, and cross referencing with the MPC5200B User Manual. It looks bleak.

The IRDA pinout on Efika board are as follow:
pin 1 - VCC-3.3V
pin 2 - No Connection
pin 3 - Ir Rx - PSC6_0
pin 4 - Gnd
pin 5 - Ir Tx - PSC6_2
(Ref Efika User Manual - http://www.pegasosppc.com/manuals/Genes ... nglish.pdf)

PSC6_0 also multiplex as Codec_Rx - or MISO
PSC6_2 also multiplex as Codec_Tx - or MOSI
PSC6_3 is missing which contains Codec Clk - or SCK
(Ref MPC5200B rev 1.3 UM pg2-78)

I figured the other alternative is to use PSC2 since http://www.powerdeveloper.org/platforms ... ifications did not mention any specific usage on it. But where is it on the board?

On PSC2, we need the following:
PSC2_0 - MOSI
PSC2_3 - SCK.
(Ref MPC5200B rev 1.3 UM pg 2-41)

Most of the information was peeled from : http://www.powerdeveloper.org/forums/vi ... php?t=1268

If PSC2 is not available readily, how impossible is it to "hack" the board to pull the pinout from MPC5200B solder pads?

We are desperate. Only SPI have enough bandwidth to feed our microcontrollers with raw data.


Top
 Profile  
 
 Post subject: Re: SPI on Efika
PostPosted: Sat Jul 21, 2007 4:04 am 
Offline
Site Admin


Fri Sep 24, 2004 1:39 am

1589

Alamo Heights, TX
volumetric_display wrote:
Hi all,

In our project 329, we need to use SPI. And we need to do it at 33MHz.

The plan is for Efika to be master and in 2-wire mode (MOSI, SCK)

After digging around this forum, and cross referencing with the MPC5200B User Manual. It looks bleak.

The IRDA pinout on Efika board are as follow:
pin 1 - VCC-3.3V
pin 2 - No Connection
pin 3 - Ir Rx - PSC6_0
pin 4 - Gnd
pin 5 - Ir Tx - PSC6_2
(Ref Efika User Manual - http://www.pegasosppc.com/manuals/Genes ... nglish.pdf)

PSC6_0 also multiplex as Codec_Rx - or MISO
PSC6_2 also multiplex as Codec_Tx - or MOSI
PSC6_3 is missing which contains Codec Clk - or SCK
(Ref MPC5200B rev 1.3 UM pg2-78)

I figured the other alternative is to use PSC2 since http://www.powerdeveloper.org/platforms ... ifications did not mention any specific usage on it. But where is it on the board?

On PSC2, we need the following:
PSC2_0 - MOSI
PSC2_3 - SCK.
(Ref MPC5200B rev 1.3 UM pg 2-41)

Most of the information was peeled from : http://www.powerdeveloper.org/forums/vi ... php?t=1268

If PSC2 is not available readily, how impossible is it to "hack" the board to pull the pinout from MPC5200B solder pads?

We are desperate. Only SPI have enough bandwidth to feed our microcontrollers with raw data.


PSC2 is used for AC97.

You can pull the extra PSC6 pins from the board (they are on the underside) if you need them. I will try and get the definitive information on it..
Matt Sealey, Genesi USA Inc.
Product Development Analyst


Top
 Profile  
 
 Post subject: Re: SPI on Efika
PostPosted: Sun Jul 22, 2007 7:39 pm 
Offline


Sun Nov 12, 2006 8:11 pm

22

Malaysia
Neko wrote:
PSC2 is used for AC97.

You can pull the extra PSC6 pins from the board (they are on the underside) if you need them. I will try and get the definitive information on it..


Thanks Matt! Waiting eagerly for the coordinates.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 24, 2007 3:16 am 
Offline


Sun Nov 12, 2006 8:11 pm

22

Malaysia
Maybe just for academic purposes; the following is listed in pg 67 of MPC5200B Datasheet rev 1:

Timer_2 - MOSI
Timer_3 - MISO
Timer_4 - SS
Timer_5 - SCK

The pinout is not multiplex with any other function.

Question 1 : Is Timer_[2..5] being used with other peripheral?

Question 2 : If not, is it exposed on Efika?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 25, 2007 8:54 am 
Offline
Site Admin


Fri Sep 24, 2004 1:39 am

1589

Alamo Heights, TX
volumetric_display wrote:
Maybe just for academic purposes; the following is listed in pg 67 of MPC5200B Datasheet rev 1:

Timer_2 - MOSI
Timer_3 - MISO
Timer_4 - SS
Timer_5 - SCK

The pinout is not multiplex with any other function.

Question 1 : Is Timer_[2..5] being used with other peripheral?

Question 2 : If not, is it exposed on Efika?


No, you can't use the timers unfortunately. I think they are simply used (flash is commonly connected via SPI, and the "other" SPI controller may be multiplexed with a PSC somewhere..)

This is something we really need to fix on a future revision.
Matt Sealey, Genesi USA Inc.
Product Development Analyst


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 31, 2007 2:50 am 
Offline


Sun Nov 12, 2006 8:11 pm

22

Malaysia
Neko wrote:
volumetric_display wrote:
Maybe just for academic purposes; the following is listed in pg 67 of MPC5200B Datasheet rev 1:

Timer_2 - MOSI
Timer_3 - MISO
Timer_4 - SS
Timer_5 - SCK

The pinout is not multiplex with any other function.

Question 1 : Is Timer_[2..5] being used with other peripheral?

Question 2 : If not, is it exposed on Efika?


No, you can't use the timers unfortunately. I think they are simply used (flash is commonly connected via SPI, and the "other" SPI controller may be multiplexed with a PSC somewhere..)

This is something we really need to fix on a future revision.


Is is possible to tap into PSC6_3 on the current version?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 01, 2007 3:58 pm 
Offline
Site Admin


Fri Sep 24, 2004 1:39 am

1589

Alamo Heights, TX
volumetric_display wrote:
Is is possible to tap into PSC6_3 on the current version?


Yes. All the PSC6 pins are routed out of the chip, and the missing two pins ARE on solder pads on the bottom of the board. Which ones.. I couldn't tell you off hand.

Mail me personally and I'll forward it to the engineers.
Matt Sealey, Genesi USA Inc.
Product Development Analyst


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 11, 2007 4:47 am 
Offline


Sat Jul 07, 2007 3:19 pm

2
When you get SPI to work, a small post here would be nice. I also thought about SPI, and while a pure software implementation might suffice in my case, being able to use Hardware SPI would be much nicer.


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
Powered by phpBB® Forum Software © phpBB Group