Meaning of ADC Status and Control Register 1 (ADCH)

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

Meaning of ADC Status and Control Register 1 (ADCH)

跳至解决方案
1,334 次查看
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

 

 

标记 (1)
0 项奖励
回复
1 解答
1,309 次查看
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 项奖励
回复
4 回复数
1,310 次查看
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 项奖励
回复
1,298 次查看
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 项奖励
回复
1,291 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @sungjun,

ADCH set to all 1s is not reserved though.

danielmartynek_0-1697786843783.png

 

Regards,

Daniel

 

0 项奖励
回复
1,288 次查看
sungjun
Contributor II

Hi. @danielmartynek 

Thanks for your reply.

I mistook it for 011111b - Reserved.

have a good day~!

0 项奖励
回复