1 / 40
文档名称:

SPI总线协议.docx

格式:docx   大小:1,301KB   页数:40页
下载后只包含 1 个 DOCX 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

SPI总线协议.docx

上传人:小辰GG 2021/6/4 文件大小:1.27 MB

下载得到文件列表

SPI总线协议.docx

相关文档

文档介绍

文档介绍:SD卡规格书第五章 SPI总线协议
译者注:
SanDisk Secure Digital Card
Product Manual
Version
Document No* 80-13-00169
September 2004
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
SPI总线协议目录
SPI总线协议 模式选择 总线传送保护 数据的读取 数据写入 擦除和写保护处理 读取CID/CSD寄存器 复位顺序 时钟控制 错误条件 CRC和无效指令 读取、写入和擦除的超时情形 存储器阵列分布 卡的锁定/解锁 特殊用途的命令集 版权保护命令集
SPI命令设置 命令格式 命令类 详细的命令描述 应答
R1的格式
R1b的格式
R2的格式
R3的格式 数据应答 数据标记 数据错误标记 清除状态位 卡寄存器 SPI总线时序图解 命令/应答 数据读取 数据写入 时钟数值 SPI电气接口 SPI总线操作条件(环境) 总线时钟
y
附录:
HHi英文特殊命令表 英文通用命令表 存储器阵列图
产品规格表
主控制器设计参考(简介,无实际内容)
SPI Bus Protocol
SPI总线协议
While the SD Card channel is based on command and data bit-streams, which are initiated by a start bit and terminated by a stop bit, the SPI channel is byte oriented. Every command or data block is built of eight bit bytes and is byte aligned (multiples of eight clocks) to the CS signal.
当SD卡通道是基于命令和数据位流模式上时,通常是开始于一个“起始位”和终止于一个“停止位” ,这个
SPI通道是用字节作为单位的。CS信号上的每个命令或数据块都是 8bit的字节和字节队列(就是8个时钟的倍数)
Similar to the SD Bus protocol, the SPI messages are built from command, response and data-block tokens. All communication between host and cards is controlled by the host (master). The host starts every bus transaction by asserting the CS signal low.
相似SD总线模式,这个SPI信息是建立在命令、应答和数据块标记上的。所有的主控制器和 讯都是受控于主控制器。而主控制器的每次总线处理都是从拉低 CS的信号电平开始的。
The response behavior in SPI Bus mode differs from the SD Bus mode in the following three ways:
*
SD卡之间的通
£
s.-.-. 〔
fl-.-.-. ..:::■
The selected card always responds to the command.
An eight or 16-bit response structure is used.
When the card encounters a data retrieval problem, it will respond with an error response (which replaces the expected data block) rath