没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
IP5326 寄存器说明文档
service@injoinic.com 1 / 7 V1.00
IP5326 寄存器说明文档
1 I2C 协议
The i2c speed support 300Kbps.Support 8 bit address width and 8bit data width. Transmit and receive MSB
first. The default slave address is 0Xea。
I2C acts as slave and is controlled by the master. The SCK line of the I2C interface is driven by the master.
The SDA line could be pulled up to VCC by a 2.2Kohm resister and pulled
down by either the master or the slave.A typical WRITE sequence for writing 8bits data to a register is
shown in below figure. A start bit isgiven by the master, followed by the slave address, register address and
8-bit data. After each 8-bit address or data transfer, the IP5326 gives an ACK bit. The master stops writing by
sending a stop bit.
All 8 bits data must be written before the register is updated.
Example: Write 8bit data 0x5a to register 0x05, and the slave address is 0Xea
Note:Sack generated by Slave, Mack generated by Master, and Mnack is a NACK generated by Master
Figure1 I2C WRITE
A typical READ sequence is shown in below figure. First the master has to write the slave address,followed
by the register address. Then a restart bit and the slave address specify that a READ is generated. The master
then clocks out 8 bits at a time to read data.
Example: Read 8bit data 0x5A from register 0x05, and the slave address is 0Xea
Figure2 I2C Read
SCLK
SDA
Start
sACK
Slave address 0xEA
sACK
Register address 0x05
sACK
Data 0x5A
Stop
SCLK
SDA
Start
sACK
Slave address 0xEA
sACK
Register address 0x05
mNACK
Data 0x5A
Stop
Restart
sACK
Slave address 0xEB
资源评论
Eric2035
- 粉丝: 1
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功