2015-11-18 06:20 AM
Hi,
do anybody know how to switch SD operation from Default mode to High Speed Mode in WICED using SD_CMD_HS_SWITCH command??I have added SDIO_CmdInitStructure.SDIO_Argument = 0x80FFFF01; SDIO_CmdInitStructure.SDIO_CmdIndex = SD_CMD_HS_SWITCH; 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); errorstatus = CmdResp1Error (SD_CMD_HS_SWITCH );this within SD_init() fuction , but its not working #sdcard #!stm32f4-!stm32f401-!rtc2015-11-18 08:54 AM
I thought WICED was a Broadcom thing, so unsure of it's context here.
Sorry ''not working'' tells us very little, is there some error, did something time out, you're going to have to be more precise. Here's some HAL code where the HS_SWITCH is used with some context.