POWER DEBUGGER
host
USB
To get started a few modifications need to be made to the hardware.
In order to measure the current consumed by the target MCU you will need to intercept its power supply and feed it
through the measurement circuitry of the Power Debugger. This requires that a power rail header is mounted to the
Xplained Mini board.
To do: Mount power rail header on the Xplained Mini board.
We will make use of code instrumentation to send data from the Xplained Mini board to the Power Debugger DGI. To
do this we need access to PORTD features on the target MCU.
To do: Mount PORTD 0..7 header on the Xplained Mini board.
Although the ATmega328PB Xplained Mini board already contains a debugger (mEDBG), it is not going to be used in
this example. Instead we would rather make use of the Power Debugger for programming purposes.
To do: Mount the 6-pin 100-mil ISP programming header on the Xplained Mini board.
The headers to be mounted are shown here.
©
2020 Microchip Technology Inc.
DGI
USART/SPI
CLK
A
A
GND
User Guide
Power Debugger
Detailed Use Cases
host
USB
5V
PWR_EN
Vcc
GND
PD4
PD1
ISP
DS40002201A-page 10
Need help?
Do you have a question about the Power Debugger and is the answer not in the manual?