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

[复制链接]
 楼主| 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

粉丝
快速回复 在线客服 返回列表 返回顶部

32

主题

51

帖子

1

粉丝
快速回复 在线客服 返回列表 返回顶部