VDD_HV_ADC0 internal voltage monitoring

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

VDD_HV_ADC0 internal voltage monitoring

跳至解决方案
1,441 次查看
housseinbah10
Contributor II

Hi, I would like to know how to read the internal voltage VDD_HV_ADC0 of channel 18 of ADC0.

I have already make it for VDD_HV_ADC1 by enabling channel 50 of register ADCx_NCMR1 and it works correclty.
Can you please help me out how did you configure and enabling channel 18 of ADC0 ?

Thanks
Houssein

标记 (3)
0 项奖励
回复
1 解答
1,267 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

CH18 is valid bit too, check below table
2023-06-15_9-41-25.png

The bit can be set and conversion takes place.

BR, Petr

在原帖中查看解决方案

4 回复数
1,320 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

set CH18 bit in ADC0_NCMR0 and start conversion on ADC0.

BR, Petr

0 项奖励
回复
1,287 次查看
housseinbah10
Contributor II

Hi PetrS

The normal conversion mask register NCMR0 does not contain field or bit enable for setting channel 18.

This was my principal issue 

 

thanks

 

0 项奖励
回复
1,268 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

CH18 is valid bit too, check below table
2023-06-15_9-41-25.png

The bit can be set and conversion takes place.

BR, Petr

1,251 次查看
housseinbah10
Contributor II

Thank for your clarification,

Best regards

0 项奖励
回复