How long to wait after configuring adc?

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

How long to wait after configuring adc?

964件の閲覧回数
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 返答(返信)

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

828件の閲覧回数
rickstuart
Contributor V

The ADC was not initialized correctly.  Works good now.

0 件の賞賛
返信