Code stuck in SD_FindSCR Function
Hello,
I use stm32f765BITx processor and SDMMC (SD 4 bits Wide bus ), sometimes code is stopping at SD_FindSCR function in stm32f7xx_hal_sd.c library. This event is happening random.
Exactly, the place where code stopped at SD_FindSCR function,
while(!__HAL_SD_SDMMC_GET_FLAG(hsd, SDMMC_FLAG_RXOVERR | SDMMC_FLAG_DCRCFAIL | SDMMC_FLAG_DTIMEOUT | SDMMC_FLAG_DBCKEND))
{
if(__HAL_SD_SDMMC_GET_FLAG(hsd, SDMMC_FLAG_RXDAVL))
{
*(tempscr + index) = SDMMC_ReadFIFO(hsd->Instance);
index++;
}
}
Please provide me some solution of above mentioned issue.
Regards,
Lalabhai
