Search found 2 matches

by campbellh
Fri Jun 09, 2023 12:59 pm
Forum: ESP32 Arduino
Topic: Use ADC in main program and ULP
Replies: 1
Views: 1290

Re: Use ADC in main program and ULP

As some additional information, it seems that it is also linked to the deep sleep timer wakeup source. If I do not use the timer as a wakeup source then the ULP runs as expected, even with ADC reads in the main program. There must be some kind of interaction that I am not understanding. As a short t...
by campbellh
Wed Jun 07, 2023 9:35 pm
Forum: ESP32 Arduino
Topic: Use ADC in main program and ULP
Replies: 1
Views: 1290

Use ADC in main program and ULP

I have run into an odd problem and I cannot seem to identify a solution reading the documentation. I need to use the ADC in my main program (using adc1_get_raw) and I also need to use it in ULP. The documentation of adc1_ulp_enable seems to suggest this is possible as long as I call adc1_ulp_enable ...