SDK 2.7.0 fsl_sd.c SD_CardInit incorrect condition

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SDK 2.7.0 fsl_sd.c SD_CardInit incorrect condition

1,561 次查看
tomasvavra
Contributor I
    /* probe bus voltage*/
    if (SD_ProbeBusVoltage(card) == kStatus_SDMMC_SwitchVoltageFail)
    {
        return kStatus_SDMMC_SwitchVoltageFail;
    }

This code ignores other errors from SD_ProbeBusVoltage than kStatus_SDMMC_SwitchVoltageFail and ties to continue. I see these for some SD card.

标记 (2)
0 项奖励
回复
3 回复数

1,480 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Tomas Vavra

Please let me know your chip part number? I will check. Thanks!

Have a nice day,

Jun Zhang

0 项奖励
回复

1,480 次查看
tomasvavra
Contributor I

Hello ZhangJennie, sorry, my mistake. It is LPC54618 on LPCXpresso54618.

0 项奖励
回复

1,480 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Thanks, I will suggest it to SDK development team today.

As the SDK team member is probably affected by new coronavirus, the response may be not that fast.

Please add the other error statement to your code if it's necessary for the moment.

Appreciate your understanding.

Have a nice day,

Jun Zhang

0 项奖励
回复