SD-Card function BSP_SD_IsDetected backwards?
It looks like the BSP_SD_IsDetected function from the sample codes is working backwards. According to the SD-Card spec this pin has a weak pullup (50 kΩ) inside the card. So the STM32 should have a weaker pull down on the pin and detect the presence ...