Help with ADC1 COCO

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Help with ADC1 COCO

1,355件の閲覧回数
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,295件の閲覧回数
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 件の賞賛
返信