Rinaldi Jandrinata
Rinaldi Jandrinata
> > i just submitted #9578 about esp32-c3 wake pin not working.hopefully this commit will get merged soon.btw any updates on which pin can be used for wakeup? currently only...
> Any of them. You can use any pin to set it as wake-up source. Pin is assigned to wake-up sources bitmap. When you attempt to sleep, micropython checks if...
example code: ```py import machine import esp32 from time import ticks_ms def wake_msg(): reset_cause = machine.reset_cause() if reset_cause is machine.HARD_RESET: reset_cause = 'HARD_RESET' elif reset_cause is machine.PWRON_RESET: reset_cause = 'PWRON_RESET'...
> I made second patch ([7411293](https://github.com/micropython/micropython/commit/741129355bd32d01929d7b400bbafbffed638e44)) related to EXT1 (GPIO) wake-up capable pins. Finaly it seems that there is no need to change original ESP32 inteface. > > @puppet13th -...
from the [reference](https://docs.espressif.com/projects/esp-idf/en/v4.3/esp32c3/api-reference/system/sleep_modes.html#_CPPv428esp_sleep_enable_gpio_wakeupv) look like any gpio pin can be used as (lightsleep) wake up pin.
> have retest your latest changes but still got different result: ``` MicroPython ab317a0d6 on 2022-10-12; ESP32C3 module with ESP32C3 Type "help()" for more information. >>> %Run -c $EDITOR_CONTENT Zzzzz...
> > > > I'm using [ESP-C3-12F](https://docs.ai-thinker.com/_media/esp32/docs/esp-c3-12f_specification.pdf). > > Suggested changes can be missleading as there is no EXT0 and EXT1, but only GPIO wake-up. Then I'm not sure if...
what do you mean? > I found that all works perfectly only when I set all the stuff just once after reset. all look good now: 1. lightsleep works on...
> I agree, it shall rather throw an exception then silently proceed non-functional code. I'll add this check to code as well. ``` MicroPython 45f80abd6 on 2022-10-14; ESP32C3 module with...
> @puppet13th and @ondiiik. thank you for your work on these changes! Any update on when these might be merged for inclusion in an nightly? should be checked by owner/maintainer...