Skip to main content
Explorer II
April 10, 2024
Solved

stm32l431rct6: SD detect pin question

  • April 10, 2024
  • 1 reply
  • 736 views

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.
    Best answer by mƎALLEm

    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.

    1 reply

    mƎALLEmAnswer
    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.