eDMA Application - ADC to memory

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

eDMA Application - ADC to memory

690 Views
auftrag2021
Contributor III

HW: RT1170EVK

I want to transfer ADC value to memory via eDMA

But I am confuse the logic of the trigger chain. 

If I activate the DMA request by the LPADC1 module and at the same time I activate the Hardware trigger (to ADC_ETC)  (See screenshot below)

Would that mean, the eDMA and the ADC_ETC both are triggered if the RESFIFO is ready?

If I enable the eDMA request also in ADC_ETC, would that mean a conflict of using same eDMA channel?

auftrag2021_0-1649200768753.png

 

0 Kudos
1 Reply

647 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Sorry for the later reply.

Please refer chapter 4 of RT1170 reference manual Table 4-3. DMA Mux Mapping (below picture), which shows the ADC_ETC, LPADC1/2 using the differenct DMA MUX channels.

 Hui_Ma_0-1650612355147.png

Wish it helps.

Mike

0 Kudos