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

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

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

815件の閲覧回数
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 返信

799件の閲覧回数
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 件の賞賛
返信