Skip to content

Commit 655d2e7

Browse files
committed
Enable Flow Control to avoid corruption when data written to SD are fetched from HttpServer
1 parent 06a1b8d commit 655d2e7

File tree

1 file changed

+1
-1
lines changed
  • libraries/Portenta_SDCARD

1 file changed

+1
-1
lines changed

libraries/Portenta_SDCARD/BSP.c

Lines changed: 1 addition & 1 deletion
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)