MPC5746R SPI Problem

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

MPC5746R SPI Problem

656 Views
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

Labels (1)
Tags (2)
0 Kudos
Reply
1 Reply

496 Views
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 Kudos
Reply