SD card advice.
Good morning!
I've been messing with SD cards on my prop boards and I've seen examples with and without pull-up resistors.
I'm using it w/o the resistors (one board is a sparkfun break-out board, the other is an old floppy cable with a SD card crammed into it) and I'm having intermittent reliability issues (roughly one in 100 times when I power up I can't mount the SD card)... before I dig into my rat nest board, could the lack of pull-ups be the cause of this?
Thanks for any help y'all can give. Also, what's the recommend value for the pull-ups and how is that value determined (it's all magic to me).
-b2d
I've been messing with SD cards on my prop boards and I've seen examples with and without pull-up resistors.
I'm using it w/o the resistors (one board is a sparkfun break-out board, the other is an old floppy cable with a SD card crammed into it) and I'm having intermittent reliability issues (roughly one in 100 times when I power up I can't mount the SD card)... before I dig into my rat nest board, could the lack of pull-ups be the cause of this?
Thanks for any help y'all can give. Also, what's the recommend value for the pull-ups and how is that value determined (it's all magic to me).
-b2d
Comments
I agree that a bypass capacitor needs to be placed across SD socket power pins. The signals on clock and data lines are quite fast, so the connecting wires cannot be too long or have characteristics that slow down the signals. I'm raising a flag next to the "old floppy cable with a SD card crammed into it".
The card itself will almost always have an internal pullup present on its chip select line. Thus, your program can test that line to see if a card is present. But the SD card will hardly ever have internal pullups on the other signal lines.
The value of the pull up resistor is really not important. A higher value for it reduces power consumption, while a lower value for it makes the line switch faster. 10K seems to be a good place.
Since the FATEngine does not open drain the CLK or DI lines the pull up resistor value is even less important as the prop chip will actively drive these I/O lines.
Thanks,