ADC Fluctuation in K22F microcontroller

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

ADC Fluctuation in K22F microcontroller

407件の閲覧回数
prasannanaik
Contributor III

Hi,

   I am using FRDM K22F board for evaluation of ADC. I have configured a FTM timer at 625 usec. In ISR of FTM, i am triggering ADC using software trigger. Input voltage is DC 1.64V (No fluctuation observed on DSO) but there are fluctuations in ADC output as seen in "ADC.xlsx". Why is there so much fluctuation even when the input is stable. I am using baord's supply as VREF.

I have even tried long sampling mode with 24 clock cycles but still getting the fluctuation.

I have attached code for reference.

Please help in resolving the issue.

Thanks and best regards,

Prasanna

ラベル(1)
タグ(1)
0 件の賞賛
1 返信

312件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Prasanna,

Would you please check the reference-voltage noise(VREFH)?

VREFH FRDM-K22F.png

Reference-voltage noise AN5250.png


The digital peripherals may influences ADC due to the bad design of analog power supply.(for example: I can see you toggle IO during ADC sample.)
The design of analog power supply on FRDM-K22F is not recommended.

Analog power supply.png

For more detail, please refer: AN5250 How to Increase the Analog-to-Digital Converter Accuracy in an Application

Best Regards,

Robin

 

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

0 件の賞賛