Arduino Forum

Using Arduino => Storage => Topic started by: TLAS on Dec 15, 2018, 07:27 pm

Title: (Solved) microSD circuit not working - looking for ideas / tests
Post by: TLAS on Dec 15, 2018, 07:27 pm
Hello Everyone,

I'm having an interesting problem with a microSD card circuit (custom pcb) and could use some help and / or additional troubleshooting ideas.

Here's the circuit (I know the pull-ups are probably unnecessary):

(https://bn1304files.storage.live.com/y4pIifSBZyGGzr9llGDa4_SxX2EJX4rmfbKSgOF1qyncjW92ITnmohZEdCCaJu5AKcHjvxSF6oWt_FQmX5hXWf10NAcXc4U8mgEjwQZ884YoRZzNbhCkUgq_G2VPhIxMX0ajYasKeyokwzZ4RUAEIWC8KMHo9ybLCKeeLO9q8ykUeCUVmj-SJWZ5S1BiZAQYPY9/SD_Circuit.PNG?psid=1&width=943&height=595)


For some reason, I'm unable to get the card to initialize on that circuit.  It fails here:
if (!SD.begin(CARD_CS)) {
     // we had some kind of error...
}


I also bought an adafruit SD breakout board, and when I hook it up to the same pins (mostly through an ISP header I use for programming), it works just fine.  That board is here: 

https://www.adafruit.com/product/254

The biggest difference I can see is the level-shifter.  I'm running directly on a 3.3V supply from an Arduino Due and have verified the voltage from Atmel Studio.

Am I missing something obvious?  I've resoldered the microSD port once, and am about to replace it with a new one.

Title: Re: microSD circuit not working - looking for ideas / tests
Post by: TLAS on Dec 15, 2018, 07:45 pm
Resoldered a new socket on - still not working.  No shorts between any of the pins.  Also, the old microSD socket looks in good order.
Title: Re: microSD circuit not working - looking for ideas / tests
Post by: TLAS on Dec 15, 2018, 08:10 pm


solved it...

...

wasn't using enough solder on the socket SD pin pads and one of them pulled up and was disconnected.


I am apparently terrible at soldering...