2018-10-16 09:48 AM
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.
Solved! Go to Solution.
2018-10-17 09:19 AM
the timeout hypothesis was not correct, it was a debugger error.
2018-10-17 10:13 AM
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 :)
2018-10-17 10:13 AM
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 :)
2018-10-17 12:23 PM
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