Skip to main content
Associate II
April 10, 2024
Solved

stm32l431rct6: SD detect pin question

Sorry, are there has a pin call or used for SD_detect in Stm32l431rct6? I can not find in STM32L431xx Datasheet - production data. These has no mention.I do not know which pin(SD-Detect)should i choose for GPIO_Input of the FATS.

This topic has been closed for replies.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
April 10, 2024

Hello,

You can use any GPIO pin for that. It’s not a part of the SDIO peripheral.

You can refer to any SD BSP driver like this one from L476 Eval board: 

https://github.com/STMicroelectronics/stm32l476g-eval-bsp/blob/31280bc4a9d038f9981b8fe4c2824582efc163fe/stm32l476g_eval_sd.h

You can watch this video on Youtube / especially @5:58

Hope it helps.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.

1 reply

mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
April 10, 2024

Hello,

You can use any GPIO pin for that. It’s not a part of the SDIO peripheral.

You can refer to any SD BSP driver like this one from L476 Eval board: 

https://github.com/STMicroelectronics/stm32l476g-eval-bsp/blob/31280bc4a9d038f9981b8fe4c2824582efc163fe/stm32l476g_eval_sd.h

You can watch this video on Youtube / especially @5:58

Hope it helps.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.