-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Trinket M0: No SPI pins in board #213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
How does it work when there is no chip select line? Isn't that usually used to signify transaction boundaries? |
No idea, honestly, but it works. It would be nice to have those pin names in the board module, though. |
I hesitate to add the pin names because most SPI devices won't work due to no pin for the chip select. |
Any pin can be specified as chip select, and it's the driver for the particular device that is responsible for toggling it. |
I really have no idea about how the chip select line is related to this issue at all. |
I was confusing the Gemma which has 3 GPIO with the Trinket which has enough for SPI. Pull request proposed with the names. |
Trying to run any of the SPI examples, I get:
Changing this to:
makes it work, but then I have to write board-specific code.
The text was updated successfully, but these errors were encountered: