Hi,master
If I start the ADC conversation in soft start mode, must the DONE signal is1 after 11ADC clock?
if the DONE was always 0, what is the conversation result?
what reasons could lead the conversation result to 0?
Hi ,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) If I start the ADC conversation in soft start mode, must the DONE signal is1 after 11ADC clock?
-- Yes, it should be.
2) If the DONE was always 0, what is the conversion result?
-- In my opinion, it means the ADC conversion sequence doesn't start actually.
I'd highly recommend you to run the ADC demo which is from the LPCopen library for testing.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
thank you for your help, My code following the steps:
1.config the ADC CR register
in the main loop
2.for(int i=0;i<10;i++)
{
select the ADC0 channel0 by SEL bits in CR.
Start the conversion
check the DONE flag in DR[0]
read the the result
}
3.for(int i=0;i<10;i++)
{
select the ADC0 channel3 by SEL bits in CR
Start the conversion
check the DONE flag in DR[3]
read the the result
}
I found sometimes the conversation result is 0.
what will make the result to be 0?
Hi ,
Thanks for your reply.
To provide the fastest possible support, I'd like to suggest you refer to
the attachment which contains some ADC demos.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------