That works.
After enabling bangap with PMC_REGSC[BGBE], I could read AD27 value (v)
Real voltage (in mV) is obtained with simple convertion V=(1024*1000/v)
Thanks !
Olivier
Hello Olivier Fauchon,
There is an ADC channel (AD27) connected to an internal Bandgap voltage reference of 1V that you can measure and then use to estimate your main voltage. This is assuming that your main voltage is also used as your ADC reference voltage (VREFH).
Regards,
Gerardo