-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
RMT.loop doesn't work for ESP32-S3 #11213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I've found a fix for the S3. But not sure if it breaks something for other boards? There seems to be some history/old changes on looping issues for RMT. If
I changed the order of the code so that the pulses were written after loop mode was enabled again. Works fine now.
I'm curious - why was this implemented the way it was? Firmware binary attached in case anyone needs it (GENERIC_S3_SPIRAM_OCT version) but use at your own risk. |
Here's a copy of the firmware compiled for the original ESP32 as well (BOARD=GENERIC) I've tested it using the following code:
to toggle the built-in LED on GPIO2 and it turns it on and off in a loop so it works fine on the original ESP32 as well. video.mp4 |
Fixed: 7ea06a3 |
Running this code on the ESP32 vs ESP32-S3 gives different results (pin changed for ESP32-S3).
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
The text was updated successfully, but these errors were encountered: