You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Strange garbled output on ESP32 with parallel output #935
I'm getting some bizarre characters on my ESP32 when using FastLED to drive parallel WS2812B strips. This only happens if I try to output to more than about 5 or 6 LED strips in parallel - sometimes it works with 6, sometimes it doesn't, but drive more than 6 and it always crashes. Everything's fine with fewer than 6 output pins.
I've tried changing the baud to read this logging, but nothing seems to work. I've also tried changing the Xtal frequency, the core my code runs on, adjusting the heap size, I've tried whatever I can. I think if I can read this logging, I might be able to get some more context on what's going on. The fact that it doesn't reboot leads me to believe it's not a crash but something like a memory corruption.
I thought it might be related to the pins I've chosen, but different combinations also fail. This code's worked fine before on a Teensy board, so I suspect something is up.
This happens when I call FastLED.show() in my render loop.
Anybody seen this before?
Expected Behavior
I'd love to be able to output pixel data to lots of pins in parallel!
Code to reproduce this issue
I'm currently driving 6 strips, 2 0 4 18 21 and 19. Adding any other line makes it error out.
Activity
elliottkember commentedon Dec 9, 2019
If anybody sees this:
#define FASTLED_ESP32_I2S trueAfter a whole day of looking things up, this line fixed everything for me! Big shout-out to Yves and Sam for making this work.