On my pocket beagle, which runs Debian, I have three spidev devices (spidev1.0, spidev2.0 and spidev2.1).

I have a SPI temp sensor on spi1 (which is spidev2.0 and spidev2.1). Loopback tests on 2.0 (by jumpering MOSI and MISO) worked. The data came back to me. However I was unable to send data to the temp sensor. When I switched to 2.1, everything worked normally.

Why is that? What is the difference between 2.0 and 2.1?


From what I've read, spidev2.0 and 2.1 refer to the Chip Select that has been configured for them. Which chipselect 2.0 is using though, I have no idea, but the chipselect for 2.1 must be the one labeled as chip select on the board.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.