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.1 when i check
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
I was able to enable 4 SPI as according to the Forum Post. Enabling SPI0 or SPI1 together with 3-6 doesn’t work. Heres my complete /boot/config.txt
#dtoverlay=spi1-1cs #dtoverlay=spi2-1cs dtoverlay=spi3-1cs dtoverlay=spi4-1cs dtoverlay=spi5-1cs dtoverlay=spi6-1cs