kiwih / cubeide-sd-card

CubeIDE/CubeMX compatible MMC/SD memory card FatFs driver
Other
97 stars 56 forks source link

f_mount error (1) when wake up from stop mode #11

Open CandraSN opened 2 years ago

CandraSN commented 2 years ago

Hi, I use STM32WL with LoRa and SD Card with your driver. My device use stop mode too. I feel confused when my device wake up from stop mode, then f_mount process fails. The error code that appears is always f_mount error (1). I don't know what parameters need to be initialized again for SD Card system to work when wake up from stop mode. Maybe there is some configuration i'm missing, please help me.

Thank you

utkarshsethi commented 1 year ago

not sure if relevant, but SD cards if gone to sleep state need a power cycle to be working again.

try if that's the issue for you.