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 ?
Do you mean VREFH? I don't see any meaning as it is always converted as 0xFFF as it defines converted range.
Can I read vdd's voltage through software layer?
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