Replies: 6 comments 4 replies
-
No expertise here but... Curt |
Beta Was this translation helpful? Give feedback.
-
Here's a very simple program to reproduce the crash:
|
Beta Was this translation helpful? Give feedback.
-
I guess the generic v1.23.0 must not work with the QT-PY ESP's. I tried the same code in CircuitPython and it works. Do you think one of the other S2 distro would work better such as Feather S2, Feather S2 Neo, Tiny S2, S2 Mini or S2 Pico? Is there a custom build setting I need? |
Beta Was this translation helpful? Give feedback.
-
I see no issues with neopixel without any delay using XIAO S3 with generic S3 build on any build I've used upto 1.24 preview. Nor with any Unexpected maker ESP32 S3 board using targeted builds. Perhaps the workaround is to use a different board? |
Beta Was this translation helpful? Give feedback.
-
I made a mistake. The simple test to reproduce the problem above turns out to work most of the time without a delay. But the slightly more complicated program below always fails after a few loops unless a 20ms sleep is added.
|
Beta Was this translation helpful? Give feedback.
-
I tested a Qt-Py ESP32-S3 and it works without any delays for both tests. I installed ESP32_GENERIC_S3-20240602-v1.23.0. It seems the bug is specific to the S2 and C3. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The ESP32-S2 will eventually lock up if you don't put at least a 15ms sleep between
neopixel.fill
andneopixel.write
. This issue has also been reported on the S3 and C3. There's an open issue about it that was posted a year and a half ago.In my project, timing is critical, and I can't afford a 15ms sleep in my main loop. I tried using a state machine to space out the fill and write methods at 15ms intervals, but it didn't work. It seems only a sleep right before write prevents the freezing.
I'm running ESP32_GENERIC_S2-20240602-v1.23.0. on a Qt Py ESP32-S2.
Does anyone have a workaround?
Beta Was this translation helpful? Give feedback.
All reactions