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 ?

653件の閲覧回数
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 返答(返信)

649件の閲覧回数
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 件の賞賛
返信

644件の閲覧回数
ChenBowen
Contributor II

Can I read vdd's voltage through software layer?

0 件の賞賛
返信

639件の閲覧回数
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 件の賞賛
返信