0

Dotstar on Raspberry Pi 3 SPI1 issues
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Dotstar on Raspberry Pi 3 SPI1 issues

by dbrown123 on Sun Feb 21, 2021 11:52 pm

Hi,
I've got a Dotstar stip connected to a Raspberry Pi 3. I'm using Circuit Python, I followed the Adafruit guide to install that.

The Dotstar strip works fine on SPI0 when I define it like this:

pixels=dotstar.DotStar(board.SCLK, board.MOSI, 120, brightness=0.2)

It also works fine when I move it to use bit banged GPIOs.

pixels=dotstar.DotStar(board.D16, board.D12, 120, brightness=0.2)

It doesn't work when I try to use SPI1

pixels=dotstar.DotStar(board.SCLK_1, board.MOSI_1, 120, brightness=0.2)

I don't get any errors or messages or anything, just LEDs that are off and do nothing.

I've added the dtoverlay=spi1-1cs to the /boot/config.txt.

If I do an ls on /dev/spi* I see /dev/spidev1.0 is there.

So what have I missed?

Only other possible wrinkle is I'm using the official 7" LCD screen, but I don't think that uses SPI1 for anything, it's I2C I believe.

Any other things I should look at?

Thanks,
Dave

dbrown123
 
Posts: 1
Joined: Tue May 22, 2018 1:13 pm

Please be positive and constructive with your questions and comments.