CE218129 - PSoC 6 MCU Wake up from Hibernate using a Low-Power Comparator | Cypress Semiconductor
CE218129 - PSoC 6 MCU Wake up from Hibernate using a Low-Power Comparator
This code example demonstrates wakeup from Hibernate mode using the LPComp resource in PSoC® 6 MCU, using ModusToolbox™ IDE.
This code example uses one GPIO input to compare the input voltage and internal reference voltage to wake up the PSoC 6 device from Hibernate mode.
For ModusToolbox™ v2.x, visit the Cypress GitHub site to see a comprehensive list of available code examples. Use the ModusToolbox IDE's New Application command and select your kit. Supported code examples appear in the wizard. Please note that some examples have not been implemented for ModusToolbox v2.0. See KBA225201 for detailed steps, and for information on how to import an example into another IDE. Visit the ModusToolbox SW page for documentation and collateral regarding ModusToolbox software.
The ModusToolbox example on this page is for ModusToolbox v1.1. It does not work with newer versions of ModusToolbox. To run code examples in ModusToolbox v1.1, download and unzip the ModusToolbox code example from this page. Run ModusToolbox v1.1 IDE's New Application command, then browse to and select the modus.mk file.
To run code examples in PSoC Creator, download and unzip the code example package specific for PSOC Creator, run PSoC Creator, go to File > Open > Project/Workspace, then browse to and select the .cywrk file. For documentation and collateral regarding PSoC Creator, please visit the PSoC Creator SW page to learn more.