We are trying to build a TPL driver in S32K as per below logical diagram. Here we were told that for this to work in non DMA mode requires SPI to operate in interrupt mode. Are there any direct sample driver to use as a reference for SPI driver to operate in Interrupt mode. Any guideline will help. We will be porting this to nuttx baseline.
Hi @sathish_touch,
You can refer to the SDK (S32DS 2.2 or S32DS 3.4) or RTD drivers (S32DS 3.4).
There are also examples for LPSPI in the interrupt mode.
Let me know if you have any specific questions,
Regards,
Daniel
Hello Daniel,
Hi @sathish_touch,
Use the lpspi_transfer_s32k144 example.
It utilizes both the master and the slave in the interrupt mode.
Regards,
Daniel