Skip to main content
Visitor II
July 30, 2020
Question

Wiring micro sd card slot to MCU

  • July 30, 2020
  • 4 replies
  • 14346 views

I'm drawing schematic for a small project, I have an information trouble with SDIO. I don't know how to wiring SDIO interface to micro sd card slot. Is there any document can help ?

Thank !

Sorry if my English is poor.

    This topic has been closed for replies.

    4 replies

    Super User
    July 30, 2020

    Just copy any of the STM32 discovery board schematics. Here is one:

    https://www.st.com/resource/en/schematic_pack/stm32429i-eval_sch.zip

    0693W000003Bg2XQAS.png

    Graduate II
    November 5, 2023

    Do we need external pullup on CLK line ?  

    I see there is no pullup on CLK link in STMEval board, but the module by waveshare has.

    https://www.waveshare.com/micro-sd-storage-board.htm

    Graduate II
    November 5, 2023

    It doesn't need one as always an output, but shouldn't be an issue either.

    Visitor II
    July 30, 2020

    very simple

    0693W000003Bg3kQAC.jpg

    0693W000003Bg3pQAC.png

    also put a big capacitor for card vdd line

    Visitor II
    December 9, 2021

    Hi, I do not understand one thing. How can you decide value of resistors? I use STM32F446RE so, Can I wire SD card socket (I mean just connection side) directly my microcontrolller with this pull up resistors?

    Graduate II
    December 9, 2021

    Doing this without pull-up's is probably in-advisable. Typically you just need a relatively weak pull-up, in the 33K or 47K type range, as this would tend to draw less current and require less drive.

    If you plan of clocking data at 33 MHz or higher over short distances you might consider 27R or 33R type range series resistor too, to stop ringing/reflections.

    The SDIO/SDMMC interface on the F4 has 6 designated pins, typically one would also use a GPIO and a switch on the socket for a card detect mechanism.

    Something like this could be directly wired.

    https://www.waveshare.com/micro-sd-storage-board.htm

    Graduate II
    November 9, 2023

    ok..thanks