2012-04-12 01:21 AM
Hi,
I am disabling SDIO Clock in RCC module after each block write and enabling before. Some card works property, but some give response timeout after command: SDIO_CmdInitStructure.SDIO_Argument = (uint32_t) BlockSize; SDIO_CmdInitStructure.SDIO_CmdIndex = SD_CMD_SET_BLOCKLEN; SDIO_CmdInitStructure.SDIO_Response = SDIO_Response_Short; SDIO_CmdInitStructure.SDIO_Wait = SDIO_Wait_No; SDIO_CmdInitStructure.SDIO_CPSM = SDIO_CPSM_Enable; SDIO_SendCommand(&SDIO_CmdInitStructure); Problem does not exist when SDIO clock in RCC module is enabled always. Did anyone have similiar problem ?