Closed redarflap closed 6 months ago
The problem appears to be related to a UART or JTAG monitoring session being open. When disconnecting the monitoring session and printing the output to the OLED instead, everything works as expected.
Is there any workaround to this behaviour?
Update: The issue is indeed related to the Serial connection.
See espressif/esp-idf#12899 for further details.
ESP-IDF version: v5.1 / v5.2.0 Hardware: Lilygo Lora T3S3 V1.2
What is the expected behavior?
Get wakeup cause ESP_SLEEP_WAKEUP_ULP after calling ulp_riscv_wakeup_main_processor() from ULP.
What is the actual behavior?
I keep getting ESP_SLEEP_WAKEUP_UNDEFINED no matter what I try. I suspect that the issue is related to the Lilygo board, since I cannot immagine such a major bug to be present in ESP-IDF unnoticed.
Steps to reproduce:
Debug Logs
Example code main processor:
Example code ULP: