Page 1 of 1

STM32SD library reset due to SD reinsertion or random failure

Posted: Thu Apr 18, 2024 6:53 am
by BrynMorgan
Hi there,

I'm using the STM32SD library with the STM32F411 on a custom PCB design. Our design is such that the user may remove and reinsert the SD card during operation. Additionally we occasionally observe random failures on the MicroSD side causing a lockup condition.
Due to these factors, we are looking to include a load switch for the MicroSD so it can be power cycled.

The STM32SD does not appear to have an end() function, and calling begin() a subsequent time appears to fail. Is there a way to disable, and reinitialise the STM32SD library to enable power cycle/reset of the MicroSD card?

Kind regards,
Bryn

Re: STM32SD library reset due to SD reinsertion or random failure

Posted: Mon Apr 22, 2024 12:09 pm
by fpiSTM