ESP32-S3 RISC-V re-enabling ulp wakeup
Posted: 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:
on the ulp code I simply use 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?
In the main code i have:
Code: Select all
ulp_riscv_reset();
LoadRiscvProg();
ulp_riscv_run();
esp_deep_sleep_start();
Code: Select all
ulp_riscv_wakeup_main_processor()
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?