SD card / SPI. Not going idle after writing a SINGLE_BLOCK


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2009
    Location
    South Wales (UK)
    Posts
    62

    Default SD card / SPI. Not going idle after writing a SINGLE_BLOCK

    Hi,

    I've been playing around with micro SD cards for a few months now. One thing I've noticed now that I've had help getting the CPU to run at minimum speed and properly go to sleep (thanks guys!) is that, when in a sleep after having just written a single block to the SD card (writes periodically), there is still up to 7 mA being taken by the SD card - I know this as if I pop the SD card during this period, the current drops right down to under a mA (sensors/PIC taking the rest). The SD doc's say the SD card should go into idle mode and draw about 100 uA automatically upon completion of a command from 'the master' so surely it should have done this AFTER A FEW SECONDS!? The routines work fine and write single blocks sequentially to the SD card so as far as I can tell, so a bit perplexed. Is there something special with the lines you have to do to ensure it knows the 'master' has released it? Have the DI/DO,DAT1/2/!CS pulled high with 50k resistors...

    Has anyone ever measured the current from an SD card inbetween block writes?

    Cheers

    Jimbo

  2. #2
    Join Date
    Sep 2009
    Location
    South Wales (UK)
    Posts
    62


    Did you find this post helpful? Yes | No

    Default Re: SD card / SPI. Not going idle after writing a SINGLE_BLOCK

    I'vefound that 1 gig cards will go to idle but 2 gig cards remain at ~7 mA!

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts