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