Search found 2 matches

by davidtaille
Sat Nov 28, 2020 7:34 pm
Forum: ESP-IDF
Topic: ADC1 incorrectly returns 4095 from ULP coproc during TIMER-triggered wake up
Replies: 0
Views: 1404

ADC1 incorrectly returns 4095 from ULP coproc during TIMER-triggered wake up

Hi, I noticed that ADC1 sometimes erroneously returns 0xFFF during wake up from deep sleep, when the cause is a timeout. To demonstrate the problem, I downloaded the latest esp-idf, and slightly modified example ulp_adc. See diff to main .c and to .S files below. Basically, the mods consist in : - h...
by davidtaille
Sun Nov 22, 2020 6:58 pm
Forum: General Discussion
Topic: ESP32 ULP ADC sampling glitch during wakeup
Replies: 4
Views: 6571

Re: ESP32 ULP ADC sampling glitch during wakeup

Hi, @ ESP_igrr : have you had a chance to sort this out and remove the glitch ? I'm running into a similar issue I think, where ADC1 returns 0xFFF on a pin that"s kept at constant level approximately 30ms before esp_wake_deep_sleep() is run. (I'm spotting it by having ulp toggling a few pins to flag...