[Python] Adding a third SPI chip to raspberry pi

Discussão em 'Python' iniciado por Stack, Março 17, 2025.

  1. Stack

    Stack Membro Participativo

    I have been looking at examples of using spi with raspberrypi. As I understand the pi has two CE pins so I can use spidev.open(0,0) or spidev.open(0,1). But I have used both and have a third chip that uses spi. As I understand these pins are for chip select, and technically any digital I/O pin can be used at CS needs to simply be set to low when communicating. But I don't know how to specify which pin I am using as all examples I have seen of spidev only use the default CE pins.

    Continue reading...

Compartilhe esta Página