mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Use UM10503 (user manual) suggestion for SD delay config.
This commit is contained in:
parent
56a7b841cb
commit
72cc6569ca
@ -580,6 +580,11 @@ void sdc_lld_start(SDCDriver *sdcp) {
|
||||
sdio_reset();
|
||||
sdio_reset_card();
|
||||
|
||||
// UM10503 recommendation
|
||||
LPC_SCU->SDDELAY =
|
||||
(0x8 << 0)
|
||||
| (0xf << 8)
|
||||
;
|
||||
LPC_SDMMC->CTRL =
|
||||
(1U << 4) /* INT_ENABLE */
|
||||
| (1U << 25) /* USE_INTERNAL_DMAC */
|
||||
|
Loading…
Reference in New Issue
Block a user