AnsweredAssumed Answered

LPSPI on S32K144 timeout problem

Question asked by thomas erdmann on Jun 7, 2017
Latest reply on Jun 12, 2017 by Razvan-nicolae Tilimpea

Hello,

i have a question to lpspi on s32k144.

I am using the eval board and connected a nxp ncj3320e nfc reader chip to lspci on ptb0=ss,ptb2=sck,ptb3=miso,ptb4=mosi.

Calling a transfer LPSPI_DRV_MasterTransferBlocking() for up to 2 bytes performs correct.

Calling it for 8 bytes always gives me a TIMEOUT error.

The timeout parameter for the call is 1000 (ms) and the spi clock rate ist 500kHz.

What to do ?

Doing some call with only 1 byte is not a solution because of the toggeling of the select line.

Outcomes