Electronic – SD card speed class specifies “minimum sequential write speed” but not the “maximum sequential write speed”, why

sdspecifications

A speed rating for any memory device is usually how fast it can work. However, the speed class of SD cards actually specifies the "minimum sequential write speed". Please see here for evidence under "SD Speed Class".

  1. Shouldn't speed rating be about the maximum rate at which we can write to a memory?

  2. Also, since the SD card speed class is about the lower bound, does that mean that if we write to it at a slower rate, the card will not function and the data shall become corrupt?

Finally, what exactly is the minimum data rate for SPI mode? The "SD Specifications Part 1 Physical Layer Simplified Specification Version 2.00 September 25, 2006" section 7.2.15 "Speed Class Specification" states:

As opposed to SD mode, the card cannot guarantee its Speed Class. In
SPI mode, host shall treat the card as Class 0 no matter what Class is
indicated in SD Status.

  1. This implies that the minimum rate at which we need to read/write the card in SPI mode is actually 0 MB/sec? This implies that when using the SPI bus, the actual speed class of the card does not matter? But is this really the case?

  2. As far as I am aware, after SD card power up, when we want to enter the SPI mode, we communicate with the card using a very low clock frequency which is in range of a few 100KHz at most. Is this true for SD card of any speed class?

Best Answer

To be considered to meet the requirements of the relevant class the card must support writing at a given minimum speed (eg. 6MB/s for class 6). If they are faster, that is okay. It's like saying you must have a minimum income of $150K to qualify for this credit card, if you have more that's okay.

Class 0 is not rated under this system so you would have to check the manufacturer's specifications if you want to use SPI.

And you should not necessarily expect that the average write rate of the card means that you can write every byte at that rate. You may have to have a sizable buffer to account for the card going off on its own from time to time.