Hi,
I need to know the max current consumption of the microcontroller (With all possible blocks enabled at a time, XT2IN at high frequency). I have tried calculating the max. current by adding the current consumption, block by block. Unable to find the max current rating for some block. For eg, If I use a pin as GPIO, what is the value of pull up or pull down resistor value internal to the chip. Adding the table with which I was calculating the currents. Kindly advice.
| Block | Description | I(mA) TYP | I(mA) max |
| IPLL | USB PLL OPERATING CURRENT | 7 | |
| IPGM | Average supply current from DVCC during program | 3 | 5 |
| IERASE | Average supply current from DVCC during erase | 6 | 15 |
| IMERASE, IBANK | Average supply current from DVCC during mass erase or bank erase | 6 | 15 |
| IAM | Flash | 7.4 | |
| IAM | RAM | 3.6 | |
| ΔIDVCC,LF | Differential XT1 oscillator crystal current consumption from lowest drive setting, LF mode |
2.90E-07 | |
| IDVCC,XT2 | XT2 oscillator crystal current consumption |
4.50E-04 | |
| IREFO | REFO oscillator current consumption | 3.00E-06 | |
| IVCORE | Core voltage active mode | 13 | |
| IVBAT | Current into VBAT terminal if no primary battery is connected |
8.70E-07 | |
| IADC12 | Operating supply current into AVCC terminal |
0.00025*12 | |
| IREF+ | Operating supply current into AVCC terminal |
0.95 | 1.7 |