ADC triggered by FlexTimer in PE

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

ADC triggered by FlexTimer in PE

685 次查看
llcooljoon
Contributor I

Hello everyone~

Fiistt of all... I'm Korean then have a poor English skill... forgive me.

(IDE : KDS3.0, MCU : K10FN1M0VLQ12)

I want ADC0~ADC3 to be triggered by Flextimer for simultaneous four ADC results , so configured ADC0 (for just test) and FTM0(TU1) like below.

Capture1.PNG

Capture2.PNG

then, I insert init and enable code like below. I referenced 'ADC_LDD Typical Usage' in PE.

Capture3.PNG

but This code is never interrupted by 'ADC0_OnMeasurementComplete(LDD_TUserData *UserDataPtr)'.

I tried SW triggered ADC, it's working. but HW trigger didn't.

I dont know what's the problem.

plz, help me.

0 项奖励
回复
1 回复

491 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Joon,

Hardware trigger ADC is use the PDB component ,

pastedImage_1.png

pastedImage_0.png

Hope it helps



-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

Have a great day,
Alice Yang

0 项奖励
回复