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: Register inconsistency between datasheet and configuration tool

Part Number: TPS65987D
Other Parts Discussed in Thread: BQ25703A, , TPS65988, BQ25713, BQ25703

Hi,

Recently, I started using TPS6598x application customization tool (V6.1.1) to configure TPS65987D EVM board, and want to connect the board to BQ25703A EVM board. (Similar as TIDA-01627) I manually soldered jumper wire from R9 & R11 on TPS65987EVM (they were DNP-ed) to SCL/SDA on BQ25703A.
The R9 & R11 are connected to I2C3 of TPS65987D chip. Then I soldered a jumper wire from PP_HV1 of TPS65987D EVM board, then connect it to BQ25703A EVM board. Finally, I followed the SLVAE18 (Using I2C Master in TPS65987D and TPS65988 PD
Controllers), try to get the similar result. However, it does not work.

When I configured the TPS65987D I2C Master, the GUI shows that Slave 1 configuration bit position and register length are different than SLVUBH2B (TPS65987DDH and TPS65988DH Host Interface
Technical Reference Manual) writting. In SLVUBH2B P90 3.43, it has SlaveEnable field and SlaveAddr is at 7:1 of byte1 but the GUI indicate address is 0:6; And the length of register is 20 in GUI but 16 in SLVUBH2B.

And, I found that maybe a typo on the datasheet of bq25703A. "The I2C address is D6H (1101101_X)", bq25703A p31, 8.5 Programming. Based on its brother device BQ25713, I think this address should be 6B (bq25713, P4, 6 Device Comparison Table; ). I assume 1101011_X should be the corrent binary form of the BQ25703. Since 6B = 01101011, D6 = 11010110, they can be considered as same due to 7-bit address combined with r/w bit.

Could you please provide a configuration binary or project file of the configuration tool? I just wondering how can achieve this.
Attached is my project file. I really appreciated if you can point out where I was wrong.

  new_two-evm-test-adv.pjt

  • Hello,

    Thanks for sharing this discrepancy, will share this with our GUI expert. For the mean time, recommend populating the fields as shown in the GUI, even if they don't exactly line up with the technical reference manual.

    Attached is the project file used for the Power Bank reference design. You can import these settings into your project to use as a reference. You will need to open an existing project, and then click Project -> Import settings from project.

    4645.88DH Power Bank.pjt 

    As far as the addressing, yes 0x6b should be the correct address to use

  • Thanks for the quick reply! I will try it out.

  • Hi, After I import your project into the tool, I found further problem/bugs:

    Since I wired BQ25703A onto I2C3, I have to change I2C master related registers. And I fond something may wrong there.

    1st, after I check the raw view of register 0x5C, I fond that GUI set additional bits that are reserved in the reference manual (P75, 3.36.1 GPIO Multiplexor). Please refer to this picture:

    I am trying to hardwire I2C1 out to test whether I2C3 have some defect...

  • Just follow up. Today, I hardwired I2C1 out and connect it to BQ25703A. Either the project template from you and my project (modified to I2C1) are work fine.

    I am wondering whether my EVM board is broken or GPIO configuration part of the tool has some bug.

    Thanks for your project template.

    I believe this change temporarily solved my problem. However, I still looking forward to seeing the future update of the GUI tool and reference manuals.