Hi @siyuanzhengwei,
The return status of Lpspi_Ip_AsyncTransmit is LPSPI_IP_STATUS_SUCCESS because this is an asynchronous transfer (it only indicates that the transfer was started, not completed).
The key issue is the TX underrun (SR[TEF]). This means the slave did not have data available in the TX FIFO when the master started clocking.
In SPI slave mode, the TX FIFO must be populated before the master asserts CS and starts the transfer.
The RTD drivers introduce some overhead, and starting the transfer on the slave side takes time. As a result, Lpspi_Ip_AsyncTransmit is called too late and the first data words are not ready in time.
Do you monitor the TX line with an oscilloscope? What do you measure there?
Regards,
Daniel