AnsweredAssumed Answered

i.MX6 DMA and ADC

Question asked by Strahinja Vukovic-Davidovac on Mar 24, 2017
Latest reply on Mar 27, 2017 by igorpadykov

We are using i.MX6UL processor and we need to have fast sapling of one ADC channel.

Since driver is not supporting DMA transfer vf60_adc, my idea was to implement IIO buffer and Dmaengine into the driver.

SDMA is responsigle for communication between memory and peripherals, but I never saw that DMA was used for ADC transfer.

Does sdma-imx6q.bin (script) supports this type of transfer or additional script should be written?

From device tree documentation, I think that this is not possible:

Linux/Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt - Linux Cross Reference - Free Electrons 

 

In case that is necessary to write new script, is there a free version of CodeWarrior and source code of dma-imx6q.bin binary?

 

p.s. I found some similar questions regardins SDMA:

Custom SDMA script to convert bayer image 

Outcomes