2017-11-19 09:49 PM
my sdio driver is copied from STM32Cube_FW_F4_V1.17.0\Drivers\BSP\STM324x9I_EVAL\stm324x9i_eval_sd.c
while i call HAL_SD_ReadBlocks_DMA,it's looks normal
after the card finish read,
HAL_SD_GetState return HAL_SD_STATE_READY and
HAL_SD_GetCardState return HAL_SD_CARD_TRANSFER
but if i call HAL_SD_WriteBlocks_DMA,here something different
while HAL_SD_GetCardState return HAL_SD_CARD_TRANSFER
HAL_SD_GetState still return HAL_SD_STATE_BUSY
should i call HAL_SD_Abort to break ?or some other thing i missed to do?
the attach is my sdio code
2017-11-20 06:14 PM
I just tried ClockDiv from 0-5. SDIO still in BUSY