Interleaved ADC+DMA, KE14F

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

Interleaved ADC+DMA, KE14F

723件の閲覧回数
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 返信

604件の閲覧回数
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 件の賞賛
返信