Content originally posted in LPCWare by ktownsend on Thu Dec 22 03:50:04 MST 2011
Rob:
There is still a problem with the SD card interface on the board. Having the FET on VCC made a big difference, but I found that the SD card was still drawing current through the SPI lines when I put it in deep sleep mode (I think a couple hundred uA). The solution was to switch the SPI pins to GPIO and low (which you should probably do anyway) before entering deep sleep, but a HW solution might have been cleaner from a firmware point of view.
If I redesigned those boards again I'd gate off the SPI pins as well.
Obviously it depends on what you want though ... you can have a smaller PCB doing it in SW, or easier wakeup/sleep code doing it in HW (at the expense of an extra $0.50 in parts and more PCB space).
But to get back to the original question ... hooking up an SD card is super-simple ... just four lines and probably a pullup on the select pin, plus power. The SW is where all the work is in this case.
Kevin