MPC5746R SPI Problem

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

MPC5746R SPI Problem

629 次查看
qiaodeng
Contributor II

Hi,

    I have two peripherals both of which are slave of DSPI_0. When only one of them works, I can read the right data from the SPI. But if I transfer data to peripheral B through SPI after peripheral A have just finished its job ,  I can not read the right data from the SPI.  Where can the problem come from ?

 

Regards,

Qiao

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

469 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi Qiao,

So the MPC5746R’s DSPI0 is a Master and communicates with two peripherals/Slaves.

What is the connection? Can you share schematic? What is your DSPI initialization and TX/RX code?

Could you also post what is really seen on SPI lines for a mentioned frames?

BR, Petr

0 项奖励
回复