I’m trying to enable all the SPI Ports on my raspberry pi 4 (as mentioned in the datasheet).
I already enable the SPI interfaces over the raspi-config tool but that only gives me spi0.0
and spi0.1
when i check /sys/bus/spi/devices
.
I found this post where someone edited the config.txt to get the SPI’s (somewhat) enabled. Is this the best way to do this? Or is there a way of doing this using C or Python? Is it it even possible to run 5 SPI in parallel?
Is there better documentation than the short datasheet?
I’m running raspbian with an RT Kernel Patch.
Update: I was able to spi0.0 spi0.1 spi1.0 spi2.0 spi3.0
by putting in /boot/config.txt
dtoverlay=spi0-cs
dtoverlay=spi1-1cs
dtoverlay=spi2-1cs
dtoverlay=spi3-1cs
dtoverlay=spi4-1cs
however spi-4 doesn’t work, it’s just not enabled
Categories: Uncategorized
boot.txt
? That’s not a Raspbian file. What OS do you run? – Dirk yesterday