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.

TPS65987DDK: TPS65987DDH Standalone I2C Master & I/O programming with BQ25723

Part Number: TPS65987DDK
Other Parts Discussed in Thread: TPS65987, BQ25723, BQ25703, TPS65988DK

Hello,

I have some issue to charge my battery with TPS65987DDH and BQ25723RNSR working  together

The GPIO are cabled as follow:            

TPS65987 BQ25723
GPIO0 Prochot
GPIO1 CHRG_OK
GPIO2 SRC_EVT
GPIO3 EN_OTG
GPIO4 SNK_EVENT

My first question: Do you know what should i select on TPS application customization on I/O Config to configure it as above?

My second question, to configure the I2C i tried to follow the document Slvae18 because BQ25703 and BQ25723 have almost the same internal architecture. Do you know if i can follow the Slvae18 document to program I2C between TPS65987 & Bq25723 ? Or do you know what change should i make regarding the Slvae18 ?

I put my schematic as attachment if needed.

I can sweep I2C address and connect my PC to the devices, my issue is only on the programming above 

Thank you

Best regards

Alan1614.Schematic_Bidirectionnal USB_C Charger_2022-04-19.pdf

  • Hi,

    Our team member will get back to you as soon as possible.

    Regards.

  • Hi Alan,
    I have the TPS65987DDHRSHR and BQ25713BRSNT together and in the case that the main controller of the system is off, the TPS should configure the BQ.
    I don't have the Slvae18 ducument in front of me but I can explain what I did.
    I have set the I2C address of the slave under Port Settings - I2C Master Configuartions. (see picture 1) Then you have to activate "Show I2C Master Event Table" under Settigs. There you can set when and what should be written.
    I hope this helps you!

    Unfortunately you can only map the setting of registers to events and I don't know if you can add a delay between event and send. We have already used the product quite successfully but now and then it happens that the I2C communication does not work correctly, because probably the slave was not yet ready (I do not know it yet exactly).


    @Support: is it possible to send the I2C command more than once. So best 3 times with 1Hz.

    Best regards
    Milan 

  • Milan,

    The I2C events on the TPS65988DK  will not repeat on NAK.  They are single time fire and there is no delay between the event and the fire beyond the time the code takes to execute.

    The I2C event that you have defined will write the bytes in the following order to the slave address called out at index 1

    00 00 14 c0 ad a0 41.  The ordering frequently trips up customers because it is right to left instead of left to right.