f0cal / google-coral

Community gathering point for Google Coral dev board and dongle knowledge.
109 stars 14 forks source link

Coral Dev Board SPI1 Chip Select Line #78

Closed AndrewKeene closed 4 years ago

AndrewKeene commented 4 years ago

Hi everyone, I'm just trying to run a simple SPI transfer using the Google Coral dev board.

Opening and transmitting over SPI1 is working fine, but I notice it only lowers the SS1 line (pin 26 on the 40 pin GPIO header). How do i configure the SPI1 interface to use the SS0 line (pin 24)?

I've tried understanding the Phanbell device tree, but I don't know how to change the cs-gpios config.

Thank you.

AndrewKeene commented 4 years ago

I overlooked the SPI API and assumed the path change on the SPI constructor was for the SPI interface, but I see it's for the SS line. Issue closed.