Search found 4 matches

by Matheus.Goulart
Thu Mar 12, 2020 1:30 pm
Forum: ESP-IDF
Topic: How to use ulp variables in multiple files
Replies: 0
Views: 2990

How to use ulp variables in multiple files

Hello, I'm trying to use ulp to read adc while in deep sleep, i followed the ulp examples in esp idf repository, and find out that i cant call functions that use ulp variables in others files that were not included in the CMakeList. My question is, if i want to make a function that uses ulp global v...
by Matheus.Goulart
Tue Mar 10, 2020 8:30 pm
Forum: ESP-IDF
Topic: Cant use ULP and timer wake up right
Replies: 3
Views: 6015

Re: Cant use ULP and timer wake up right

Ty for your answer, I actually calling esp_sleep_enable_ulp_wake_up() and esp_deep_sleep() inside the ulp_sleep() function. Recently I figured out that's some problem with the acquisition, but i still cant manage to properly wake up after a timer wake up. The esp_sleep routine goes like this: ESP_ER...
by Matheus.Goulart
Mon Mar 09, 2020 8:19 pm
Forum: ESP-IDF
Topic: Cant use ULP and timer wake up right
Replies: 3
Views: 6015

Cant use ULP and timer wake up right

Hello, In the last week i've been struggling with the ULP usage. The project idea was to periodically wake up esp so he can send data over BLE and while in deep sleep, the ULP will monitor the adc input and if there's any significant change in the readings, it will immediately wake up and send the d...
by Matheus.Goulart
Thu Jan 23, 2020 6:05 pm
Forum: Hardware
Topic: ESP32 can get in bootloader mode after deep sleep
Replies: 3
Views: 4711

ESP32 can get in bootloader mode after deep sleep

Good morning, I started working with ESP few days ago and recently begin with my first project using ulp. The idea was to set a cyclic time to wake ESP32 from deep sleep. After a few try, he got in the deep sleep mode and never woke up again. After a few time he starts to heat up. Is there a way tha...