← index #16573Issue #17577
Off-topic · high · value 2.967
QUERY · ISSUE

docs: ESP32 C3 and C6 has only 2 Timers (0 and 2)

openby dmoibmopened 2025-01-12updated 2025-02-20
port-esp32

Documentation URL

https://docs.micropython.org/en/latest/esp32/quickref.html#timers

Description

A note for ESP32 C3 and C6 would be helpful. These only have two timers, Timer(0) and Timer(2)

Code of Conduct

Yes, I agree

CANDIDATE · ISSUE

ESP32-C6 timers not working on custom build

closedby AndreoBotelhoopened 2025-06-28updated 2025-08-29
bug

Port, board and/or hardware

esp32-c6 custorm pcb

MicroPython version

MicroPython v1.25.0 on 2025-06-28; ESP32C6 module with ESP32C6

built with espidf v5.3.2 or 5.4.1, trying v1.26 preview form master branch gives same result

Reproduction

  1. create a timer ( 0 or 1)
  2. init it and set a callback
  3. wait for callback result
def mycallback(t):
    print('timer')

tim = Timer(0)

tim.init(period=100, callback=mycallback)

Expected behaviour

Expected print "timer"

Observed behaviour

nothing happens, working fine on espidf 5.2.5

Additional Information

No, I've provided everything above.

Code of Conduct

Yes, I agree

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied