When the ESP32S2 is in deep-Sleep the ULP/FSM instruction "adc" return alsways 0x1FFF (8191). It's look like the ADC is internally not powered or not working properly in deep-sleep. The example works fine for ESP32, but do not work for ESP32S2:
https://github.com/espressif/esp-idf/tree/master ...
Search found 2 matches
- Tue Aug 09, 2022 6:41 am
- Forum: Report Bugs
- Topic: ESP32S2 ULP/FSM ADC return 0x1FFF (8191) in deep sleep
- Replies: 0
- Views: 4275
- Tue Aug 09, 2022 6:31 am
- Forum: Report Bugs
- Topic: ESP32S2 ULP/FSM ADC wrong raw value
- Replies: 0
- Views: 3839
ESP32S2 ULP/FSM ADC wrong raw value
The raw value return by the ULP/FSM assembler instruction ADC is wrong.
I try to get this example running. It works fine for the ESP32, but didn't work for the ESP32S2:
https://github.com/espressif/esp-idf/tree/master/examples/system/ulp_fsm/ulp_adc
Pin GPIO7 (ADC1_CH6) is connected to ground, but ...
I try to get this example running. It works fine for the ESP32, but didn't work for the ESP32S2:
https://github.com/espressif/esp-idf/tree/master/examples/system/ulp_fsm/ulp_adc
Pin GPIO7 (ADC1_CH6) is connected to ground, but ...