-
-
Notifications
You must be signed in to change notification settings - Fork 377
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
/dev/spidev1.0 not selectable in Webinterface #1110
Comments
Currently, only those two values are selectable. Until then you add the additional GPIOs into the "output" ./libsrc/leddevice/schemas/schema-ws2801.json and do a Pull request. Note: You with also extend other devices where GPIO selections are provided. |
I've tried that on Pi3 with additional line 'core_freq=250' in boot.txt. There is output from GPIO 20, but the light doesn't change. |
And did you check the log output for errors? |
Output from GPIO 20 (Mosi) and ... ? Do you use a WS2812(b) Stripe, or WS2801 ? Do you mean boot.txt or config.txt ? |
|
@Arthur-Koo wrong: right And, you must turn off the audio out in config.txt. Comment in this line: wrong right and turn on the stable clock time: |
2812 won’t work on SPI1 - there’s no DMA support and a pitiful TX buffer |
Yes. I've updated the WS2812spi Schema file and got the result. |
I think that's the reason. And there may be solutions, right? |
Use SPI0 |
But from the wiki https://github.com/notro/spi-bcm2708/wiki & https://elinux.org/RPi_SPI I cannot get any information that there's no DMA support for SPI1. |
So, i add a WS2812b on spidev1.0 (Mosi only) on RPI 4 and only green and blue light works. Red not. I tested with the hyperion NG RGB assist on top right toolbar. Red is showing white (strange). |
Which rate you use in hyperion ng ws2812spi config ? 2857143 ? |
This came up here: You only need DMA for WS2812 LEDs |
from 3000000 to 4000000 |
I've found that sentence for UART, and the line for SPI is "Again the SPIs themselves have no throughput limitations in fact they can run with an SPI clock of 125 MHz. But doing so requires significant CPU involvement as they have shallow FIFOs and no DMA support." |
That’s the section. Can we close this issue now ? |
I think so, thanks! |
Not sure if this is the correct section to post my question, if not, please let me know.
Background info: To enable this from one RPi I enabled /dev/spidev1.0 by adding dtoverlay=spi1-3cs to the config.txt. |
Bug report
Second LED Stripe on Raspberry 4 GPIO /dev/spidev1.0 not selectable from Webinterface
Steps to reproduce
Add
dtoverlay=spi1-3cs
in /boot/config.txt to enable the seconds SPI DeviceWhat is expected?
In Webinterface: LED Hardware -> Controller Type -> ws2801 -> SPI Path -> /dev/spidev1.0 selectable.
What is actually happening?
In Webinterface: LED Hardware -> Controller Type -> ws2801 -> SPI Path -> Only /dev/spidev0.0, and /dev/spidev0.1 selectable.
System
Raspberry PI 4 -> Hyperion.ng -> Your version: 2.0.0-alpha.7
The text was updated successfully, but these errors were encountered: