Skip to content

Fix for bug 888: Allow the SPI library to support different modes and other subtle issues #95

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 2 commits into from
Jun 6, 2012

Conversation

gandrewstone
Copy link
Contributor

Tested using qt1110 (mode 3) on a mega and WS5100 (webserver example sketch) chips on a etherten.

…ues/detail?id=888.  Tested using qt1110 (mode 3) on a mega and WS5100 (webserver example sketch) chips on a etherten
damellis added a commit that referenced this pull request Jun 6, 2012
Allow the SPI library to support different modes

Avoid spurious transitions on the SPI lines by activating the SPI bus before setting MOSI and SCK as outputs.  That way they go straight to the correct values.  Also, set SS HIGH before setting it as an OUTPUT, so the slave device isn't temporarily activated.

http://code.google.com/p/arduino/issues/detail?id=888
@damellis damellis merged commit a363686 into arduino:master Jun 6, 2012
oriregev pushed a commit to oriregev/Arduino that referenced this pull request Dec 20, 2013
Allow the SPI library to support different modes

Avoid spurious transitions on the SPI lines by activating the SPI bus before setting MOSI and SCK as outputs.  That way they go straight to the correct values.  Also, set SS HIGH before setting it as an OUTPUT, so the slave device isn't temporarily activated.

http://code.google.com/p/arduino/issues/detail?id=888
tbowmo pushed a commit to tbowmo/Arduino that referenced this pull request Jul 14, 2016
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.

2 participants