Sorry, missed that bit. I'm currently clearing the flag in the SDIO_SendCommand function:HAL_StatusTypeDef SDIO_SendCommand(SDIO_TypeDef *SDIOx, SDIO_CmdInitTypeDef *Command){ uint32_t tmpreg = 0U; cmdRespStatus = 0;
maciek,It's been running in about 75-100 fielded units since I discovered the problem in Feburary.They are essentially the same solution. The solution Hockuba.Krzysztof (Community Member) proposes is to not clear all of the SDIO register flags so whe...
Guys, sorry for the delay and the poor effort at a proper response, I'm traveling, but I think you'll get the idea.My "workaround" was to add a flag in stm32f4xx_ll_sdmmc.c and check for that flag in the do/while loop of SDMMC_GetCmdResp1 function.//...
Do you happen to be using an RTOS and the SDIO in DMA mode? I've just solved what I believe is the same problem in the STM32F4 HAL drivers. The problem presents itself when an RTOS context switch happens AFTER SDIO_SendCommand() is called (which begi...