sleep_mode();
}
}
To do:
•
Build the project/solution (F7)
•
Program the application into the target device using Start Without Debugging (Ctrl+Alt+F5)
•
Switch to Data Visualizer to see the results
Important: Because the previous example prescaled the clock to 8 MHz/64, the ISP programming clock
must be set to less than 32 kHz to be below 1/4 of the main clock.
Important: Remember to disable on-board power on the Xplained Mini.
What can we see from this plot?
•
The kit now draws less than 1 mA with the LED OFF
•
Current draw increases to about 7 mA when the LED is pulsed ON
•
The 1% duty cycle still seems approximately correct
Result: Power consumption has again been improved by using Sleep mode and disabling unused
peripherals.
©
2020 Microchip Technology Inc.
User Guide
Power Debugger
Detailed Use Cases
DS40002201A-page 21
Need help?
Do you have a question about the Power Debugger and is the answer not in the manual?