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
I have tested all kinds of GPIO combinations.
Only WLAN works flawless with APA102 Chips.
I couldn´t have done with W32-ETH01 and APA102 to use the LAN port.
Setup with WS281x and SK6812 LEDs works however perfect.
I also have the same problem.
I am using WS2801 LED strips with an ESP32 dev board and a LAN8720 module. The GPIO pins were connected as on a WT32-EHT01, so WLED works without adjustment with the provided binary.
All LED strips that require only one pin can be selected without any problems. As soon as a LED strip is selected that needs clock and data pins, Ethernet does not work anymore and the access point is started. Only after selecting another LED strip Ethernet works again.
No possible GPOI combination works. Also reducing the SPI speed does not change anything.
To reproduce the behavior the LED strip does not have to be present and connected, the selection in the web interface is sufficient.
i can confirm it too but on the Olimex POE Boards..
If you use SPI LEDs and Ethernet it is not working..
Here are the modes:
DotStarMethod: OK but Software only
DotStarEsp32DmaVspiMethod: OK but to fast
DotStarEsp32DmaVspi1MhzMethod: OK perfect
DotStarSpiMethod: NotOK should work, but it did not...
DotStarVspiMethod: NotOK should work, but it did not...
DotStarEsp32DmaHspiMethod: NotOK because it conflicts with ethernet port
DotStarHspiMethod: NotOK because it conflicts with ethernet port
Ok thanks, sorry if I was not clear by saying that searching led me to nothing, and as a developer for software that people keeping asking "dumb" questions about, I know how this will feel but still :
Would it be possible to give a bit more information, like file to modify and some lines of code ? Or a link to whoever would have already done that.
Looking for SPI, DMA in the code didn't lead as well to interesting or understandable enough content for me to be comfortable modifying, didn't find anything online of people successfully doing that.. is it on the arduino/pio side, or wled specific code, is it a compile option or some deeper things to comment, uncomment... ?
This change forces the NeoPixel library to NOT use the Arduino SPI implementation. I don't know why this makes a difference. I searched also all the code. And compared the difference in ARDUINO and ESP32 DMA SPI implementation. All i found was, Arduino do not initialize the QUAD SPI pins.. The DMA SPI Driver explicitly disables the QUAD SPI pins.. And i found the default QUAD SPI PINS are on ports where the Ethernet chip is connected.
Tested and working on Olimex ESP32-POE-ISO, connecting SK9822 (APA102 clones) to pins 32 & 33 (same as ethernet), and using SD card MMC at the same time !
Activity
blazoncek commentedon Feb 12, 2022
Use GPIO pins that do not conflict.
AVRnet commentedon Feb 15, 2022
I have tested all kinds of GPIO combinations.
Only WLAN works flawless with APA102 Chips.
I couldn´t have done with W32-ETH01 and APA102 to use the LAN port.
Setup with WS281x and SK6812 LEDs works however perfect.
blazoncek commentedon Feb 25, 2022
Try lowering SPI speed by changing DotStarSpiHzMethod; in bus_wrapper.h
drlechk commentedon Mar 21, 2022
I'm having the same issue. lowering SPI speed does not help. Did you solve the problem?
AVRnet commentedon Mar 22, 2022
I'm afraid not. I haven´t got any idea to solve the problem.
lucasheld commentedon May 16, 2022
I also have the same problem.
I am using WS2801 LED strips with an ESP32 dev board and a LAN8720 module. The GPIO pins were connected as on a WT32-EHT01, so WLED works without adjustment with the provided binary.
All LED strips that require only one pin can be selected without any problems. As soon as a LED strip is selected that needs clock and data pins, Ethernet does not work anymore and the access point is started. Only after selecting another LED strip Ethernet works again.
No possible GPOI combination works. Also reducing the SPI speed does not change anything.
To reproduce the behavior the LED strip does not have to be present and connected, the selection in the web interface is sufficient.
blazoncek commentedon May 16, 2022
SPI is used exclusively for driving APA102 (or other SPI) LEDs.
No other SPI device can currently coexist with SPI LEDs.
lucasheld commentedon May 17, 2022
As far as I know, the LAN8720 module does not use SPI at all, but RMII. Accordingly SPI should be available for the LEDs right?
d3473r commentedon Jun 29, 2022
I bought a WT32-EHT01 to run a WS2801 strip and I'm now facing the same issue, ethernet not working as soon as WS2801 is selected in WLED.
The datasheet mentions RMII not SPI as @lucasheld mentioned.
Maybe someone who speakes chinese can help with the datasheet?
WT32-ETH01规格书V1.2.pdf
lucasheld commentedon Jun 30, 2022
@d3473r
The datasheet is also available in english.
WT32-ETH01_datasheet_V1.1- en.pdf
ywwg commentedon Aug 22, 2022
ywwg commentedon Sep 17, 2022
Can confirm, as soon as I set LED type to APA102 ethernet stops working. Also I am using software SPI, because I can change the GPIO pins at will
BlackBird77 commentedon Sep 30, 2022
Hi All..
i can confirm it too but on the Olimex POE Boards..
If you use SPI LEDs and Ethernet it is not working..
Here are the modes:
DotStarMethod: OK but Software only
DotStarEsp32DmaVspiMethod: OK but to fast
DotStarEsp32DmaVspi1MhzMethod: OK perfect
DotStarSpiMethod: NotOK should work, but it did not...
DotStarVspiMethod: NotOK should work, but it did not...
DotStarEsp32DmaHspiMethod: NotOK because it conflicts with ethernet port
DotStarHspiMethod: NotOK because it conflicts with ethernet port
Happy lights
André
blazoncek commentedon Sep 30, 2022
WLED uses HSPI for driving LEDs as VSPI may be used by other devices.
17 remaining items
benkuper commentedon Mar 11, 2023
Ok thanks, sorry if I was not clear by saying that searching led me to nothing, and as a developer for software that people keeping asking "dumb" questions about, I know how this will feel but still :
Would it be possible to give a bit more information, like file to modify and some lines of code ? Or a link to whoever would have already done that.
Looking for SPI, DMA in the code didn't lead as well to interesting or understandable enough content for me to be comfortable modifying, didn't find anything online of people successfully doing that.. is it on the arduino/pio side, or wled specific code, is it a compile option or some deeper things to comment, uncomment... ?
Thank you very much
BlackBird77 commentedon Mar 11, 2023
Replace bus_wrapper.h lines
with
This change forces the NeoPixel library to NOT use the Arduino SPI implementation. I don't know why this makes a difference. I searched also all the code. And compared the difference in ARDUINO and ESP32 DMA SPI implementation. All i found was, Arduino do not initialize the QUAD SPI pins.. The DMA SPI Driver explicitly disables the QUAD SPI pins.. And i found the default QUAD SPI PINS are on ports where the Ethernet chip is connected.
I hope this helps.
Andre
blazoncek commentedon Mar 11, 2023
Aha!
WLED is coded to use HSPI peripheral, not VSPI. Please check if other places are broken (usermods) when using VSPI for LEDs.
Thank you.
blazoncek commentedon Mar 11, 2023
Will add this to main when I have time to test it a bit:
Fix for #2542.
blazoncek commentedon Mar 12, 2023
Please test recent commit. It works on my test system with @conradopoole Ethernet shield and @srg74 universal shield/controller.
benkuper commentedon Mar 12, 2023
Tested and working on Olimex ESP32-POE-ISO, connecting SK9822 (APA102 clones) to pins 32 & 33 (same as ethernet), and using SD card MMC at the same time !
Thank you all very much !
AVRnet commentedon Mar 12, 2023
Confirm that everything is fine now,
tested and working on WT32-ETH01 with 300 pieces of APA102 to DATA GPIO2 and CLOCK GPIO4.
(WLED v0.14.0-b2)
Thanks to all !!!
blazoncek commentedon Mar 12, 2023
Please close rhen.
Fix for upstream wled#2542 (ETHERNET and APA102 conflict on SPI inter…
Sync with origin (#2)
Fix WS2801 output on boards with ethrnet (similar to wled#2542)
Fix for wled#2542.
Fix WS2801 output on boards with ethrnet (similar to wled#2542)