cancel
Showing results for 
Search instead for 
Did you mean: 

How detect SD card with external interrupt ?

Peko
Associate III

Hi,

I generated code for SD card and FATFS with CubeMx for STM32F407.

How do I use BSP_SD_ITConfig (), BSP_SD_DetectIT () and BSP_SD_DetectCallback () to detect the presence of SD. I have found no example anywhere.

Thank you

Peter

1 REPLY 1

ST likely just provides a rough demonstration, not end-to-end implementation

STM32Cube_FW_F4_V1.21.0\Projects\STM32469I-Discovery\Examples\BSP\Src\main.c

STM32Cube_FW_F4_V1.21.0\Projects\STM324x9I_EVAL\Demonstrations\STemWin\MB1046\Core\Src\main.c

STM32Cube_FW_F4_V1.21.0\Projects\STM32F413H-Discovery\Examples\BSP\Src\main.c

STM32Cube_FW_F4_V1.21.0\Projects\STM324xG_EVAL\Demonstrations\STemWin\Core\Src\k_storage.c

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..