AnsweredAssumed Answered

still have problem in SDIO

Question asked by Xin Yang on Nov 20, 2017
Latest reply on Nov 21, 2017 by Xin Yang

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

Attachments

Outcomes