K70 spi dma

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

K70 spi dma

678 Views
prahsman
Contributor I

Are any examples available  of SPI operations using DMA? Specifically the K70.

0 Kudos
1 Reply

288 Views
LuisCasado
NXP Employee
NXP Employee

Hello,

In the MQX 4.0.2 SPI driver uses DMA by default.

See release notes document:

Introduced the first version of eDMA driver - the driver is experimental and will be further extended in the next MQX version. Documentation is not provided.

Kinetis SPI driver was updated to use the eDMA driver.

SPI I/O Driver

This driver supports the operation master mode. If enabled in user configuration, the SPI device drivers are installed during the BSP startup code as "spi0:” (or "spiX:” where X is index of the SPI module used). The SPI driver is significantly rewritten in the MQX 4.0, so that there is no distinct interrupt or polled driver type. See I/O User Guide for details. On Kinetis and Vybrid platforms, the driver uses DMA to function.

Luis

0 Kudos