STM32SD library reset due to SD reinsertion or random failure

Post here first, or if you can't find a relevant section!
Post Reply
BrynMorgan
Posts: 1
Joined: Wed Apr 10, 2024 10:17 am

STM32SD library reset due to SD reinsertion or random failure

Post by BrynMorgan »

Hi there,

I'm using the STM32SD library with the STM32F4011 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
Post Reply

Return to “General discussion”