Search found 2 matches

by suka97
Wed Jan 22, 2025 4:20 am
Forum: ESP-IDF
Topic: Postpone deep-sleep timer wakeup from ULP
Replies: 2
Views: 353

Re: Postpone deep-sleep timer wakeup from ULP

I've thought of that, but I can't seem to be able to enable both GPIO and Timer wakeup for the ULP. I've played around with the registers bits manually without any luck so far. The timer bit seems to always predominate over GPIO. Here's the code I've tested. Note the multiple tests commented out ins...
by suka97
Mon Jan 20, 2025 5:18 am
Forum: ESP-IDF
Topic: Postpone deep-sleep timer wakeup from ULP
Replies: 2
Views: 353

Postpone deep-sleep timer wakeup from ULP

Hello, I'm new to the ULP programming and I have the need to detect a lack of pulses on an input GPIO drawing the least current possible. For now I've managed to achieve this by programming the ULP (RISCV) in order to periodically poll the GPIO for changes like so: #include "ulp_riscv_utils.h" #incl...