Skip to content

Commit 56cc627

Browse files
authored
Merge pull request #133 from giulcioffi/SDissue
Enable SDMMC hardware Flow Control
2 parents 06a1b8d + 655d2e7 commit 56cc627

File tree

1 file changed

+1
-1
lines changed
  • libraries/Portenta_SDCARD

1 file changed

+1
-1
lines changed

libraries/Portenta_SDCARD/BSP.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ uint8_t BSP_SD_Init(void)
104104
uSdHandle.Init.ClockDiv = 6;
105105
uSdHandle.Init.ClockPowerSave = SDMMC_CLOCK_POWER_SAVE_DISABLE;
106106
uSdHandle.Init.ClockEdge = SDMMC_CLOCK_EDGE_RISING;
107-
uSdHandle.Init.HardwareFlowControl = SDMMC_HARDWARE_FLOW_CONTROL_DISABLE;
107+
uSdHandle.Init.HardwareFlowControl = SDMMC_HARDWARE_FLOW_CONTROL_ENABLE;
108108
uSdHandle.Init.BusWide = SDMMC_BUS_WIDE_4B;
109109

110110
/* Msp SD initialization */

0 commit comments

Comments
 (0)