TI中文支持网
TI专业的中文技术问题搜集分享网站

TPS65987D set GPIO Configuration Register 0x5C via I2C take no effect

We are using TPS65987D in our power bank project, now we meet some difficulties in config PD’s GPIO to trouble you,

please give us some help on these issues, thanks for your time!

 

Background:

Our TPS65987D chip designed without SPI EEPROM, so we only use I2C interface to initialize TPS65987D.

Issues:

(1)    We decided to config GPIOs as follows

GPIO_0:    PD_SINK_1 (5V/3A)

GPIO_12:  PD_SINK_2 (9V/2A)

GPIO_20:  PD_SOURCE_1 (5V/3A)

GPIO_21:  PD_SOURCE_2 (9V/2A)

 

But GPIO configuration register 0X5C is a RO register, so we can’t config it via i2c interface both in our board and in TPS65987EVM board,

How can we config these GPIOs without SPI EEPROM for TPS65987D?

 

 

(2)    Below GPIO Events are listed in “SLVUBH2B July 2018–Revised September 2018 (TPS65987DDH and TPS65988DH Host Interface Technical Reference Manual)

andSLVAE11–August 2018 (TPS65987D GPIO Events),

But they are not found in “TPS65981_2_6_7_8 Application Customization 5.1”->”I/O Config” page.

 

 

 

Johnsin Tao:

Hi设置没有写进去,建议看时序。

user5965782:

回复 Johnsin Tao:

对于可读可写的寄存器,我们的读写函数都是正确的,写什么读出来也是什么

但是对于OX5C寄存器,这个READ ONLY的,读写也可以返回正确I2C 状态值,但是从0X72来看GPIO的实际状态,并没有切换到我们需要的状态

赞(0)
未经允许不得转载:TI中文支持网 » TPS65987D set GPIO Configuration Register 0x5C via I2C take no effect
分享到: 更多 (0)