Skip to content

touchio not responsive on esp32 S3 #11285

Description

@urfdvw

CircuitPython version and board name

Xiao S3 Cpy 10.3.0

Code/REPL

>>> exec("""import board, touchio, time\npads = [("D0", board.D0), ("D5", board.D5), ("D8", board.D8)]\nts = [touchio.TouchIn(p) for _, p in pads]\nprint("TRACE START -- touch any pad now")\nfor i in range(40):\n    print(i, [t.raw_value for t in ts])\n    time.sleep(0.5)\nfor t in ts:\n    t.deinit()\nprint("TRACE DONE")""")

Behavior

TRACE START -- touch any pad now
0 [0, 0, 0]
1 [0, 0, 0]
2 [0, 0, 0]
3 [0, 0, 0]
4 [0, 0, 0]
5 [0, 0, 0]
6 [0, 0, 0]
7 [0, 0, 0]
8 [0, 0, 0]
9 [0, 0, 0]
10 [0, 0, 0]
11 [0, 0, 0]
12 [0, 0, 0]
13 [0, 0, 0]
14 [0, 0, 0]
15 [0, 0, 0]
16 [0, 0, 0]
17 [0, 0, 0]
18 [0, 0, 0]
19 [0, 0, 0]
20 [0, 0, 0]
21 [0, 0, 0]
22 [0, 0, 0]
23 [0, 0, 0]
24 [0, 0, 0]
25 [0, 0, 0]
26 [0, 0, 0]
27 [0, 0, 0]
28 [0, 0, 0]
29 [0, 0, 0]
30 [0, 0, 0]
31 [0, 0, 0]
32 [0, 0, 0]
33 [0, 0, 0]
34 [0, 0, 0]
35 [0, 0, 0]
36 [0, 0, 0]
37 [0, 0, 0]
38 [0, 0, 0]
39 [0, 0, 0]
TRACE DONE

touched no reaction

Description

Also tried on 10.2.1

Adafruit CircuitPython 10.2.1 on 2026-05-13; Seeed Xiao ESP32-S3 Sense with ESP32S3
>>> exec("""import board, touchio, time\npads = [("D0", board.D0), ("D5", board.D5), ("D8", board.D8)]\nts = [touchio.TouchIn(p) for _, p in pads]\nprint("TRACE START -- touch any pad now")\nfor i in range(40):\n    print(i, [t.raw_value for t in ts])\n    time.sleep(0.5)\nfor t in ts:\n    t.deinit()\nprint("TRACE DONE")""")
TRACE START -- touch any pad now
0 [65535, 65535, 65535]
1 [16801, 15499, 18219]
2 [16804, 15499, 18218]
3 [16806, 15503, 18218]
4 [16802, 17684, 18217]
5 [16961, 15498, 18199]
6 [16810, 15497, 18193]
7 [16802, 15496, 18211]
8 [16812, 15499, 28405]
9 [16804, 15500, 18261]
10 [16806, 15497, 32391]
11 [16802, 15491, 65535]
12 [16798, 15499, 18203]
13 [16801, 15497, 18216]
14 [16808, 15499, 18226]
15 [16809, 15491, 18224]
16 [16808, 44088, 19503]
17 [16814, 65535, 65535]
18 [16935, 15517, 18263]
19 [65535, 65535, 18262]
20 [65535, 65535, 18231]
21 [16826, 15512, 18254]
22 [16821, 15498, 18247]
23 [16806, 15489, 18249]
24 [16810, 15491, 18265]
25 [16804, 15487, 18241]
26 [16810, 15497, 18229]
27 [16797, 15496, 18246]
28 [16805, 15501, 18260]
29 [16818, 15499, 18247]
30 [16817, 15500, 18274]
31 [16814, 15499, 18252]
32 [16809, 15499, 18270]
33 [16816, 15505, 18268]
34 [16811, 15500, 18268]
35 [16812, 15496, 18276]
36 [16813, 15497, 18273]
37 [16804, 15487, 18245]
38 [16816, 15499, 18243]
39 [16819, 15499, 18255]
TRACE DONE
>>> 

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions