How long to wait after configuring adc?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How long to wait after configuring adc?

963 Views
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

Labels (2)
Tags (1)
0 Kudos
Reply
2 Replies

827 Views
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 Kudos
Reply

827 Views
rickstuart
Contributor V

The ADC was not initialized correctly.  Works good now.

0 Kudos
Reply