将SD/MMC卡置于SPI模式时,CS可以在字节之间变高吗?
我有一个微处理器,卡的片选 (CS
) 线连接到由 SPI (SSP) 电路自动驱动的“帧”信号。这会导致 CS
在每个字节之间变高。
MMC/SD 规范要求将 CS
保持为低电平才能进入 SPI 模式。是否需要始终保持低电平,或者仅在传输 CMD0
的每个字节时保持低电平?
I have a microprocessor with the card's chip select (CS
) line tied to a 'frame' signal automatically driven by the SPI (SSP) circuit. This causes CS
to go high between each byte.
The MMC/SD specs require that CS
be held low in order to enter SPI mode. Does it need to be held low the entire time, or only when transmitting each byte of CMD0
?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 sdcard.org 网站上,我找到了 SDIO 的各种 PDF 规范。这些似乎都没有明确的时间声明来澄清这一点。然而,这种说法确实发生了:
来自 SD 主机控制器简化规范版本 2.00 第 88 页。 (“Pin 1”是芯片选择 (
CS
))鉴于这句话,SD 卡制造商有理由要求您通过整个
D0 断言
位正在发送。换句话说,我认为您不能使用 SPI 帧信号,并且需要 GPIO 引脚或类似的引脚。CS
..D15At the sdcard.org site, I found various PDF specifications for SDIO. None of these seem to have an explicit timing statement which clarifies this. However, this statement does occur:
from page 88 of SD Host Controller Simplified Specification Version 2.00. ("Pin 1" is Chip Select (
CS
))Given that sentence, an SD card manufacturer would be justified in requiring that you assert
CS
through the entireD0..D15
bits being sent. In other words, I think you cannot use the SPI frame signal and will need a GPIO pin or similar.