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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

822 次查看
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 项奖励
回复
1 回复

806 次查看
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 项奖励
回复