Esp32, 2 SK6812 strips with 512 LEDs - flickering issue

Happy to help! (Or at least, try my best to help! :sweat_smile: ) Unfortunately, Iā€™m beginning to grasp at straws. Nevertheless, hereā€™s some things to considerā€¦

Thank you for including chip names in your schematic! Using them, I found the following ā€œsimplified applicationā€ on the TXS0108E datasheet:

image

The data sheet states to hold OE low until both Vcca and Vccb are stable, then to apply a voltage to OE to enable. You may try adding a pulldown resistor to OE to try and delay the enable. ~4.7KĪ© between OE and ground should be sufficient, but I canā€™t really say with certainty if this will help or not.

I was also able to find the following stackexchange post here. This person was experiencing similar issues to those you have described using the same level shifter. They state that grounding all unused inputs was helpful. The TSX contains internal pull-downs, so I do not suspect this is the cause of your issue, but it is worth trying because it is easily done. Ultimately, they switched to a74AHCT125N level shifter and their problem was resolved. This, as it turns out, is AirCookieā€™s recommended level shifter for WLED projects. Please note that, if you do switch to the 74AHCT, this chip DEMANDS all unused inputs be pulled to ground.

All told, itā€™s looking like choosing a different level shifter may be your shortest path to success. If I were in your shoes, I would ground the unused inputs and add a pulldown resistor to OE. If this proves unsuccessful, I would switch straight to the 74AHCT125N. Good luck, and keep us posted!

ETA: Looks like you are not applying voltage to the beginning of the strip, only the midpoint and end. I would also try adding 5V and GND to the beginning of the strips, and make sure that I am using a thick enough wire to handle the currents required. Use the ā€œMaximum amps for chassis wiringā€ Column on this table

Edit2: I see you have a 3m data line, make sure thatā€™s trimmed as short as you conveniently can, and that it isnā€™t coiled up anywhere. It also might be worth enabling ā€œskip first LED,ā€ which allows the first LED in the string to act as a signal repeater.