打印

STM32勘误表的I2C部分的理解与疑问2

[复制链接]
2950|1
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
zhmili|  楼主 | 2010-3-20 19:23 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
2.9.3 Start cannot be generated after a misplaced Stop
Description
If a master generates a misplaced Stop on the bus (bus error), the peripheral cannot
generate a Start anymore.

Workarounds
In the I²C standard, it is allowed to send a Stop only at the end of the full byte (8 bits +
acknowledge), so this scenario is not allowed. Other derived protocols like CBUS allow it,
but they are not supported by the I²C peripheral.
A software workaround consists in asserting the software reset using the SWRST bit in the
I2C_CR1 control register
摘自 STM32F101xC/D/E and STM32F103xC/D/E Errata sheet  Doc ID 14732 Rev 7

理解:停止位 在8bit+ACK 之后是不允许的,否则将出错,软件的解决方法是置能I2C_CR1SWRST为,使软件复位
问题:怎么是a misplaced Stop
沙发
香水城| | 2010-3-20 20:30 | 只看该作者
a misplaced stop 就是位置错误的停止位。

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

32

主题

51

帖子

1

粉丝