Skip to main content
Julien Bouille
Associate II
October 16, 2018
Solved

STM32 SDIO conflict with debuger opperations

  • October 16, 2018
  • 23 replies
  • 4084 views

Hi everybody,

i m facing issues interfacing High Speed SD memory cards.

With low speed type SD card everything look to work well. But when i use fast cards, i got error reads.

The thing is that only appen if the debug is running. Without the debuger attached to my board no problemes appen when using High speed sd cards.

Any one understand what could make the debugger interfer with the application ? Is there somekind of blocking events or interrupt or clock instability because of it that could make the sd card crash ?

tanks.

    This topic has been closed for replies.
    Best answer by Julien Bouille

    Probleme solved:

    The clock signal was a bit dirty. I added a filter at the end of the clock signal

    100ohm in series with 100pF connected to 3V3.

    It work now like a charm.

    Tanks you for helping :)

    23 replies

    Julien Bouille
    Associate II
    October 17, 2018

    Probleme solved:

    The clock signal was a bit dirty. I added a filter at the end of the clock signal

    100ohm in series with 100pF connected to 3V3.

    It work now like a charm.

    Tanks you for helping :)

    Julien Bouille
    Julien BouilleAuthorBest answer
    Associate II
    October 17, 2018

    Probleme solved:

    The clock signal was a bit dirty. I added a filter at the end of the clock signal

    100ohm in series with 100pF connected to 3V3.

    It work now like a charm.

    Tanks you for helping :)

    Tesla DeLorean
    Guru
    October 17, 2018

    You can perhaps also dial back the energy dumped into the pin

     /* Common GPIO configuration */

     gpio_init_structure.Mode     = GPIO_MODE_AF_PP;

     gpio_init_structure.Pull     = GPIO_PULLUP;

     gpio_init_structure.Speed    = GPIO_SPEED_HIGH; // <<<< SLEW RATE

     gpio_init_structure.Alternate = GPIO_AF12_SDIO;

    Designs using eMMC typically put a 33R series resistor on the signal lines

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..