SPI for MPC5606B

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SPI for MPC5606B

3,377 次查看
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

标签 (1)
标记 (1)
0 项奖励
回复
4 回复数

3,190 次查看
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 项奖励
回复

3,190 次查看
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 项奖励
回复

3,190 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport
0 项奖励
回复

2,983 次查看
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 项奖励
回复