初级会员

- 积分
- 64
- 金钱
- 64
- 注册时间
- 2015-8-28
- 在线时间
- 108 小时
|
20金钱
使用STM32cubemax配置好SDIO模式,选择SD 4线模式,(没整明白MMC模式和SD模式区别)
仿真程序初始化SDIO时,走到HAL_SD_Init函数里面的
/* Identify card operating voltage */
errorstate = SD_PowerON(hsd);
if(errorstate != SD_OK)
{
return errorstate;
}
直接返回timeout了,
进入SD_PowerON单步发现,
发送CMD8和CMD55全部返回timeout,
根据库函数注释提示,
/* Send CMD55 */
/* If errorstate is Command Timeout, it is a MMC card */
/* If errorstate is SD_OK it is a SD card: SD card 2.0 (voltage range mismatch)
or SD card 1.x */
网上找了很久没找到stm32使用SDIO驱动wifi的例程,
请问下万能的开源电子网,指点下菜鸟是哪里出了问题?
谢谢大家了
|
|