Description
Board
XIAO ESP32S3
Device Description
XIAO ESP32S3 only
Hardware Configuration
no
Version
latest stable Release (if not listed below)
IDE Name
Arduino IDE
Operating System
MacOS 13.5
Flash frequency
80 MHz
PSRAM enabled
no
Upload speed
115200
Description
Hello,
I'm trying to work around XIAO ESP32S3 with touch abilities.
I have been working on a touch sensor application. I am just using touchRead() function to query 4 touch sensors on loop.
When touching two of them, the ESP32-S3 input values increase dramatically, the the values doesn't decrease, even when touch input released, until reboot. I have put inline resistors in line, which reduces sensitivity but improves the issue, however still possible to crash it with 33k on each line.
This can be easily replicated by touching together two touch pins, which causes all following touch read values to read the same stalled value until the chip is rebooted.
Any suggestions to resolve this issue ? Any update ?
Thank you,
Guillaume
Sketch
void setup() {
Serial.begin(115200);
delay(1000); // give me time to bring up serial monitor
Serial.println("ESP32 Touch Test");
}
void loop() {
Serial.print(touchRead(A0));
Serial.print(" | ");
Serial.print(touchRead(A1));
Serial.print(" | ");
Serial.print(touchRead(A2));
Serial.print(" | ");
Serial.println(touchRead(A3));
delay(1000);
}
Debug Message
17:02:09.666 -> =========== Before Setup Start ===========
17:02:09.666 -> Chip Info:
17:02:09.666 -> ------------------------------------------
17:02:09.666 -> Model : ESP32-S3
17:02:09.666 -> Package : 0
17:02:09.666 -> Revision : 2
17:02:09.666 -> Cores : 2
17:02:09.666 -> CPU Frequency : 240 MHz
17:02:09.666 -> XTAL Frequency : 40 MHz
17:02:09.666 -> Features Bitfield : 0x00000012
17:02:09.699 -> Embedded Flash : No
17:02:09.699 -> Embedded PSRAM : No
17:02:09.699 -> 2.4GHz WiFi : Yes
17:02:09.699 -> Classic BT : No
17:02:09.699 -> BT Low Energy : Yes
17:02:09.699 -> IEEE 802.15.4 : No
17:02:09.699 -> ------------------------------------------
17:02:09.699 -> INTERNAL Memory Info:
17:02:09.699 -> ------------------------------------------
17:02:09.699 -> Total Size : 403372 B ( 393.9 KB)
17:02:09.699 -> Free Bytes : 374684 B ( 365.9 KB)
17:02:09.732 -> Allocated Bytes : 23832 B ( 23.3 KB)
17:02:09.732 -> Minimum Free Bytes: 369636 B ( 361.0 KB)
17:02:09.732 -> Largest Free Block: 335860 B ( 328.0 KB)
17:02:09.732 -> ------------------------------------------
17:02:09.732 -> Flash Info:
17:02:11.013 -> Minimum Free Bytes: 368956 B ( 360.3 KB)
17:02:11.013 -> Largest Free Block: 335860 B ( 328.0 KB)
17:02:11.013 -> ------------------------------------------
17:02:11.013 -> GPIO Info:
17:02:11.013 -> ------------------------------------------
17:02:11.013 -> GPIO : BUS_TYPE[bus/unit][chan]
17:02:11.013 -> --------------------------------------
17:02:11.013 -> 19 : USB_DM
17:02:11.013 -> 20 : USB_DP
17:02:11.013 -> 43 : UART_TX[0]
17:02:11.013 -> 44 : UART_RX[0]
17:02:11.013 -> ============ After Setup End =============
17:02:16.120 -> 18435 | 18716 | 20923 | 18342
17:02:17.143 -> 18395 | 18698 | 20909 | 18326
17:02:18.134 -> 18401 | 18714 | 20926 | 18356
17:02:19.125 -> 18405 | 18701 | 20923 | 18357
17:02:20.117 -> 118177 | 146341 | 75165 | 45218
17:02:21.140 -> 18400 | 18706 | 21292 | 865985
17:02:22.127 -> 18400 | 18706 | 21292 | 865985
17:02:23.120 -> 18400 | 18706 | 21292 | 865985
17:02:24.142 -> 18400 | 18706 | 21292 | 865985
17:02:25.133 -> 18400 | 18706 | 21292 | 865985
17:02:26.121 -> 18400 | 18706 | 21292 | 865985
17:02:27.112 -> 18400 | 18706 | 21292 | 865985
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.