Hi Hareesh,
Please refer to the discussion in SPI Lpspi_Ip_AsyncTransmit not work
as I wrote, for async function you need to wait for end of transfer. Function just prepare transmission/reception and leave. So either you will check module status using Lpspi_Ip_GetStatus, it returns IDLE after transfer is finished. Or if you define callback within Async function, this callback will be called with event LPSPI_IP_EVENT_END_TRANSFER after transfer is done.

If the TX data are don't care, customer can use half duplex transfers. There is an api for that Lpspi_Ip_AsyncTransmitHalfDuplex TransferType=LPSPI_IP_HALF_DUPLEX_RECEIVE, also examples are available in the RTD (Lpspi_Ip_HalfDuplexTransfer_S32K344).
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------