STM32SD library reset due to SD reinsertion or random failure #2348
Unanswered
BrynMorgan1
asked this question in
Libraries
Replies: 1 comment
-
Hi @BrynMorgan1
Anyway it sees it was added: Could you open an issue t the STM33SD GitHub repository to request the addition of this API. Of course, feel free to contribute. 😉 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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?
Would usage of the BSP_SD_DeInit() function be suitable?
Kind regards,
Bryn
Beta Was this translation helpful? Give feedback.
All reactions