cancel
Showing results for 
Search instead for 
Did you mean: 

still have problem in SDIO

Xin Yang
Associate II
Posted on November 20, 2017 at 06:49

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

1 REPLY 1
Xin Yang
Associate II
Posted on November 21, 2017 at 03:14

I just tried ClockDiv from 0-5. SDIO still in BUSY