ESP32-S3 touch wake up from deep sleep problem #7431
Labels
Area: Peripherals API
Relates to peripheral's APIs.
Status: Pending Merge
Pull Request is ready to be merged
Milestone
Board
ESP32-S3
Device Description
Custom PCB, based on ESP32-S3FN8
Hardware Configuration
GPIO11 connected to touch pad.
Version
latest master (checkout manually)
IDE Name
Arduino IDE
Operating System
MacOS
Flash frequency
40Mhz
PSRAM enabled
no
Upload speed
115200
Description
I’m trying to use touch wake up from deep sleep using an ESP32-S3 in the Arduino framework. I have a custom pcb with a touch-pad connected to GPIO11 → T11
When I run the TouchRead example code I clearly get good results: when the touch pad is not touch I get readings of ±22920 and when I touch it goes to ±90000:
When I use the touch wake up example from DeepSleep I don’t get good results. The ESP32 goes to sleep but wakes up instantly. I tried to set the threshold at different values: 1, 60000, 100000 etc. But regardless the ESP32 keep on having the same behaviour. Below you can see the behaviour. In the timestamp you can see it wakes up instantly, while it’s not being touched.
I attached the example code.
I notice that the touch wake-up behaviour of the ESP32-S3 is different than previous modules. In previous module the touch value was going down when being touched, while with the S3 it’s going up.
Is there a way to get touch Wake-up to work within the Arduino framework with the ESP32-S3?
Sketch
Debug Message
Other Steps to Reproduce
Issue also occurs using the ESP32-S3 dev board
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: