STM32MP1-CortexA7 SDMMC1 TxUnderrun Error
Hi, community.
I am trying the SD UHS-I mode on your evaluation board(STM32MP157F-EV1), but it does not work.
Q1. Does HAL support UHS-I?
Q2. Is it necessary to enable SDMMC_CLKCR_SELCLKRX_1? (when using STM32MP157F-EV1 board)
Q3. What is the reason why it works in 1Bit mode but not in 4Bit mode?
Additional Information
Evaluation board: STM32MP157F-EV1
HAL library: STM32MP1xx HAL Driver(v1.5)
File system: FatFs(exFat)
Port used: SDMMC1
CPU: Cortex A7
RTOS: No (Baremetal) Not use OpenSTLinux
SDMMC1 clock source: PLL4 (100MHz)
Instance = SDMMC1
ClockEdge = Falling
ClockPowerSave = Enable
HardwaraFlowControl = Enable
BusWide = 1Bit or 4Bit
ClockDiv = 1 (50MHz)
UHS-I Speed Mode = SDR25
HAL Customization
#define USE_SD_TRANSCEIVER (1)
#define USE_SD_DIRPOL
Best regards,
