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 of the card if there is a high on the pin.
But the sample code activates the pull up and checks for a low as the indicator of the SD-Card presence.
