M5Unified icon indicating copy to clipboard operation
M5Unified copied to clipboard

M5 PaperS3 wake on touch not working

Open skrat opened this issue 2 months ago • 3 comments

Seems to be missing a case:

https://github.com/m5stack/M5Unified/blob/master/src/utility/Power_Class.cpp#L245

with the wake up pin being 48 I believe according to schematic?

skrat avatar Nov 16 '25 12:11 skrat

Hello @skrat

what exactly do you mean by 'wake on touch'? Wake up from a shutdown state? Or wake up from one of the ESP32 sleep modes (deep sleep / light sleep)?

AFAIK only wake on touch from ESP32 light sleep is possible. Please see explanation and example here.

Thanks Felix

felmue avatar Nov 16 '25 13:11 felmue

You are right, I want to use capacitive touch screen to wake up from light sleep.

Related discussion here: https://github.com/orgs/micropython/discussions/14351

I still don't see the _wakeupPin being assigned for PaperS3 board. I tried using wake_on_ext0 with GPIO pin 48, but I'm getting ValueError: invalid pin error.

skrat avatar Nov 16 '25 15:11 skrat

Hello @skrat

oh, I see, you are using Micropython. I am not well versed in Micropython so I cannot really help. Sorry.

Thanks Felix

felmue avatar Nov 16 '25 21:11 felmue