MPC5744, How to read the external supply 's voltage through software layer?

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

MPC5744, How to read the external supply 's voltage through software layer?

369 Views
ChenBowen
Contributor II

Dear Expert:

      Normally, the external supply is 12V.  Now I need to read the real supply voltage in software, how to make it ?

                                                                                                                                

0 Kudos
Reply
1 Reply

360 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

this is usually solved by simple resistor voltage divider which scales the voltage to range which can be read by the MCU (0-5V or 0-3.3V).

Regards,

Lukas