MPC5744 , is it possible to read vcc's real voltage through software layer ?

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

MPC5744 , is it possible to read vcc's real voltage through software layer ?

817 次查看
ChenBowen
Contributor II

Dear Expert:

       MPC5744P,  Can I  read the vcc's real voltage through software layer?     

        By the way  ,  A Pressure sensor's formula is given as below:    P=5*adc_voltage-2.5    or   P=(adc_voltage/vcc)*25-2.5 ,   My ADC configuration is the same as you offered in S32DS example Projects.

The Pressure sensor's  later formula is more accurate as they said . 

      Expert, my second question is , do I need to read the vcc voltage or simply consider it as 5V ?

0 项奖励
回复
3 回复数

813 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Do you mean VREFH? I don't see any meaning as it is always converted as 0xFFF as it defines converted range.

0 项奖励
回复

808 次查看
ChenBowen
Contributor II

Can I read vdd's voltage through software layer?

0 项奖励
回复

803 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

No, but you can execute ADC selt-test as described here (what's use ADC reference and ADC supply voltage for these tests):

https://www.nxp.com/docs/en/application-note/AN5015.pdf

 

 

0 项奖励
回复