cancel
Showing results for 
Search instead for 
Did you mean: 

SDIO with clock managment SDCard Timeout

lukasz239955_stm1
Associate
Posted on April 12, 2012 at 10:21

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 ?

0 REPLIES 0