Hello Team,
I am currently using the NXP SE Host library for the NCJ37A secure element in my project. I have noticed that the library employs a blocking method for SPI communication. I would like to request an example of an SPI driver that utilizes interrupts instead.
Additionally, I have integrated the "aNfcRdLib_SDK_Evaluation_v2.28" NFC reader library within the same project. Could you clarify whether this NFC reader library uses a blocking or non-blocking approach for SPI communication? If it employs a blocking method, I would appreciate guidance on how to implement a non-blocking SPI driver.
After integrating both example libraries provided by NXP, I observed that the applications execute independently without interfering with each other. However, when I try to run both applications simultaneously, only one works—the SE NCJ37A is functional, while the NFC reader is not.
Both clock configurations are different, SPI clock is also different.
Thank you for your assistance.
已解决! 转到解答。
I suggest using the example inside the RTD package, as there are no newer examples posted in community for now.
Still, you can refer to some old posts, such as: Example S32K144 LPIT DMA LPSPI - NXP Community.
Best regards,
Julián
There is actually an example for SPI communication using interrupts, please refer to this community post: Example S32K312 SPI Transmit & Receive Using Interrupt DS3.5 RTD300 - NXP Community. Or, if you are using S32K1, the RTD package already includes examples for SPI interrupt, such as the Lpspi_Ip_HalfDuplex_Transfer_S32K1XX example.
However, if you need assistance with the aNFC library, please contact the respective team directly (at: automotive_nfc@nxp.com).
Best regards,
Julián
I suggest using the example inside the RTD package, as there are no newer examples posted in community for now.
Still, you can refer to some old posts, such as: Example S32K144 LPIT DMA LPSPI - NXP Community.
Best regards,
Julián