Raspberry Pi SPI ports not quite right
Posted: Wed Aug 27, 2025 9:46 pm
Hi,
I am looking at SPI on the raspberry Pi, when I looked at the ports it only shows channel 1 yet it has 2 SPI ports (0 and 1) at least on the 3B.
The ports for MOSI / MISO / CLK are correct (but for SPI0) but CS/SS is shown as $PORTB.2 which does not exist, I am asuming it should be $PORTG.8.
Not a big problem but thought I would mention it so it can be corrected sometime if it is an oversight.
Regards,
Bob
I am looking at SPI on the raspberry Pi, when I looked at the ports it only shows channel 1 yet it has 2 SPI ports (0 and 1) at least on the 3B.
The ports for MOSI / MISO / CLK are correct (but for SPI0) but CS/SS is shown as $PORTB.2 which does not exist, I am asuming it should be $PORTG.8.
Not a big problem but thought I would mention it so it can be corrected sometime if it is an oversight.
Regards,
Bob