找回密码
 立即注册

QQ登录

只需一步,快速开始

打印 上一主题 下一主题
开启左侧

[NUC] 請教I2C reset

[复制链接]
楼主
CHLIN55 发表于 2015-10-13 14:04:52 | 显示全部楼层
技術手冊上有提到status 0x00的時候如何排除:
To recover I2C from bus error, STO should be set and SI should be clear to enter not addressed Slave mode. Then STO is cleared to release bus and to wait new communication. I2C bus cannot recognize stop condition during this action when bus error occurs.
回复 支持 反对

使用道具 举报

沙发
CHLIN55 发表于 2015-10-14 09:22:34 | 显示全部楼层
試試看下面步驟:
1. 先下STOP (STA,STO,SI,AA)=(0,1,1,x)
2. 然後release bus (STA,STO,SI,AA)=(0,0,1,X)
3. 再重新下START(STA,STO,SI,AA)=(1,0,1,X)
回复 支持 反对

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

新唐MCU