Interleaved ADC+DMA, KE14F

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

Interleaved ADC+DMA, KE14F

835 次查看
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.

 

标签 (1)
标记 (3)
0 项奖励
回复
1 回复

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