Skip to content

Fix SPI transaction mismatch errors #2460

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

Merged
merged 1 commit into from
Nov 21, 2014
Merged

Fix SPI transaction mismatch errors #2460

merged 1 commit into from
Nov 21, 2014

Conversation

PaulStoffregen
Copy link
Contributor

While testing with Adafruit nRF8001, I discovered a bug with my previous attempt to add SPI transactions to SD. The SD library calls chipSelectLow() repeatedly, even when the chip select is already low. This tiny change is needed to make SPI transactions match properly.

@matthijskooijman
Copy link
Collaborator

I also recently wondered about this. Code looks good to me!

@cmaglie cmaglie merged commit c0bc2d2 into arduino:ide-1.5.x Nov 21, 2014
@PaulStoffregen
Copy link
Contributor Author

This also needs to be brought into the master branch, but only when the SPI library gets transaction support.

@cmaglie
Copy link
Member

cmaglie commented Nov 25, 2014

I've cherry-picked this commit into: #2365

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants