Commit d06079e
committed
docs(sdcardio): describe the real shared-SPI CS invariant
The previous ".. important::" note said SD card init must come first on
a shared SPI bus. That rule happened to work when every co-resident CS
line had a hardware pull-up, but it is not the real invariant: what
actually matters is that every CS on the shared bus is in a known HIGH
(deselected) state before any SPI transaction. On boards where a CS
floats (e.g. the Feather RP2040 RFM, whose RFM_CS has no pull-up), it
must be driven HIGH in software; init order is secondary.1 parent bfb650d commit d06079e
1 file changed
Lines changed: 12 additions & 4 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
45 | 53 | | |
46 | 54 | | |
47 | 55 | | |
| |||
0 commit comments