The question about the SPI in the KM34

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

The question about the SPI in the KM34

456件の閲覧回数
小勇邹
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 返信

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