-
-
Notifications
You must be signed in to change notification settings - Fork 265
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
ESP32 x8 Parallel with a RGBW doesn't output the W channel #868
Comments
I tested this on WLED with NPB 2.8.0 as well as 2.8.3, both show the issue on ESP32. |
At first glance through the changes, I don't see any obvious issues. |
@Makuna I've now finally managed to set up my test unit and can indeed confirm that White channel is missing on SK6812 strip when using parallel I2S (I2S1 on ESP32). I am using mixed LEDs on the same I2S bus:
Buses are created using bus1 = new NeoPixelBusLg<NeoGrbFeature, X8Ws2812xMethod, NeoGammaNullMethod>(len1, pin1);
bus2 = new NeoPixelBusLg<NeoGrbFeature, X8Ws2812xMethod, NeoGammaNullMethod>(len2, pin2);
bus3 = new NeoPixelBusLg<NeoGrbFeature, X8Sk6812Method, NeoGammaNullMethod>(len3, pin3);
bus1->Begin();
bus2->Begin();
bus3->Begin(); EDIT: Adding #define NPB_CONF_4STEP_CADENCE
#include "NeoPixelBusLg.h" has no effect. |
@blazoncek I retested the S2: 5xSK6812 outputs, 10 LEDs each using your esp-now-search branch. White channel still works. |
@DedeHai you need 6 or more outputs on S2 (5 or more on S3). You will be able to achieve that by toggling "User parallel I2S" in LED settings. |
@Makuna I will try to debug more on WLED side and report back as I do not have logic analyser or oscilloscope. |
What versions of the ESP32 core (Arduino board support?) are you using? |
It looks like a very old one for ESP32. platform = [email protected]
platform_packages = framework-arduinoespressif32 @ https://github.com/Aircoookie/arduino-esp32.git#1.0.6.4 While S2, S3 & C3 are using: platform = espressif32@ ~6.3.2
platform_packages = platformio/framework-arduinoespressif32 @ 3.20009.0 ;; select arduino-esp32 v2.0.9 (arduino-esp32 2.0.10 thru 2.0.14 are buggy so avoid them) This is mostly due to image file size since when using newer core/framework we are running out of flash storage. |
My tests above where on a ESP32-S2. It was mentioned it was demonstrated on an S2 also. It might be IDF v5.3. |
FYI currently we are facing total freeze of CPU on ESP32-S2 if we enable parallel I2S. It looks to me like some sort of memory depletion as with WLED free heap goes as low as 6k. I'm not sure but I think we use IDF 4.3.2 for ESP32 and IDF 5.0.2 for other ESP32-XX chips (embedded in PlatformIO platforms). |
Describe the bug
WLED Issue 4380.
The W channel is always empty with i2s parallel, but is present with RMT.
Development environment (please complete the following information):
Pending: determining which NeoPixelBus version is being used as it was noted that previous versions it worked.
The text was updated successfully, but these errors were encountered: