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!