ESP32-S3 ULP_RISC-V interrupts to wake up the ULP after HALT()

Mycael_
Posts: 13
Joined: Tue Oct 15, 2024 4:42 pm

ESP32-S3 ULP_RISC-V interrupts to wake up the ULP after HALT()

Postby Mycael_ » Fri Feb 14, 2025 12:28 pm

The title says it all, can the ulp be woken up from "sleep" (halt) by using a gpio interrupt that was implemented in the ulp code?
I know it can be triggered by the timer if we don't specify timer_stop, but I want it to be woken up by the gpio interrupts previously implemented.


Mycael_
Posts: 13
Joined: Tue Oct 15, 2024 4:42 pm

Re: ESP32-S3 ULP_RISC-V interrupts to wake up the ULP after HALT()

Postby Mycael_ » Fri Feb 14, 2025 12:59 pm

I am assuming that I don't have a way to specify which pin woke up the ulp, unless I make some type of logic to be run and check the source of the signal after waking up, correct?

MicroController
Posts: 2045
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: ESP32-S3 ULP_RISC-V interrupts to wake up the ULP after HALT()

Postby MicroController » Fri Feb 14, 2025 1:14 pm

Correct.
Plus: The GPIO wake-up is level-triggered, not edge-triggered; implies: the ULP will keep waking up as long as the specified input level is present.

Mycael_
Posts: 13
Joined: Tue Oct 15, 2024 4:42 pm

Re: ESP32-S3 ULP_RISC-V interrupts to wake up the ULP after HALT()

Postby Mycael_ » Fri Feb 14, 2025 2:24 pm

Ok, thank you very much for the clarification

Who is online

Users browsing this forum: Google Adsense [Bot] and 161 guests