Help with ADC1 COCO

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Help with ADC1 COCO

1,274 次查看
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 项奖励
回复
1 回复

1,214 次查看
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 项奖励
回复