Interleaved ADC+DMA, KE14F

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

Interleaved ADC+DMA, KE14F

624 Views
StanleyH
NXP Employee
NXP Employee

Hi Support team,

  Our customer hopes to use two channels of ADC with DMA, and the two ADC+DMA interleave. The ADC is triggered

by a PWM which is used to energize a coil. Please refer the illustration below.

2019_0726 ADC DMA interleave.jpg

 

  Because can't find a similar use case in our application notes or example code, need your support to suggest a solution and nice to have a workable sample code. Thanks a lot.

 

Labels (1)
Tags (3)
0 Kudos
1 Reply

505 Views
nxf47720
NXP Employee
NXP Employee

Hi StanleyH,

I think the method to solve this question as below,

  1. The LPIT is configured as periodic counter which will output pre-trigger and trigger signal to TRGMUX periodically.
  2. the ADC is triggered by TRGMUX .
  3. configure DMA channel to get the ADC conversion result .

I will provide relevant reference demo as soon as possible.

Best regards

Adision Zhang

0 Kudos