This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

fatfs example - sd card current draw

I am using the fatfs example in SDK 15.3 and I need to implement an energy saving mode for a use case when the sd-card is inserted but not needed. In a first step I'm cutting off the 3,3 V sd-card supply using a Transistor and a gpio pin. But as I can see in this case there are still some current draws to the sd-card at the SPI-Pins as SPI was already initialized and CS, MOSI and MISO are high in the idle state.

Is there a possibility to drive CS, MOSI and MISO low manually after entereing the energy saving state and to re-initialize them when leaving the energy saving mode?

Related