Any experience with the old Nokia microSD cards?
Manufacturer ID: 0X1OEM ID: PAProduct: S016BVersion: 4.5Serial number: 0X35C4B589Manufacturing date: 9/2005
Manufacturer ID: 0X3OEM ID: SDProduct: SE16GVersion: 8.0Serial number: 0X3752B221Manufacturing date: 10/2013cardSize: 15931.54 MB (MB = 1,000,000 bytes)flashEraseSize: 128 blockseraseSingleBlock: true
Manufacturer ID: 0X3OEM ID: SDProduct: SD01GVersion: 8.0Serial number: 0XFB5C4F70Manufacturing date: 12/2006cardSize: 1015.81 MB (MB = 1,000,000 bytes)flashEraseSize: 32 blockseraseSingleBlock: true
I want to emphasize again how important the data logging program is in terms of power use. The above traces are for the dataLogger example. Each record has the ASCII values of four analog pins in CSV format and records are logged at 5 Hz. Sync is called after each record so the above trace is repeated five times per second. Each SD access involves reading the current data block, updating the data block, writing the data block, reading the directory entry, updating the directory entry, and writing it back to the SD. I removed the sync() call and ran the example again. Now access to the SD will only happen when the 512 byte cache block is full.The size of a record is about 20 bytes so now the SD card is accessed about once every five seconds, not five times per second. Most accesses only involve a single block write.I estimate the method with sync uses over 50 times as much power. You could call sync every few seconds and save lots of power but still prevent loss of all but a few seconds of data.Here is a trace of a write to the old card with no sync. Note how much shorter the SD access is.The card draws about 20 ma for 1.5 ms once every 5000 ms. The average current will be close to the sleep current.Even the example with sync() only draws high current for about 4 ms every 200 ms so the average is not over a milliamp.