There are 4 SPI registers in the MPC5744P : SPI0 -SPI4 .When communicating with another chip using master mode , I found that only one SPI register (SPI2) was able to receive and read data from the slave chip .For other 3 registers , correct waveform can be observed by the oscilloscope on the SCK、SDO、SIN and CS pins ,and they have the same SPI timing as SPI2 register , but the received data of these three registers were awlays 0 .
Meanwhile , SPI2 register has 2 pins of SIN --A and A ,I found that only use A as the SIN can read the received data ,using A has the same problem as described above.
Is there some specific configuration for specific SPI registers or I missed something when Configure the SPI register? I want to know the reason why in the same configuration, only a SPI register can communicate properly?
Hoping for your help.
Thank you sincerely.