MPC5746R SPI Problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5746R SPI Problem

658件の閲覧回数
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 返信

498件の閲覧回数
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 件の賞賛
返信