jamesbowman / spidriver

SPI driver public repo
https://spidriver.com/
BSD 3-Clause "New" or "Revised" License
181 stars 56 forks source link

u and s wrong way around in the raw protocol? #27

Closed jkroso closed 3 years ago

jkroso commented 3 years ago

after select it reports the status of cs as false and vice versa. Is it just me?

jamesbowman commented 3 years ago

Right, in SPI CS is an active-low signal. Hence select sets cs to 0.

This wasn't clear in the documentation, so I have updated the User Guide descriptions of u`,sandcs`` to make this explicit.

https://spidriver.com/spidriver.pdf#page=19

Thanks.

jkroso commented 3 years ago

Ah thanks, yeah that documentation clears it up