Hi all,
I'm trying to setup the internal ADC of an i.mx7 ULP using DMA transfers. Unfortunately I can't find any examples (there is only a polling and an interrupt example).
Also I don't really succeed implementing it using the reference manual. I think I mangaged to setup the DMAMUX properly but after that I have no clue on how to continue.
Can anyone provide an example?
Thanks
Klaas
Hi Igor, thanks for your reply. Unfortunately it is not really obvious how to connect both examples.
It's clear that I can enable the ADC interrupt with the IE register. But where can I set the destination adress, where the DMA should write the value to? And where can I configure the interrupt, that let's me know when the DMA finished writing a value?
Do I need to enable the DMA again after every read like it is done in the edma_lpuart example?
Thanks
Klaas
Hi Klaas
internally there is no such example, in such cases may be recommended to proceed
with help of NXP Professional Services to develop it:
https://contact.nxp.com/new-prof-svcs-sw-tech
Best regards
igor
Hi Klaas
I asked internally, below answer from team:
---------------------
Customer may refer to the lpadc and edma examples in SDK.
---------------------
Best regards
igor