How long to wait after configuring adc?

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

How long to wait after configuring adc?

961 次查看
rickstuart
Contributor V

Hi,

I'm multiplexing a processor pin between a digital-out (SPI/Clock) and an analog-in.  Every time I switch to the analog-in I make about a dozen test reading separated by 100ms.  Every time the reading start high and drop.  Not stabilizing for 3 or 4 reading.  That's 300ms to 400ms of waiting!  I scoped the processor pin and looked at many events.  The voltage during the analog-in phase is rock-steady-flat. That leaves the processor.

So, what's going on inside the processor?  Why does the processor's ADC feature take hundreds of milliseconds to stabilize?

-thanks

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

825 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi rich stuart,

    Thank you for your updated information, and that's very good to hear your problem is solved.

    If you still have question about this topic, you still can let me know!


Have a great day,
Jingjing

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

0 项奖励
回复

825 次查看
rickstuart
Contributor V

The ADC was not initialized correctly.  Works good now.

0 项奖励
回复