Commit d9b0c17
committed
rg_system: Initialize and set high all SPI select lines as early as possible
Retro-Go initializes the SPI SD Card before anything else. If the LCD shares the bus and has a floating CS line, it could interfere with the initialization of the SD Card.
So far it hasn't been a major issue (that I know of), but I can certainly see how it could be.
Solution is to set all CS lines high as early as possible.
See this link shared by mtojek:
https://docs.espressif.com/projects/esp-idf/en/v5.0/esp32s2/api-reference/peripherals/sdspi_share.html
(cherry picked from commit 8565070)1 parent fdd72f6 commit d9b0c17
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
362 | 372 | | |
363 | 373 | | |
364 | 374 | | |
| |||
0 commit comments