This site will be unavailable on Friday 21 February from 11:00AM to 5:00PM MST (1800 to 2400 UTC) for system maintenance.
Low Power Application on SAMC2x Using MPLAB® Harmony v3 Peripheral Libraries: Step 4
Last modified by Microchip on 2023/11/09 09:09
Configure PM and SUPC
Under the bottom left tab, Device Resources, expand Harmony > Peripherals > PM. Double-click or drag and drop PM to add the PM library (PLIB) to the project graph.
Select PM and configure.
In standby mode, CPU is stopped as well as the peripherals except those which are configured to run while the CPU is in standby mode. The standby sleep mode provides very low power consumption with little overhead on wake-up time. CPU enters STANDBY mode by executing the WFI instruction and exists in the STANDBY mode when an interrupt is generated.
Under the bottom left tab, Device Resources, expand Harmony> Peripherals > SUPC. Double-click or drag and drop SUPC to add the SUPC library (PLIB) to the project graph.
Select SUPC and verify the configuration.
The Supply Controller (SUPC) manages the voltage reference and power supply of the device. It also controls the voltage regulators for the core domain. Voltage regulators need to be configured to low power, which helps in reducing power consumption.
Open the Pin Configuration tabs by clicking Project Graph > Plugins > Pin Configuration. Go to the Pin Settings tab and configure PA15 (Pin #32) as LED and PA27 (Pin #51) as WAKEUP_TEST.
If you need to work with Microchip Support staff directly, you can submit a technical support case. Keep in mind that many questions can be answered through our self-help resources, so this may not be your speediest option.