To get more accurate current measurements from the plots, enable the cursor current measurements as shown here.
The cursor values are shown as about 400 μA with the LED OFF and 6.5 mA with the LED ON.
3.1.13
Using Code Instrumentation
Finally, in this section we will look at some other tricks which the Data Visualizer is capable of.
Aside from taking current measurements, the Power Debugger has a full Data Gateway Interface (DGI) port for
streaming data from the target to the host computer. We will hook this up to the USART for simple console output.
Some hardware wiring needs to be done to link the USART. We use Synchronous mode for convenience in baud rate
setting.
•
PD1 (TXD) of the Xplained Mini is connected to USART ← of the DGI header
•
PD4 (XCK) of the Xplained Mini is connected to USART CLK of the DGI header
The updated wiring diagram is shown here:
©
2020 Microchip Technology Inc.
User Guide
Power Debugger
Detailed Use Cases
DS40002201A-page 25
Need help?
Do you have a question about the Power Debugger and is the answer not in the manual?