Hi all, I have been struggling with this issue for a while and have researched alot on this forum. But nothing seems to help.
First of all, I had this setup working correctly on my Raspberry Pi3B, all leds worked in good order. But since Raspberry's are as valuable as gold at the moment, I want to get Hyperion working on a Orange Pi One instead.
On the Orange Pi One setup:
- SPI activated and working
- USB Capture device is working nicely (not relevant to this issue though)
- SK6812RGBW(N) is powered by a 5v15A PSU.
- Orange Pi One powered by seperate PSU.
- GND's connected to eachother of course.
- Using PIN 19 as it is SPI MOSI pin on the Orange Pi.
- Changed RGB orde to GRB
All leds work ok, even the first led works, only it's green led is always on. The other 3 colors (Red/Blue/White) are working on the first led as they should. I can create any testing effect in correct colors and all.
For testing, put 5V on the data line and all leds went white, no green first led.
So all leds are in working order, just the first led get an incorrect command to always show green.
In this old thread they talk about this precise issue and changing values and compiling.
LINK
Change: uint8_t tx[num_leds*3*4+3];
To: uint8_t tx[num_leds*3*4+6];
And change: unsigned spi_ptr=0;
To: unsigned spi_ptr=3;
But not what file they changed or how to recomplie it unfortunetaly, so I can't try this. They seem to already know how this works.
Another weird thing I noticed between the Raspberry and Orange Pi, is the BAUD rate for the same SK6812 strip.
Where the Raspberry works great with BAUD rate of 5900000, the Orange Pi only works with a BAUD rate between 2000000 and 4000000.
So there is a hardware different in the SPI I think between the boards?