I work at PlatformIO. The WROVER-E module.
The work of ULP is organized as follows. The timer is started by the ulp_set_wakeup_period command, which is triggered once 20 milliseconds, and then the code ending with I_HALT() is executed. A button survey is organized inside this cycle. When the button is triggered, the ULP execution is interrupted and the stone wakes up and processes the condition. This is what ULP works for. In addition, I start the timer using the esp_sleep_enable_timer_wakeup command, which fires once every 10 minutes and transmits data via WiFi. I can't understand what the problem might be, when the timer is triggered inside the ULP cycle, everything works. As soon as the timer in the main loop is triggered, ULP stops working. Initialization of ULP does not help, Only power off or hard reset. Has anyone encountered such a problem.
WROVER-E. There is a problem with starting ULP. When awakened by esp_sleep_enable_timer_wakeup, ULP stops working.
-
- Posts: 1
- Joined: Wed Aug 02, 2023 7:50 am
Who is online
Users browsing this forum: No registered users and 44 guests