AnsweredAssumed Answered

S32K LPSPI Blocking vs non Blocking

Question asked by Koorosh Hajiani on Oct 26, 2017

Hi,

I'm using S32K SDK Lpspi drivers.

I noticed when I'm using :

 

LPSPI_DRV_MasterTransfer(LPSPICOM1,sendBuffer,receiveBuffer,5); to transfer 5 bytes over SPI link, I hit an exception after some time.However when I use:

LPSPI_DRV_MasterTransferBlocking(LPSPICOM1,sendBuffer,receiveBuffer,5,1); This never happens and everything is good.

 

Any Ideas ?

Thanks,

Outcomes