rpi-ws281x / rpi-ws281x-python

Python library wrapping for the rpi-ws281x library
BSD 2-Clause "Simplified" License
322 stars 102 forks source link

Unable to use GPIO10 (SPI) #94

Closed The5thLegend closed 1 year ago

The5thLegend commented 1 year ago

I am able to get the strandtest.py working when I use GPIO18. But when I try GPIO10, the LEDs don't light up during the test.

I'm running a Raspberry Pi 4B with 4GB.

I ensured that I had the following settings active in my /boot/config.txt: dtparam=spi=on core_freq=500 core_freq_min=500

I have ensured the user 'pi' was part of the gpio group

I have ensured that spidev.bufsize=32768 was added to /boot/cmdline.txt

And yet still, I cannot seem to get the test to work using SPI with GPIO10. Is there something I'm missing for enabling SPI? Or perhaps some kind of conflict I can check?

The5thLegend commented 1 year ago

Turns out my GPIO10 pin was fried. I also tried using the other SPI pin GPIO20, as noted by the documentation, but the code doesn't allow it as a selectable pin. This is apparently a known bug though, and technically out of scope of my original question, so I'm closing this thread