SPI for MPC5606B

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SPI for MPC5606B

1,359 Views
iswanghe
Contributor II

Hi,

I'm working with SPI-1(as slave bus) of MPC5606B now. Is there any code sample about SPI module configuration to share? My code is not work.

 

Urgent need for your guidance. Thanks.

Regards,

Wang

Labels (1)
Tags (1)
0 Kudos
4 Replies

1,172 Views
iswanghe
Contributor II

Hi David:

I use PC with USB-SPI adapter as master device, and MPC5606B SPI1 as slave. I refer to the above information for the design and not work still(I copy your code and modify the pin configuration only).

I test the signal of the  USB-SPI adapter, and the  waveform of MOSI/ SCK/ CS0 are normal. But MISO is low level.

So how  to deal with this situation.

Urgent need for your guidance. Thanks.

0 Kudos

1,172 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

I don’t have experience with such USB-SPI adapters, I would firstly test the code on the EVB itself with using on two DSPIs, one as master, second as slave to determine where the problem is.

0 Kudos

1,172 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport
0 Kudos

965 Views
StarMao159376
Contributor II

Hi, sir, http://www.nxp.com/files/32bit/doc/app_note/AN2865SW.zip.This link has failed. I'm taking SPC5606B as a slave now. SPI can't enter the interrupt and can't find the official code. See this post, can you help me send me a new link? Thank you.

0 Kudos