Request for Assistance with SPI Communication in NXP Libraries

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Request for Assistance with SPI Communication in NXP Libraries

ソリューションへジャンプ
1,073件の閲覧回数
Anilpatil_SasvaAuto
Contributor III

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. 

ラベル(1)
0 件の賞賛
返信
1 解決策
976件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Anilpatil_SasvaAuto

I suggest using the example inside the RTD package, as there are no newer examples posted in community for now. 

Julin_AragnM_0-1748982314404.png

Still, you can refer to some old posts, such as: Example S32K144 LPIT DMA LPSPI - NXP Community.

Best regards,
Julián

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,053件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Anilpatil_SasvaAuto,

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

 

0 件の賞賛
返信
1,010件の閲覧回数
Anilpatil_SasvaAuto
Contributor III

Hello Julián,

The example code in the provided link is for the S32K3XX micro, but I need it for the S32K144. could you please provide the same?

0 件の賞賛
返信
977件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Anilpatil_SasvaAuto

I suggest using the example inside the RTD package, as there are no newer examples posted in community for now. 

Julin_AragnM_0-1748982314404.png

Still, you can refer to some old posts, such as: Example S32K144 LPIT DMA LPSPI - NXP Community.

Best regards,
Julián

0 件の賞賛
返信