-
Notifications
You must be signed in to change notification settings - Fork 34
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
SPI1 don't work with pins p34, p35, p37 #115
Comments
See #115 for context. Seems to build without issue: cargo build --all-features --target=thumbv7em-none-eabihf --example=spi Also using P36 for CS0. Note that the 'spi4' variable name is now misleading, but this is just a demo.
Sorry, I'm having trouble reproducing this issue. I took the SPI example, and it seems OK. Given your snippet, it seems that pins 34 and 35 are swapped. Could you confirm that the pins are passed into |
I'm so sorry, to open this issue and waste your time. It works in another project. as you said, but something is wrong with my project and I still didn't figure it out. Let's dig deeper. |
No problem! Reach out here, or in discussions, if you have any other questions. |
Describe the bug
I'm trying to build a SPI1 interface. It appears straightforward at first glance, But the compiler refuses my code with the error:
I tried all pins 🙈 , but no one is working.
To Reproduce
It is simple to reproduce. Use the SPI example and turn it into the SPI1
Additional context
The pins docs are great at the master branch, but It would be awesome If you could publish the teensy-pins crate (and add pin 48-54 as well). I like to add an SD card to my project later. I hope I'll come up with something generic and contribute to this project.
The text was updated successfully, but these errors were encountered: