S32K144 Send By SPI Interrupt mode And receive by SPI DMA mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K144 Send By SPI Interrupt mode And receive by SPI DMA mode

816 Views
fudong
Contributor I

Hi there,

I want to use the SPI of S32K144 to read data from the 33771 chip.send data with SIP0 By Interrupt mode , which is configured as follows:

企业微信截图_16248469158073.png企业微信截图_16248470194716.png

receive data with SIP1 By DMA mode , which is configured as follows:

企业微信截图_16248471874958.png企业微信截图_16248474173453.png

When I call the LPSPI_DRV_SlaveTransfer() function, the program is died.

企业微信截图_16248478821830.png

0 Kudos
Reply
1 Reply

800 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @fudong,

I don't understand this use case.

The 33771 is a slave on the bus, so why do you use the S32K as a slave too?

Can you please elaborate?

 

Thank you,

BR, Daniel

0 Kudos
Reply