Help with ADC1 COCO

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

Help with ADC1 COCO

762 Views
pmasanek1
Contributor I

I am designing a product with the MK20DX256VLL10. I am trying to get the A2D (both A2D0 and A2D1) to be controlled by either the PDB or LPTMR. I am also using DMA to switch inputs and restart A2D. I found a project K64F_ADC_DMA_Demo which has been helpful. This project uses A2D0, and the following:

DMAMUX_SetSource(DMAMUX0, DMAChannel_1, 40); /* Channel 1 Source 40: ADC COCO trigger */

sets up the DMA to start the A2D when ADC0 COCO. In this example, ADC0 COCO is "40". I want to perform the same operation using A2D1. I have not found what to put in the source for ADC1 COCO (replacing "40"). It has been very difficult to find documentation on this.

Thanks!

0 Kudos
1 Reply

702 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hi Paul,

Please check the following section in the reference manual:

3.3.9.1 DMA MUX request sources

I think you could find the information you need here.

Best Regards,

Alexis Andalon

0 Kudos