This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

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

Part Number: TPS65987D


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)

and SLVAE11–August 2018 (TPS65987D GPIO Events),

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

  • Hello Carson,

    For your first question, if you have a central EC within your system, but do not utilize a SPI, you will need to update the patch for the PD controller via your EC. You will need to create your configuration file, generate a low region binary image from the configuration file, and upload this image onto your EC. Here is an app note to help you go through this procedure.

    For your second question, this should be fixed within our next configuration tool release which should occur any day now. I recommend regularly checking the download page for the configuration tool to see when the latest version is released.

    Hope this answers your question. If so, please click THIS RESOLVED MY ISSUE

  • our EC is only 16KB ROM /2KB RAM, so we need reply for chip with larger ROM, is patch bundle need 16KB at least?
  • Yes, for the TPS65987D, the maximum patch bundle is 16kB, so you will need to allocate this room within your EC if you are wanting to have the EC update the configuration for the TPS65987D