Meaning of ADC Status and Control Register 1 (ADCH)

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

Meaning of ADC Status and Control Register 1 (ADCH)

ソリューションへジャンプ
1,335件の閲覧回数
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,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 件の賞賛
返信
4 返答(返信)
1,311件の閲覧回数
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,299件の閲覧回数
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,292件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @sungjun,

ADCH set to all 1s is not reserved though.

danielmartynek_0-1697786843783.png

 

Regards,

Daniel

 

0 件の賞賛
返信
1,289件の閲覧回数
sungjun
Contributor II

Hi. @danielmartynek 

Thanks for your reply.

I mistook it for 011111b - Reserved.

have a good day~!

0 件の賞賛
返信