ESP32S2 ULP/FSM ADC wrong raw value
Posted: Tue Aug 09, 2022 6:31 am
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/tr ... sm/ulp_adc
Pin GPIO7 (ADC1_CH6) is connected to ground, but the adc instruction return a raw value of about 2800 (expected is 0)
This is also the case if the ESP32S2 processor is running normaly (not in deep-sleep).
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/tr ... sm/ulp_adc
Pin GPIO7 (ADC1_CH6) is connected to ground, but the adc instruction return a raw value of about 2800 (expected is 0)
This is also the case if the ESP32S2 processor is running normaly (not in deep-sleep).