hi:
I am implementing TC377&S32K311 master-slave communication, 311 using FRTOS and EB MCAL as the development environment.
In the SPI initialization, the size f buffer binding by Spi_SetupEB function is the same as TC377. After I call Spi_AsyncTransmit function, I get an underrurn error. Observing the logic analyzer, the date is unnormal as shown in Figure 1 and Figure2.
During SPI initialization, if the size of buffer is larger than TC377, the data transmitted is normal, as shown in Figure 3, but the transmission cannot be terminated.
Hi @HaoYang,
The Spi_AsyncTransmit() must be called before the Master starts the transfer.
Can you use GPIOs to signal the state of the SPI?
Or delay the transfer on the Master's side?
Regards,
Daniel