The question about the SPI in the KM34

cancel
Showing results for 
Search instead for 
Did you mean: 

The question about the SPI in the KM34

186 Views
小勇邹
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?

Labels (1)
0 Kudos
1 Reply

97 Views
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 Kudos