2014-03-16 02:17 PM
Hello
I want to connect a SDcard to stm32f4discovery .A typical sdcard has CMD , CLK , DAT[0:3] , GND & VDD pins .how should this pins be assigned to SDIO related pins( D0...D6 , cmd & ck ) in stm32f407vgt6?Can sdcard's power be supplied from stm32f4discovery? how ?Thanks .2014-03-16 03:35 PM
Suggest you review some schematics, say the STM3240G-EVAL, and STM32F4-DIS-BB
Based on the code I ported to the STM32F4-Discovery''The Micro SD Slot/Socket is expected to be wired as follows
CARDDETECT = PB15 (Retargetable)
CLK = PC12
CMD = PD2
D0 = PC8
D1 = PC9
D2 = PC10
D3 = PC11
VDD = 3V
VSS = GND
PC10 (SCLK) and PC12 (SDIN) potentially conflict with the CS43L22''