Open aeonSolutions opened 1 year ago
Your code is too complicated to troubleshoot. Create a separate project that demonstrates the issue.
I will note that ADC2 and WiFi cannot be used at the same time on the ESP32, but that may not be an issue on S3.
I will note that ADC2 and WiFi cannot be used at the same time on the ESP32, but that may not be an issue on S3.
Yep, it still is an issue on ESP32-S3.
ADC2 – no restrictions, unless there is an on-going Wi-Fi connection. ADC2_CH… analog functions (see Table 2-4 RTC and Analog Pin Functions) cannot be used with Wi-Fi simultaneously.
However the pin mentioned here in the title of this issue should be connected to ADC1, so that should not be related to WiFi activities.
Board
Custom ESP32 S3 based
Device Description
This is a custom PCB using ESP32 S3 MCU for data acquisition
Hardware Configuration
I2C bus includes a AHT20 sensor, a LSM6DS3 sensor and a ATSHA204 IC. It has 16MB of flash storage from WInBond and 8MB of PSRAM.
Version
latest master (checkout manually)
IDE Name
Arduino IDE 1.8
Operating System
Windows 11
Flash frequency
240Mhz
PSRAM enabled
yes
Upload speed
115200
Description
The crash happened when requesting
analogRead
from GPIO 6 The crashSketch
Debug Message
using the Exception decoder the error above error is pointing at