Meaning of ADC Status and Control Register 1 (ADCH)

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

Meaning of ADC Status and Control Register 1 (ADCH)

Jump to solution
1,098 Views
sungjun
Contributor II

hello! NXP Team
I am curious about the meaning of ADC Status and Control Register 1 5-0 bit.
How does it work if Reserved is selected in ADCH (5-0bit)?
Are all channels turned off?
It's a simple question, but please answer it.
thank you.

 

sungjun_0-1697605811710.png

sungjun_1-1697605839138.png

 

 

Tags (1)
0 Kudos
Reply
1 Solution
1,073 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @sungjun,

The ADCH is a MUX where the reserved channels are not connected to any source.

danielmartynek_0-1697617516967.png

ADC conversions can be triggered at the reserved inputs.

Writing SC1A[ADCH = Reserved] triggers a new conversion.

But the results should be ignored.

 

Best regards,

Daniel

View solution in original post

0 Kudos
Reply
4 Replies
1,074 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @sungjun,

The ADCH is a MUX where the reserved channels are not connected to any source.

danielmartynek_0-1697617516967.png

ADC conversions can be triggered at the reserved inputs.

Writing SC1A[ADCH = Reserved] triggers a new conversion.

But the results should be ignored.

 

Best regards,

Daniel

0 Kudos
Reply
1,062 Views
sungjun
Contributor II

Thanks for answering my question.

The RM document explains that if you set all values as shown below, the conversion will stop.

What you said is that ADC conversion can be triggered, so I'm a little confused.

ADC conversion will be triggered, but should I understand that the user should ignore the value?

sungjun_0-1697778029342.png

 

0 Kudos
Reply
1,055 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @sungjun,

ADCH set to all 1s is not reserved though.

danielmartynek_0-1697786843783.png

 

Regards,

Daniel

 

0 Kudos
Reply
1,052 Views
sungjun
Contributor II

Hi. @danielmartynek 

Thanks for your reply.

I mistook it for 011111b - Reserved.

have a good day~!

0 Kudos
Reply