0
\$\begingroup\$

I have a project at the moment that uses a PMOSFET to switch the supply to an SD card. According to the SanDisk SD datasheet available here:

Because there are clamping diodes on the CMD, CLK, and DAT0-3 pins, it is crucial to ensure that CLK, CMD, and DAT0-3 are at zero (0) volts during the delay and before the FET switch is turned on. If any I/O pin, (CMD, CLK, or DAT0-3) goes above zero volts during the delay and before power reaches the card VDD pin, it will forward bias the clamping diodes and can cause the card to go into an unknown state.

The card is connected to the SPI bus of the board which has several other devices using the bus. Since forcing the entire bus low indefinitely is out of the question, how would I isolate the IO pins of the SD card from the bus while it is switched off?

I am also considering switching the SD card supply rail over to an auxiliary LDO so it is no longer attached to the main supply (but I wouldn't imagine this making a difference to the answer).

\$\endgroup\$
  • 1
    \$\begingroup\$ You would ideally put on the card on a unique bus with signals you can take low. Sharing may cause additional issues as cards are not quite SPI, but for the power issue you would need some kind of switch to deactivate the segment. \$\endgroup\$ – Chris Stratton Apr 23 at 7:12
  • 1
    \$\begingroup\$ In the past, I have used analog switches such as this: analog.com/en/products/adg711.html \$\endgroup\$ – Peter Smith Apr 23 at 8:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.