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

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

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

654 Views
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 Kudos
Reply
3 Replies

650 Views
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 Kudos
Reply

645 Views
ChenBowen
Contributor II

Can I read vdd's voltage through software layer?

0 Kudos
Reply

640 Views
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 Kudos
Reply