I am planning to use the ATmega48PA-AU at a new design and I would like to ask you if the specific device can measure it' own Vcc supply using the ADC?
IAR Embedded Workbench C/C++ Compiler
Your search terms are "internal bandgap battery". Within the 41 hits you have threads such as:
How to measure Vcc with AVRs ADC!!!
(I bet those exclamation marks made all the difference!!!)
It can at least through an external channel ( select a ref, use a resistor divider and connect that to an ADC channel.
You could check the datasheet. first have a look in the ADMUX register to see if VDD can be selected there.
Thank you guys
© 2020 Microchip Technology Inc.