4.5.5 Low-Power Measurement
Power to the PIC18F56Q24 comes from the on-board power supply and VTG pin through a 100 mil pin-header marked with “POWER” in silkscreen (J201). To measure the power consumption of the PIC18F56Q24 and other peripherals connected to the board, cut the Target Power strap (J201) on the bottom side and connect an ammeter across it.
Tip: A 100-mil
pin-header can be soldered into the Target Power strap
(J201) footprint
for a simple connection of an ammeter. Place a jumper cap on the
pin-header once the ammeter is no longer needed.
To measure the lowest possible power consumption, follow these steps:
- Cut the POWER strap with a sharp tool.
- Solder a 1x2 100 mil pin-header in the footprint.
- Connect an ammeter to the pin header.
- Write firmware that:
- Tri-states any I/O connected to the on-board debugger.
- Sets the microcontroller in its lowest Power sleep mode.
- Program the firmware into the PIC18F56Q24.
Info: The on-board
level shifters will draw a small amount of current even when
unused. Each level shifter has a maximum of 2 μA leakage
current. Therefore, the worst-case maximum current draw for the
five on-board level shifters is 10 μA. Prevent leakage current
through an I/O pin connected to a level shifter by keeping the
I/O pin tri-stated. All I/Os connected to the on-board debugger
are listed in 3.2 On-Board Debugger Connections.
The on-board level shifters can be completely disconnected,
preventing leakage, as described in 7.6 Disconnecting the On-Board Debugger.