ESP32-S3 RISC-V re-enabling ulp wakeup

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

ESP32-S3 RISC-V re-enabling ulp wakeup

Postby Mycael_ » Thu Feb 20, 2025 5:51 pm

I am having some problem making the ulp riscv to wake up the main cores, the first time it wakes them up without a problem, the second time it doesn't seem to work
In the main code i have:

Code: Select all

ulp_riscv_reset();
LoadRiscvProg();
ulp_riscv_run();
esp_deep_sleep_start();
on the ulp code I simply use

Code: Select all

ulp_riscv_wakeup_main_processor()
to wake up the main cores

LoadRiscvProg() is just to load the code into the RTC memory and give the address of some variables that have been created in RTC memory to pointers created in the ulp program.

Am I missing some other code that needs to be run to clear any flag or something else to be done?

Who is online

Users browsing this forum: FrankJensen and 113 guests