ESP32S2 ULP/FSM ADC wrong raw value

marc-dsa
Posts: 2
Joined: Mon Aug 08, 2022 3:29 pm

ESP32S2 ULP/FSM ADC wrong raw value

Postby marc-dsa » 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).

Who is online

Users browsing this forum: No registered users and 56 guests