Hi there!
I was wondering if it's possible to figure out what pin caused the ULP to wakeup from within the ULP. One possible use case; if wakeup on pin 11 occurs, always wake main processor, but when it occurs on pin 12, only wake up the main processor if the adc voltage is higher than 3V.
Given the example here; https://github.com/espressif/esp-idf/tr ... _interrupt
Kind regards,
Jochem
ULP Wakeup GPIO-interrupt figure out what pin caused it to wake up
-
- Posts: 6
- Joined: Tue Aug 15, 2023 10:49 am
Re: ULP Wakeup GPIO-interrupt figure out what pin caused it to wake up
You could configure different GPIOs to control selective wakeup. An example of using GPIO#0 is here - https://github.com/espressif/esp-idf/bl ... main.c#L26.
I suppose you could employ a similar logic.
I suppose you could employ a similar logic.
Who is online
Users browsing this forum: Bing [Bot], ESP_adokitkat, Gaston1980 and 140 guests