The question about the SPI in the KM34

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

The question about the SPI in the KM34

527 次查看
小勇邹
Contributor II

The device is used as SPI slave.

I want to receive the SPI1 data by interrupt method and send the SPI1 data by the DMA method.

Is it possible to do it?

标签 (1)
0 项奖励
回复
1 回复

438 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Robin zou,

   Yes, you can do it like that.

  Please check the DMA request sources at first:

pastedImage_1.png

You can find the receive and send SPI is the different request ID, so you can use send as DMA, receive as interrupt.

Wish it helps you!
Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复