← index #5216Issue #11213
Off-topic · high · value 0.743
QUERY · ISSUE

ESP32 Pulse Counter Driver

openby nevercastopened 2019-10-16updated 2021-12-13
port-esp32

Add a driver for ESP32 Pulse Counter Hardware.

Related to: #5214

CANDIDATE · ISSUE

RMT.loop doesn't work for ESP32-S3

closedby IcedRooibosopened 2023-04-07updated 2023-04-27
bug

Running this code on the ESP32 vs ESP32-S3 gives different results (pin changed for ESP32-S3).

import esp32
from machine import Pin

r = esp32.RMT(0, pin=Pin(2), clock_div=255)
r.loop(1)
r.write_pulses((32767, 32767)) 

On the ESP32 it will continue to loop as expected, on the S3 it will just write the pulses one time.

Hardware ESP32: ESP32 DEVKIT V1
Hardware ESP32S3: LuatOS ESP32-S3 running MicroPython v1.19.1-995-g0a3600a9a on 2023-03-31; ESP32S3 module (spiram octal) with ESP32S3

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