TPS65987D#

1. I2C Master配置#

1.1 配置I2C1 和 I2C2为Maste#

"Global System Configuration" tab

1.2 配置每个I2C接口#

"I2C Master Configuration" tab

在I2C Master Configuration选项卡中,配置I2C从设备(比如电池管理IC)的地址和连接到的TPS65987D的那个I2C端口。

因为TPS65987D有两个I2C Master接口,所以我们可以通过下拉菜单去选择使用哪一个I2C Master接口。

只需要配置你需要的即可,剩下不需要的就保持默认设置(Slave I2C地址为0x0)

1.3 配置那个事件会触发那个I2C Master接口,发送出什么数据#

"Settings" --> "Show I2C Master Events Table"

In this table theRecord Index 0 is reserved for Country Code and the remaining 49 records can be used by the userfor his application.

  • Slave Address Index

TPS65987D有两个I2C Master接口,这里写0就是指的第一个I2C Master接口,写1就是指的第二个I2C Master接口。

两个I2C Master 接口,可在 "I2C Master Configuration" tab 中查看

Data: Values filled here goes out to the I2C slave. This value is always entered in hex and the rightmost bytes goes out first

2. GPIO Event#