Skip to content

system_powersave example wakeup from pin WB01 seems not working #4

Description

@davoodnasehi

Hi Champs,
refering to the System_Powersave Arduino example, and this line :
api.system.sleep.setup(RUI_WAKEUP_FALLING_EDGE, WB_IO1);
I would expcet the CPU to wake up from sleep.all(10000) and print the millis().
Looking at the power profiler kit's power consumption, I feel like activation of Falling edge on WB01 wakes up the CPU, but the expectation is that as per the example code, when wakes up, the serial.print will print the millis. but this doesn't happen and the code still prints the millis() every 10000ms no matter the hardware interrupt has waken the CPU up. Is there any improvement to the code to enable the wakeup in arduino

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions