Commit 7ad4982
Nathan Seidle
Change default SPI mode to 0 to match datasheet
"Data is latched on the rising edge of SCLK" - this is CPHA = 0. It's not clear what CPOL is but mode 3 is not CPHA = 1 which causes SPI to not work on some platforms (Artemis).1 parent 20d57b8 commit 7ad4982
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
0 commit comments