2024年4月13日发(作者:惠明知)
RDA5830 编程指南v2.0
The information contained herein is the exclusive property of RDA and shall not be distributed, reproduced, or disclosed in whole or in
part without prior written permission of RDA.
1
I2C接口
将MODE引脚接低电平,即进入I2C接口模式。
RDA5830的I2C接口与I2C-Bus Specification 2.1兼容,包含2个信号:SCLK和SDIO。
I2C接口是由START,命令字节,数据字节,及每个字节后的ACK或NACK比特,和STOP
组成。命令字节包括一个7比特的chip地址(0010001b)和一个读写r/
w
命令比特。ACK
(或NACK)由接收器发出。
RDA5830的I2C接口格式如下:
图 10 复合格式i2c写格式
图 11 复合格式i2c读格式
From master to slave
From slave to master
A = acknowledge (SDA LOW)
NA = not acknowledge (SDA HIGH)
S = START condition
P = STOP condition
图 1 I2C接口写数据时序
The information contained herein is the exclusive property of RDA and shall not be distributed, reproduced, or disclosed in whole or in
part without prior written permission of RDA.
2
2024年4月13日发(作者:惠明知)
RDA5830 编程指南v2.0
The information contained herein is the exclusive property of RDA and shall not be distributed, reproduced, or disclosed in whole or in
part without prior written permission of RDA.
1
I2C接口
将MODE引脚接低电平,即进入I2C接口模式。
RDA5830的I2C接口与I2C-Bus Specification 2.1兼容,包含2个信号:SCLK和SDIO。
I2C接口是由START,命令字节,数据字节,及每个字节后的ACK或NACK比特,和STOP
组成。命令字节包括一个7比特的chip地址(0010001b)和一个读写r/
w
命令比特。ACK
(或NACK)由接收器发出。
RDA5830的I2C接口格式如下:
图 10 复合格式i2c写格式
图 11 复合格式i2c读格式
From master to slave
From slave to master
A = acknowledge (SDA LOW)
NA = not acknowledge (SDA HIGH)
S = START condition
P = STOP condition
图 1 I2C接口写数据时序
The information contained herein is the exclusive property of RDA and shall not be distributed, reproduced, or disclosed in whole or in
part without prior written permission of RDA.
2