I'm dealing with a problem that when I run esp_wifi_start() I get an ADC continuous reading drop of ~30 raw ticks. I'm using esp32c6 devkit m1 ADC_UNIT_1, atten_12.
This problem persists even when I flash code with that line commented out. Only when power is cycled with commented code does it disappear. It appears again when the line is run again.
ESP32C6 ADC and WiFi
-
ahsrabrifat
- Posts: 201
- Joined: Sat Jan 18, 2025 2:31 pm
Re: ESP32C6 ADC and WiFi
Use the ESP-IDF adc_cali_* APIs (ADC calibration driver).
Capture a new baseline once Wi-Fi is active, and subtract that from your continuous readings.
Capture a new baseline once Wi-Fi is active, and subtract that from your continuous readings.
Re: ESP32C6 ADC and WiFi
Yes, that is one way to fix the issue. Doesn't tell us why this happens though! The root cause is what's interesting.Use the ESP-IDF adc_cali_* APIs (ADC calibration driver).
Capture a new baseline once Wi-Fi is active, and subtract that from your continuous readings.
Who is online
Users browsing this forum: Barkrowler, Bytespider, GPTBot, Qwantbot and 5 guests