SPI DMA on Colibri iMX6ULL


We’re trying to communicate to MCP3564 ADC chip over SPI for which we need DMA to be enabled so that ADC values can be read through it.

How can we enable DMA for this?

Can you provide a lik to sample implementation of this on iMX6 or any other documentation regarding DMA?

Thank you.


Awaiting response.

Hi @Soham

Welcome to Toradex community.

Could you provide the hardware and software versions of your setup?

Please note In our latest BSP releases SPI driver has DMA enabled by default. Using SPI will implicitly use DMA in backend for transfers