当前位置:网站首页>SD卡介绍(基于SPEC3.0)
SD卡介绍(基于SPEC3.0)
2022-07-28 09:03:00 【菜鸡中的大菜鸡】
1.SD卡基本介绍(Secure Digital Memrory Card)
SD卡是基于MMC(MultiMedia卡)格式,是东芝在MMC卡上升级来的(所以,SD卡是支持MMC卡的协议的)。SD卡的右面通常有一个开关,即是防写入保护开关。一旦开启,此时SD的数据只能读取不能写入。这边不讨论SPI模式的情况
1.1 卡的特征
1.1.1 卡容量:
1) 标准容量卡(SDSC):不超于2GB
2) 高容量卡 (SDHC):大于2GB由不超过32GB
3) 扩展容量卡(SDXC):大于32GB又不超过2TB的卡
工作电压范围:2.7V~3.6V
1.1.2总线速率:(SDR-single Data Rate) DDR(Double Data Rate)
1) 默认速率模式:3.3V 信号,高达 25MHz,数据速率 12.5MB/S
2) 高速率模式:3.3V 信号,高达 50MHz,数据速率 25MB/S
3) SDR12:1.8V 信号,高达 25MHz,数据速率 12.5MB/S
4) SDR25:1.8V 信号,高达 50MHz,数据速率 25MB/S
5) SDR50:1.8V 信号,高达 100MHz,数据速率 50MB/S
6) SDR104:1.8V 信号,高达 208MHz,数据速率 104MB/S
7) DDR50:1.8V 信号,高达 50MHz,双时钟沿采样数据,数据速率 50MB/S
1.1.3 速度等级:
1 Class 0——没有什么特定性能
2 Class 2——速率大于等于 2M/S
3 Class 4——速率大于等于 4M/S
4 Class6——速率大于等于 6M/S
5 Class 10——速率大于等于 10M/S
SDHC 和 SDXC 卡都应该支持速率级别,且在 Class 2 以上。注意:在使用50MHz的系统时钟,单沿的时候,速率等级不能直接等于25M。因为会有命令,CRC等,这些都会降低数据的传输量。
1.2 总线协议
可以看到一共是
电源信号:VSS1,VSS2,VDD
CLK:Host给卡的时钟信号
CMD:双向信号的的命令/响应信号
数据线:4根双向数据信号
在Default speed,SD卡总线可以一主多从,但是对于高速和UHS_I,只能进行单个的主从(就是速度慢的时候可以多卡,快的时候只能单卡)。具体多卡的操作模式后面去提。
1.2.1 总线的协议
1.Command:具体的命令,这个是由HOST驱动的,给到卡。这个是通过CMD信号线串行方式传输
2.Response:响应是由卡给Host驱动,通过CMD信号线传输。
3.data:数据线
1.2.2 命令和数据传输
一般来说,所有的操作都是通过向卡发送命令和卡回复,进行数据操作的。
可以看到命令分为两种,一种是有RESponse,一种是没有RESponse,具体的命令和RESPONSE需要自己去看协议

数据传输也是通过命令进行传输,发出块传输命令(单块读写和多块读写),然后收到Response,进入数据传输模式。
数据块:数据块+crc来进行传输。注意:多块传输通过STOP命令来结束

Data在块写操作期间通过data0指示出busy形态。

边栏推荐
- What is it like to use gbase C API to execute stored procedures?
- Conditions and procedures of stock index futures account opening
- 数据泄漏、删除事件频发,企业应如何构建安全防线?
- Dn-detr paper accuracy, and analyze its model structure & 2022 CVPR paper
- Hexadecimal representation of negative numbers
- View的工作原理
- With frequent data leakage and deletion events, how should enterprises build a security defense line?
- 【AUTOSAR-RTE】-3-Runnable及其Task Mapping映射
- [multithreading] the underlying principle of println method
- [autosar-rte] - 3-runnable and its task mapping mapping
猜你喜欢

股指期货开户的条件和流程

final关键字和枚举类型
![[swintransformer source code reading II] window attention and shifted window attention](/img/fb/5273d87fed66c75a92aec8e94980a3.png)
[swintransformer source code reading II] window attention and shifted window attention

使用Xposed对软件进行破解

478-82(56、128、718、129)

MATLAB的实时编辑器

Alibaba cloud server setup and pagoda panel connection
![[Download] several tools for brute force cracking and dictionary generation are recommended](/img/c6/f4a9c566ff21a8e133a8a991108201.png)
[Download] several tools for brute force cracking and dictionary generation are recommended
![[solution] error in [eslint] eslint is not a constructor](/img/58/2ce1243d0085462af3ba6d3da0817d.png)
[solution] error in [eslint] eslint is not a constructor

MySQL中各类型文件详解
随机推荐
JDBC连接数据库
[Guangxi University] information sharing of postgraduate entrance examination and re examination
2.9.5 ext JS object type processing and convenient methods
MATLAB的实时编辑器
使用Xposed对软件进行破解
技术分享| 快对讲综合调度系统
21 day learning challenge - "AUTOSAR from introduction to mastery - practical part"
ARouter源码解析(三)
负数的十六进制表示
IJCAI 2022 | the latest overview of graph structure learning: research progress and future prospects
5 operators, expressions, and statements
IT行业数据与应用关系的变迁
Introduction to shardingsphere's concept of sub database and sub table (2)
使用 OpenSSL 创建ssl证书
数据泄漏、删除事件频发,企业应如何构建安全防线?
LeetCode(剑指 Offer)- 50. 第一个只出现一次的字符
MATLAB的符号运算
Changes in the relationship between data and application in IT industry
CakePHP 4.4.3 release, PHP rapid development framework
【多线程】long和double的非原子性协定