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.

TPS25751: High leakage current issue with BQ25792 charger IC

Part Number: TPS25751
Other Parts Discussed in Thread: BQ25792, BQ25798EVM

Tool/software:

Hello Chris:

Thank you for your time. 

1. Here are the JSON from TI to fix the pre-charge threshold, and the BIN generated from this JSON.

Trimble_TPS25751_PreCharge fix.zip

2. Here is the BIN file I generated, with pre-charge issue, but low leakage.

TPS25751 config prelim 07-30-24.zip

3. Here is the I2C_capture between TPS25751 to BQ25792, before the pre-charge voltage threshold update

 I2C_capture_PDtochg.zip

We will try to get the I2C log between the TPS25751 and BQ25792 with the new BIN file, and share with you ASAP.

Thanks!

Chen

  • Hello Chris:

    I forgot a request, if the TPS25751 can block all legacy USB port? If so, our MCU doesn't need to get involved to make the decision.

    Thanks!

    Chen

  • Hi Chen,

    Thanks for the update.

    I actually found the old thread with the json, https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1354773/tps25750-leakage-current-issue/5321033?tisearch=e2e-sitesearch&keymatch=chen%20jia#5321033, unfortunately the json is not enough and I don't know what GUI this corresponds to because we did not sign the jsons with the GUI version at this time.

    The I2C log of the new bin file will be pretty important.

    What do you mean by block all USB port? We can disable BC1.2, but for type-C default, we need to negotiate these in order to enter PD.

    Thanks and Regards,

    Chris

  • Hello Chirs:

    Thanks for you prompt reply! 

    I already re-generated the BIN on the newest GUI (1.02) and we will test it. Also the I2C log will be shared ASAP.

    "Block all legacy USB port", means anything not compatible with PD will not charge the battery. Do you think it is possible? I know in the TPS25751 IC, the status register have a bit for PD compatibility. So if this bit is 0, just block the charging. It sounds reasonable but not sure if TPS25751 can do it.

    Thanks.

    Chen

  • Hi Chen,

    Is there any reason why you want PD only? And are against USB-C Default? I don't think there is a way to block everything but PD. There is a setting to block based on power level, but that could include some PD contracts.

    Thanks and Regards,

    Chris

  • Hello Chris:

    Thanks for your reply. Actually we just want to block all the legacy USB port, like BC1.2 and something even older, 5V 500mA. USB-Type C and USB PD should be supported. Is TPS IC capable for this?

    Regarding to the I2C communication between TPS and BQ25792, how long should the data get logged? During the initiation, during charging, and after charging removed? I will try to get all the data which may help.

    Thanks!

    Chen

  • Chen,

    If I understand correctly,

    • Block: Legacy, BC1.2
    • Allow: USB-C, USB-PD

    Technically, legacy usb ports will use a usb-A to USB-C cable that converts the connection to appear like a USB-C cable so we can support these.

    To do this, just disable BC1.2.

    Regarding to the I2C communication between TPS and BQ25792, how long should the data get logged? During the initiation, during charging, and after charging removed? I will try to get all the data which may help.

    Include start up and end the capture when you notice that the quiescent current is too high. I need to see what writes lead up to the high quiescent current. When you stop the log, the BQ should be drawing the excess current.

    Let me know if you need more clarification here.

    Thanks and Regards,

    Chris

  • Hello Chris:

    Here is the I2C log file of the Pre-Charge current fixed BIN.

    U80630R01 Intiation and Pre-Charging I2C (BIN Trimble PreCharge Retest 04-01-2025).zip

    I also generated the BIN again with the newest GUI, but the result looks the same: 200uA when Battery Voltage under 9.1V; 1.5mA when > 9.1V.

    The I2C configuration only happened during initiation based on our observation.

    Thanks!

    Chen

  • Thanks,

    Just to confirm:

     I2C_capture_PDtochg.zip With this capture, the quiescent current is fine.

    U80630R01 Intiation and Pre-Charging I2C (BIN Trimble PreCharge Retest 04-01-2025).zip With this capture, the BQ current is too high.

    Thanks and Regards,

    Chris

  • Hello Chris:

    Yes, that is correct. Thanks!

    Chen

  • Hi Chen,

    Please try these:

    The latest config was enabling the ADCs on the BQ device which tend to draw more power.

    I would highly recommend downloading a local copy of the GUI you are using if you have a stable .json.

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/196/Trimble_5F00_TPS25751_5F00_BQ25792_5F00_PreCharge_5F00_Current_5F00_Update_5F00_Iq.bin

    {
      "questionnaire": {
        "device": "TPS25751",
        "toolBuildVersion": "0.7.3",
        "answers": [
          null,
          4,
          4,
          3,
          1,
          0,
          3,
          0,
          1,
          1,
          1,
          0,
          0,
          0,
          12.6,
          2,
          0.2,
          0.12,
          0
        ],
        "vendorId": "0000",
        "productId": "0000",
        "version": "1.0.0.2"
      },
      "configuration": {
        "data": {
          "selected_ace": [
            {
              "register": 6,
              "data": [
                0,
                0,
                0,
                0,
                1,
                0,
                0,
                0
              ]
            },
            {
              "register": 22,
              "data": [
                0,
                0,
                0,
                4,
                0,
                0,
                0,
                0,
                0,
                0,
                3
              ]
            },
            {
              "register": 23,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                2
              ]
            },
            {
              "register": 31,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 32,
              "data": [
                0,
                0
              ]
            },
            {
              "register": 35,
              "data": [
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 37,
              "data": [
                0
              ]
            },
            {
              "register": 39,
              "data": [
                4,
                8,
                18,
                0,
                28,
                7,
                0,
                0,
                80,
                81,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 40,
              "data": [
                0,
                0,
                46,
                1,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                3
              ]
            },
            {
              "register": 41,
              "data": [
                50,
                80,
                145,
                0
              ]
            },
            {
              "register": 43,
              "data": [
                64,
                0,
                0,
                0,
                2,
                0,
                0,
                0
              ]
            },
            {
              "register": 50,
              "data": [
                0,
                170,
                42,
                44,
                145,
                1,
                32,
                44,
                209,
                2,
                0,
                44,
                177,
                4,
                0,
                244,
                65,
                6,
                0,
                244,
                65,
                6,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 51,
              "data": [
                5,
                44,
                145,
                1,
                16,
                200,
                208,
                2,
                0,
                200,
                192,
                3,
                0,
                200,
                176,
                4,
                0,
                200,
                64,
                6,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 55,
              "data": [
                59,
                192,
                18,
                65,
                144,
                145,
                1,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 60,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 61,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 66,
              "data": [
                26,
                0,
                8,
                0
              ]
            },
            {
              "register": 67,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 71,
              "data": [
                3,
                81,
                4,
                64,
                0,
                81,
                4,
                0,
                0,
                17,
                9,
                0,
                0,
                0,
                0,
                0,
                101,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                67,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 74,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 81,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 82,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 85,
              "data": [
                24,
                0,
                0,
                0
              ]
            },
            {
              "register": 86,
              "data": [
                2,
                0
              ]
            },
            {
              "register": 92,
              "data": [
                12,
                12,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                4,
                0,
                0,
                0,
                4,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                4,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 93,
              "data": [
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 98,
              "data": [
                0,
                0,
                1,
                42,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 100,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                107
              ]
            },
            {
              "register": 108,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 111,
              "data": [
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 112,
              "data": [
                5
              ]
            },
            {
              "register": 115,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 117,
              "data": [
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 119,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                127,
                0
              ]
            },
            {
              "register": 120,
              "data": [
                0,
                0,
                0,
                128
              ]
            },
            {
              "register": 121,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 122,
              "data": [
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 123,
              "data": [
                0,
                2,
                255,
                255,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 125,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 126,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 128,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 149,
              "data": [
                16,
                39,
                0,
                0,
                128,
                185,
                42,
                0,
                64,
                156,
                0,
                0,
                0,
                0,
                0,
                0,
                16,
                11,
                8,
                7,
                1,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                47,
                155,
                1,
                0,
                16,
                39,
                0,
                0,
                8,
                16,
                8,
                9,
                1,
                0,
                1,
                0,
                59,
                2,
                255,
                255,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 151,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 152,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            }
          ],
          "bin_table": [
            {
              "rights": 0,
              "register": 0,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 1,
              "data": [
                123,
                98,
                1,
                16,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 2,
              "data": [
                123,
                98,
                1,
                20,
                28
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 3,
              "data": [
                123,
                98,
                1,
                17,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 4,
              "data": [
                123,
                98,
                1,
                18,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 5,
              "data": [
                123,
                98,
                1,
                8,
                195
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 6,
              "data": [
                123,
                98,
                1,
                9,
                5
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 7,
              "data": [
                123,
                99,
                1,
                1,
                4,
                236
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 8,
              "data": [
                123,
                99,
                1,
                3,
                0,
                200
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 9,
              "data": [
                123,
                98,
                1,
                15,
                134
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 10,
              "data": [
                25,
                98,
                1,
                46,
                128
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 11,
              "data": [
                123,
                99,
                1,
                11,
                0,
                234
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 12,
              "data": [
                123,
                98,
                1,
                13,
                23
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 13,
              "data": [
                127,
                99,
                1,
                11,
                7,
                255
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 14,
              "data": [
                130,
                98,
                1,
                13,
                127
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 15,
              "data": [
                145,
                98,
                1,
                15,
                130
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 16,
              "data": [
                128,
                98,
                1,
                18,
                64
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 17,
              "data": [
                144,
                98,
                1,
                18,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 18,
              "data": [
                148,
                98,
                1,
                5,
                255
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 19,
              "data": [
                147,
                99,
                1,
                6,
                1,
                255
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 20,
              "data": [
                146,
                99,
                1,
                1,
                4,
                236
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 21,
              "data": [
                146,
                99,
                1,
                3,
                0,
                200
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 22,
              "data": [
                146,
                98,
                1,
                9,
                5
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 23,
              "data": [
                146,
                98,
                1,
                8,
                195
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 24,
              "data": [
                149,
                98,
                1,
                15,
                162
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 25,
              "data": [
                150,
                98,
                1,
                18,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 26,
              "data": [
                150,
                98,
                1,
                15,
                130
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 27,
              "data": [
                150,
                99,
                1,
                11,
                0,
                234
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 28,
              "data": [
                150,
                98,
                1,
                13,
                23
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 29,
              "data": [
                150,
                98,
                1,
                5,
                36
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 30,
              "data": [
                150,
                99,
                1,
                6,
                0,
                10
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 31,
              "data": [
                36,
                98,
                1,
                18,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 32,
              "data": [
                36,
                98,
                1,
                15,
                134
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 33,
              "data": [
                36,
                99,
                1,
                11,
                0,
                234
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 34,
              "data": [
                36,
                98,
                1,
                13,
                23
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 35,
              "data": [
                36,
                98,
                1,
                20,
                28
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 36,
              "data": [
                36,
                98,
                1,
                17,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 37,
              "data": [
                92,
                98,
                1,
                18,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 38,
              "data": [
                92,
                98,
                1,
                15,
                134
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 39,
              "data": [
                92,
                99,
                1,
                11,
                0,
                234
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 40,
              "data": [
                92,
                98,
                1,
                13,
                23
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 41,
              "data": [
                92,
                98,
                1,
                20,
                28
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 42,
              "data": [
                92,
                98,
                1,
                17,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 43,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 44,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 45,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 46,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 47,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 48,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 49,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            }
          ]
        }
      }
    }

    Thanks and Regards,

    Chris

  • Hello Chris:

    Thank you very much! We will run the test and let you know the result.

    Also about the legacy charging, does this BIN disable BC1.2?

    Thank you!

    Chen

  • Hi Chen,

    Yes, it should have BC1.2 enabled. It should only support Type-C and Type-C PD chargers.

    Thanks and Regards,

    Chris

  • Hello Chris:

    "Yes, it should have BC1.2 enabled."

    Do you mean BC1.2 disabled?

    Thank you!

    Chen

  • Hi Chen,

    Sorry type, yes, disabled.

    Thanks and Regards,

    Chris

  • Hello Chris:

    We just tested the new BIN file, and seems like the leakage current is corrected as expected. However, we noticed couple other issues:

    1. It still can be charged on old USB port, with an A to C cable. Could you help to confirm?

    2. When plug-in, sometimes it can't initiate the charging. After removing the connection and rest for 1-2 minutes, the charging could start when reconnected.

    We are trying to log I2C data while these issue happened, and will share with you ASAP.

    Thank you.

    Chen

  • Hi Chen,

    1. It still can be charged on old USB port, with an A to C cable. Could you help to confirm?
    Yes, it should have BC1.2 enabled. It should only support Type-C and Type-C PD chargers.

    A type-A to type-C looks like a Type-C connection to our device. The cable uses internal CC line resistors to look like a Type-C source, so we will still connect to these.

    2. When plug-in, sometimes it can't initiate the charging. After removing the connection and rest for 1-2 minutes, the charging could start when reconnected.

    Ok, i'll wait for the logs. Also see if there is anything specific about the power state of the PD controller or any other behaviors you see.

    Thanks and Regards,

    Chris

  • Hello Chris:

    Here are the data.

    I2C PD to CHGR 04-09-2025.zip

    So for legacy charging control, we may still need MCU involvement if A to C cable used.

    For the PD 20V charging, it showed no data transfer if it failed to initiate, like this

    # Level Index m:s.ms.us Dur Len Err S/P Addr Record Data
    0 0 0:00.000.000 Capture started [04/09/25 20:15:51]
    0 1 0:03.624.566 855.000 us 2 B SP 6B Write Transaction 12 00
    0 2 0:03.653.883 122.600 us 2 B SP 6B Write Transaction 12 00
    0 3 0:03.654.289 122.600 us 2 B SP 6B Write Transaction 0F 82
    0 4 0:03.654.726 147.500 us 3 B SP 6B Write Transaction 0B 00 EA
    0 5 0:03.655.156 122.600 us 2 B SP 6B Write Transaction 0D 17
    0 6 0:03.655.561 150.100 us 2 B SP 6B Write Transaction 05 24
    0 7 0:03.655.999 147.500 us 3 B SP 6B Write Transaction 06 00 0A
    0 8 0:03.778.140 187.900 us 3 B SP 6B Write Transaction 01 04 EC
    0 9 0:03.778.634 175.000 us 3 B SP 6B Write Transaction 03 00 C8
    0 10 0:03.779.091 122.600 us 2 B SP 6B Write Transaction 09 05
    0 11 0:03.779.497 122.600 us 2 B SP 6B Write Transaction 08 C3
    0 12 0:03.780.118 175.000 us 3 B SP 6B Write Transaction 06 01 2C
    0 13 0:03.781.102 122.600 us 2 B SP 6B Write Transaction 05 BE
    0 14 0:03.782.060 140.500 us 2 B SP 6B Write Transaction 0F A2
    0 15 0:05.531.136 122.100 us 2 B SP 6B Write Transaction 12 00
    0 16 0:05.531.679 150.600 us 2 B SP 6B Write Transaction 12 00
    0 17 0:05.532.111 122.100 us 2 B SP 6B Write Transaction 0F 86
    0 18 0:05.532.519 146.900 us 3 B SP 6B Write Transaction 0B 00 EA
    0 19 0:05.532.947 144.100 us 2 B SP 6B Write Transaction 0D 17
    0 20 0:05.533.373 122.300 us 2 B SP 6B Write Transaction 14 1C
    0 21 0:05.533.805 197.900 us 2 B SP 6B Write Transaction 11 00
    0 22 0:07.472.633 453.553.200 ms 3 B TP1 S 0 Write Transaction 00 00 00*

    Could you take a look and suggest? Thank you!

    Chen

  • Hi Chen,

    So for legacy charging control, we may still need MCU involvement if A to C cable used.

    Potentially, but I'm not sure how you will be able to tell. To the TPS25751 is not able to distinguish between a type-c default and a type-A to c cable due to the termination on the CC line looking the same.


    Are the charging issues new to this json, or do you see them on the old json? I might need a couple days to review.

    Thanks and Regards,

    Chris

  • Hello Chris:

    Confirmed this issue only started with this new BIN file. Any update? I don't think the communication contains lots of information. When it happened, only this information get recorded:

    # Level Index m:s.ms.us Dur Len Err S/P Addr Record Data
    0 22 0:07.472.633 453.553.200 ms 3 B TP1 S 0 Write Transaction 00 00 00*

    A little more on the data I shared:

    # Level Index m:s.ms.us Dur Len Err S/P Addr Record Data
    0 0 0:00.000.000 Capture started [04/09/25 20:15:51] Plugged in
    0 1 0:03.624.566 855.000 us 2 B SP 6B Write Transaction 12 00 normal
    0 2 0:03.653.883 122.600 us 2 B SP 6B Write Transaction 12 00
    0 3 0:03.654.289 122.600 us 2 B SP 6B Write Transaction 0F 82
    0 4 0:03.654.726 147.500 us 3 B SP 6B Write Transaction 0B 00 EA
    0 5 0:03.655.156 122.600 us 2 B SP 6B Write Transaction 0D 17
    0 6 0:03.655.561 150.100 us 2 B SP 6B Write Transaction 05 24
    0 7 0:03.655.999 147.500 us 3 B SP 6B Write Transaction 06 00 0A
    0 8 0:03.778.140 187.900 us 3 B SP 6B Write Transaction 01 04 EC
    0 9 0:03.778.634 175.000 us 3 B SP 6B Write Transaction 03 00 C8
    0 10 0:03.779.091 122.600 us 2 B SP 6B Write Transaction 09 05
    0 11 0:03.779.497 122.600 us 2 B SP 6B Write Transaction 08 C3
    0 12 0:03.780.118 175.000 us 3 B SP 6B Write Transaction 06 01 2C
    0 13 0:03.781.102 122.600 us 2 B SP 6B Write Transaction 05 BE
    0 14 0:03.782.060 140.500 us 2 B SP 6B Write Transaction 0F A2
    0 15 0:05.531.136 122.100 us 2 B SP 6B Write Transaction 12 00
    0 16 0:05.531.679 150.600 us 2 B SP 6B Write Transaction 12 00
    0 17 0:05.532.111 122.100 us 2 B SP 6B Write Transaction 0F 86
    0 18 0:05.532.519 146.900 us 3 B SP 6B Write Transaction 0B 00 EA
    0 19 0:05.532.947 144.100 us 2 B SP 6B Write Transaction 0D 17
    0 20 0:05.533.373 122.300 us 2 B SP 6B Write Transaction 14 1C
    0 21 0:05.533.805 197.900 us 2 B SP 6B Write Transaction 11 00 Charging cable removed
    0 22 0:07.472.633 453.553.200 ms 3 B TP1 S 0 Write Transaction 00 00 00* Re-plugged in
    0 23 0:37.181.456 Capture stopped [04/09/25 20:16:28]

    Thank you.

    Chen

  • TI is closed today, sorry about delay in response. 

  • Hi Chen,

    Could you share the excel sheet for the 2nd one? It's a little easier to work with on my end.

    What is the difference between the one shared on 4/9 and the one shared 4/17? They look exactly the same?

    When you see this failure, is there voltage on VBUS? If yes, what voltage? 

    For the first log, I noticed there is a break between events at index 14 and 15. Is there anything happening in the system that triggers at teh 5.5-s mark?

    Up to that point, the I2C looks fine and charging has been configured for what looks like a 20-V contract. Then, there appears to be some form of disconnect or detach event, which triggers the disabling of the system.

    See notes in this excel sheet: PD 20V Initiation failure_TI_0421.csv

    Are you able to capture a PD log?

    We need to determine what is happening in the system at the 5.5s mark that seems to indicate some form of unplug event.

    Thanks and Regards,

    Chris

  • Hello Chris:

    Yes they are the same. 

    We need to determine what is happening in the system at the 5.5s mark that seems to indicate some form of unplug event.

    That is correct. The cable get unplugged and then reinserted, and then repeat at index 21. After the second reinsert, the charging can't initiate, and Err showed.

    0 21 0:05.533.805 197.900 us 2 B SP 6B Write Transaction 11 00
    0 22 0:07.472.633 453.553.200 ms 3 B TP1 S 0 Write Transaction 00 00 00*

    Thanks.

    Chen

  • Hi Chen,

    Ok, that makes sense, so at 5.44

    When you reinsert the plug, do you see any voltage on VBUS?

    Are you able to capture a PD log of this behavior?

    We need to determine if on replug, the PD controller is even negotiating a contract.

    Thanks and Regards,

    Chris

  • Hello Chris:

    Voltage on VBUS: YES

    PD log: between PD and charger IC? That was all captured by I2C tool. Seems like no negotiating.

    This is a new issue after the leakage current solved.

    Thanks.

    Chen

  • Hey Chen,

    I'm trying some testing on my end to replicate this. Didn't have too much luck today, but will continue going at it and get back to you by the end of the week.

    Thanks and Regards,
    Chris

  • Hi Chen,

    I did some basic testing with your json and an EVM, and I don't think I see the issue you mentioned. Could you try capturing an I2C log again, but detach and reconnect the port 5x times, once every 5 seconds? I'm looking for the I2C that should happen on reconnect.

    In my testing, I see the I2C payloads on every reattach.

    What voltage does the USB-C PD source you are using for testing go up to?

    Do you have a Saleae or a way to get a analog signal in addition to the I2C? It would be good to see VBUS on the same trace to see the plug and I2C timings.

    Thanks and Regards,

    Chris

  • Hello Chris:

    As we tried with the Beagle I2C logger, when the initiation failed, there were no communication data observed, but only the "err" can be logged, as this:

    0 22 0:07.472.633 453.553.200 ms 3 B TP1 S 0 Write Transaction 00 00 00*

    We can try to use oscilloscope to capture the data again, with the VBUS as well.

    Thanks.

    Chen

  • Hi Chen,

    Yes, please provide the Oscope trace, a non-decoded log of the I2C lines is fine, It will just help to see activity on the lines.

    Thanks and Regards,

    Chris

  • Hello Chris:

    We have capture the I2C and VUSB together.

    Normal: I2C communication available

    No charging 1: no I2C communication

    No charging 2: one pulse of I2C communication, but no data

    Please refer to the screenshot as attached.

    I2C PD to CHGR Screenshot 05-08-2025.zip

    Thank you!

    Chen

  • Hi Chen,

    Thanks for the logs. The behavior we see is somewhat unexpected. Is it the same json with all the captures?

    Does the PD controller have power when the source is attached, or is the plug event happening when the PD controller is in a dead battery state? (no VIN3V3). 

    Typically we expect the I2C events to enable BQ charging to trigger when a sink contract is negotiated.

    Is all testing done with the "Trimble_TPS25751_BQ25792_PreCharge_Current_Update_Iq.bin " config shared on the 4th of April?

    Thanks and Regards,

    Chris

  • Hello Chris:

    Yes, all of these captures are from one battery with the same BIN file. Sometimes it worked as expected, but others could not initiate charging. And yes they are all from the same BIN file from Apr 4th.

    The VUSB is logged as well, and we can clear see the voltage change on VUSB. The PD controller is NOT in dead battery mode. The cells are always connected, and not empty.

    Thank you!

    Chen

  • Hey Chen,

    We noticed that the SDA  is being pulled low in the failing cases.

    Is there anything on the bus that could be causing the SDA line to be pulled low? How are you powering the SDA line?

    Thanks and Regards,

    Chris

  • Hello Chris:

    Only 3 ICs on this I2C bus: TPS25751, EEPROM, and BQ25792. The bus is pulled up by LDO_3V3.

    15V input has the highest possibility to reproduce this issue; while other voltage range can also have this issue as well.

    Thanks.

    Chen

  • Hi Chen,

    I'm in the process of setting up some EVMs to attempt to replicate the issue, but have not been able to see it so far.

    I will need some more information, this behavior is somewhat unexpected.

    Do you have a digital logic analyzer?

    Can you obtain captures of what is happening just before SDA gets pulled low? Of both the scope captures and the logic analyzer if possible. We need to see what is causing this behavior. I want to see if anything is happening on I2C or there is some VBUS 

    After SDA is pulled low, does it ever recover? When you see this behavior, do successive unplugs and plugs work, or once it fails, it never recovers.

    Just to confirm, but on the same power up, the charging will sometimes work and sometimes fail after repeated plugs?

    Did you see this issue on the older fw version?

    I found this one in an older thread, does this one have the same issue?

    {
      "questionnaire": {
        "device": "TPS25751",
        "toolBuildVersion": "1.0.2",
        "answers": [
          null,
          4,
          4,
          3,
          1,
          0,
          3,
          0,
          1,
          1,
          1,
          0,
          0,
          0,
          12.6,
          2,
          0.2,
          0.12,
          0
        ],
        "vendorId": "0000",
        "productId": "0000",
        "version": "1.0.0.2"
      },
      "configuration": {
        "data": {
          "selected_ace": [
            {
              "register": 6,
              "data": [
                0,
                0,
                0,
                0,
                2,
                0,
                0,
                0
              ]
            },
            {
              "register": 22,
              "data": [
                0,
                0,
                0,
                4,
                0,
                0,
                0,
                0,
                0,
                0,
                3
              ]
            },
            {
              "register": 23,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                2
              ]
            },
            {
              "register": 31,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 32,
              "data": [
                0,
                0
              ]
            },
            {
              "register": 35,
              "data": [
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 37,
              "data": [
                0
              ]
            },
            {
              "register": 39,
              "data": [
                4,
                8,
                18,
                0,
                28,
                7,
                0,
                0,
                80,
                81,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 40,
              "data": [
                0,
                0,
                46,
                1,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                3
              ]
            },
            {
              "register": 41,
              "data": [
                50,
                80,
                129,
                0
              ]
            },
            {
              "register": 43,
              "data": [
                64,
                0,
                0,
                0,
                2,
                0,
                0,
                0
              ]
            },
            {
              "register": 50,
              "data": [
                0,
                170,
                42,
                44,
                145,
                1,
                32,
                44,
                209,
                2,
                0,
                44,
                177,
                4,
                0,
                244,
                65,
                6,
                0,
                244,
                65,
                6,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 51,
              "data": [
                5,
                44,
                145,
                1,
                16,
                200,
                208,
                2,
                0,
                200,
                192,
                3,
                0,
                200,
                176,
                4,
                0,
                200,
                64,
                6,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 55,
              "data": [
                59,
                192,
                18,
                65,
                144,
                145,
                1,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 60,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 61,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 66,
              "data": [
                26,
                0,
                8,
                0
              ]
            },
            {
              "register": 67,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 71,
              "data": [
                3,
                81,
                4,
                64,
                0,
                81,
                4,
                0,
                0,
                17,
                9,
                0,
                0,
                0,
                0,
                0,
                101,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                67,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 74,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 81,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 82,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 85,
              "data": [
                24,
                4,
                0,
                0
              ]
            },
            {
              "register": 86,
              "data": [
                2,
                0
              ]
            },
            {
              "register": 92,
              "data": [
                12,
                12,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                4,
                0,
                0,
                0,
                4,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                4,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 93,
              "data": [
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 98,
              "data": [
                0,
                0,
                1,
                42,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 100,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                107
              ]
            },
            {
              "register": 108,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 111,
              "data": [
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 112,
              "data": [
                5
              ]
            },
            {
              "register": 115,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 117,
              "data": [
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 119,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                127,
                0
              ]
            },
            {
              "register": 121,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 122,
              "data": [
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 123,
              "data": [
                0,
                2,
                255,
                255,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 125,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 126,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 128,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 149,
              "data": [
                16,
                39,
                0,
                0,
                128,
                185,
                42,
                0,
                64,
                156,
                0,
                0,
                0,
                0,
                0,
                0,
                16,
                11,
                8,
                7,
                1,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                47,
                155,
                1,
                0,
                16,
                39,
                0,
                0,
                8,
                16,
                8,
                9,
                1,
                0,
                1,
                0,
                59,
                2,
                255,
                255,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 151,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 152,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            }
          ],
          "bin_table": [
            {
              "rights": 0,
              "register": 0,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 1,
              "data": [
                123,
                98,
                1,
                16,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 2,
              "data": [
                123,
                98,
                1,
                20,
                28
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 3,
              "data": [
                123,
                98,
                1,
                17,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 4,
              "data": [
                123,
                98,
                1,
                18,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 5,
              "data": [
                123,
                98,
                1,
                8,
                195
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 6,
              "data": [
                123,
                98,
                1,
                9,
                5
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 7,
              "data": [
                123,
                99,
                1,
                1,
                4,
                236
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 8,
              "data": [
                123,
                99,
                1,
                3,
                0,
                200
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 9,
              "data": [
                123,
                98,
                1,
                15,
                134
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 10,
              "data": [
                123,
                98,
                1,
                46,
                128
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 11,
              "data": [
                123,
                99,
                1,
                11,
                0,
                234
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 12,
              "data": [
                123,
                98,
                1,
                13,
                23
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 13,
              "data": [
                127,
                99,
                1,
                11,
                7,
                255
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 14,
              "data": [
                130,
                98,
                1,
                13,
                127
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 15,
              "data": [
                145,
                98,
                1,
                15,
                130
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 16,
              "data": [
                128,
                98,
                1,
                18,
                64
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 17,
              "data": [
                144,
                98,
                1,
                18,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 18,
              "data": [
                148,
                98,
                1,
                5,
                255
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 19,
              "data": [
                147,
                99,
                1,
                6,
                1,
                255
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 20,
              "data": [
                146,
                99,
                1,
                1,
                4,
                236
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 21,
              "data": [
                146,
                99,
                1,
                3,
                0,
                200
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 22,
              "data": [
                146,
                98,
                1,
                9,
                5
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 23,
              "data": [
                146,
                98,
                1,
                8,
                195
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 24,
              "data": [
                149,
                98,
                1,
                15,
                162
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 25,
              "data": [
                150,
                98,
                1,
                18,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 26,
              "data": [
                150,
                98,
                1,
                15,
                130
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 27,
              "data": [
                150,
                99,
                1,
                11,
                0,
                234
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 28,
              "data": [
                150,
                98,
                1,
                13,
                23
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 29,
              "data": [
                150,
                98,
                1,
                5,
                36
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 30,
              "data": [
                150,
                99,
                1,
                6,
                0,
                10
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 31,
              "data": [
                36,
                98,
                1,
                18,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 32,
              "data": [
                36,
                98,
                1,
                15,
                134
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 33,
              "data": [
                36,
                99,
                1,
                11,
                0,
                234
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 34,
              "data": [
                36,
                98,
                1,
                13,
                23
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 35,
              "data": [
                36,
                98,
                1,
                20,
                28
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 36,
              "data": [
                36,
                98,
                1,
                17,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 37,
              "data": [
                92,
                98,
                1,
                18,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 38,
              "data": [
                92,
                98,
                1,
                15,
                134
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 39,
              "data": [
                92,
                99,
                1,
                11,
                0,
                234
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 40,
              "data": [
                92,
                98,
                1,
                13,
                23
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 41,
              "data": [
                92,
                98,
                1,
                20,
                28
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 42,
              "data": [
                92,
                98,
                1,
                17,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 43,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 44,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 45,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 46,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 47,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 48,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 49,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            }
          ]
        }
      }
    }

    Thanks and Regards,

    Chris

  • Hi Chen,

    I loaded the latest image to an EVM with a BQ25798EVM (I didn't have a working 792 EVM, but it is very similar to the BQ25792) and tested multiple plugs with a USB-C PD wall adapter.

    Unfortunately I was never able to see the SDA line get pulled low, and the BQ and system seems to be going into chg on every plug.

    Could you share the schematic and layout with your FAE, and ask them to send those to me for review? I'm not sure what else we can check on our end at this point as the EVMs seem to be working.

    Is there any noticeable event happening before the SDA lines get pulled low?

    Please provide responses to my previous message when you get the chance.

    Thanks and Regards,

    Chris

  • Hello Chris:

    We run some more tests based on your questions.

    "Can you obtain captures of what is happening just before SDA gets pulled low? "

    The SDA got pulled low directly, as shown below. Light blue is Data, and purple is VBUS. The CLK (yellow) had one pulse, and remained high.

    "After SDA is pulled low, does it ever recover? When you see this behavior, do successive unplugs and plugs work, or once it fails, it never recovers."

    Yes. It could recover. We tested different conditions:

    - automatically after about 2 mins, and initiated charging, if kept plugged.

    - if unplugged and reinserted, it could recover as well.

    "Just to confirm, but on the same power up, the charging will sometimes work and sometimes fail after repeated plugs?"

    Yes, sometimes work, while sometimes not. When using 15V power source, it has the most failure rate.

    "Did you see this issue on the older fw version?"

    No. Only in this new BIN, which fully solved the leakage current issue.

    I will share the SCH to our FAE.

    Thank you!

    Chen

  • Hi Chen,

    Interesting, so there does not seem to be any behavior other than maybe the plug event that precedes the SDA being pulled low.

    Give me a day or two to check the schematic and compare jsons, it's strange that the old one never sees this issue.

    Thanks and Regards,
    Chris

  • Hi Chen,

    Do you have a Saleae Digital Analyzer by any chance? (or any I2C analyzer/decoder that can also capture analog)

    Also do you have a free GPIO that we could connect a debug signal to and measure with the Saleae?

    Please try this json, I tried matching the earlier version that did not see the SDA issue while still handling the quiescent current.

    {
      "questionnaire": {
        "device": "TPS25751",
        "toolBuildVersion": "1.0.2",
        "answers": [
          null,
          4,
          4,
          3,
          1,
          0,
          3,
          0,
          1,
          1,
          1,
          0,
          0,
          0,
          12.6,
          2,
          0.2,
          0.12,
          0
        ],
        "vendorId": "0000",
        "productId": "0000",
        "version": "1.0.0.2"
      },
      "configuration": {
        "data": {
          "selected_ace": [
            {
              "register": 6,
              "data": [
                0,
                0,
                0,
                0,
                1,
                0,
                0,
                0
              ]
            },
            {
              "register": 22,
              "data": [
                0,
                0,
                0,
                4,
                0,
                0,
                0,
                0,
                0,
                0,
                3
              ]
            },
            {
              "register": 23,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                2
              ]
            },
            {
              "register": 31,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 32,
              "data": [
                0,
                0
              ]
            },
            {
              "register": 35,
              "data": [
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 37,
              "data": [
                0
              ]
            },
            {
              "register": 39,
              "data": [
                4,
                8,
                18,
                0,
                28,
                7,
                0,
                0,
                80,
                81,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 40,
              "data": [
                0,
                0,
                46,
                1,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                3
              ]
            },
            {
              "register": 41,
              "data": [
                50,
                80,
                129,
                0
              ]
            },
            {
              "register": 43,
              "data": [
                64,
                0,
                0,
                0,
                2,
                0,
                0,
                0
              ]
            },
            {
              "register": 50,
              "data": [
                0,
                170,
                42,
                44,
                145,
                1,
                32,
                44,
                209,
                2,
                0,
                44,
                177,
                4,
                0,
                244,
                65,
                6,
                0,
                244,
                65,
                6,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 51,
              "data": [
                5,
                44,
                145,
                1,
                16,
                200,
                208,
                2,
                0,
                200,
                192,
                3,
                0,
                200,
                176,
                4,
                0,
                200,
                64,
                6,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 55,
              "data": [
                59,
                192,
                18,
                65,
                144,
                145,
                1,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 60,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 61,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 66,
              "data": [
                26,
                0,
                8,
                0
              ]
            },
            {
              "register": 67,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 71,
              "data": [
                3,
                81,
                4,
                64,
                0,
                81,
                4,
                0,
                0,
                17,
                9,
                0,
                0,
                0,
                0,
                0,
                101,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                67,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 74,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 81,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 82,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 85,
              "data": [
                24,
                0,
                0,
                0
              ]
            },
            {
              "register": 86,
              "data": [
                2,
                0
              ]
            },
            {
              "register": 92,
              "data": [
                12,
                12,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                4,
                0,
                0,
                0,
                4,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                4,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 93,
              "data": [
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 98,
              "data": [
                0,
                0,
                1,
                42,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 100,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                107
              ]
            },
            {
              "register": 108,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 111,
              "data": [
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 112,
              "data": [
                5
              ]
            },
            {
              "register": 115,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 117,
              "data": [
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 119,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                127,
                0
              ]
            },
            {
              "register": 121,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 122,
              "data": [
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 123,
              "data": [
                0,
                2,
                255,
                255,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 125,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 126,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 128,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 149,
              "data": [
                16,
                39,
                0,
                0,
                128,
                185,
                42,
                0,
                64,
                156,
                0,
                0,
                0,
                0,
                0,
                0,
                16,
                11,
                8,
                7,
                1,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                47,
                155,
                1,
                0,
                16,
                39,
                0,
                0,
                8,
                16,
                8,
                9,
                1,
                0,
                1,
                0,
                59,
                2,
                255,
                255,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 151,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 152,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            }
          ],
          "bin_table": [
            {
              "rights": 0,
              "register": 0,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 1,
              "data": [
                123,
                98,
                1,
                16,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 2,
              "data": [
                123,
                98,
                1,
                20,
                28
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 3,
              "data": [
                123,
                98,
                1,
                17,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 4,
              "data": [
                123,
                98,
                1,
                18,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 5,
              "data": [
                123,
                98,
                1,
                8,
                195
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 6,
              "data": [
                123,
                98,
                1,
                9,
                5
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 7,
              "data": [
                123,
                99,
                1,
                1,
                4,
                236
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 8,
              "data": [
                123,
                99,
                1,
                3,
                0,
                200
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 9,
              "data": [
                123,
                98,
                1,
                15,
                134
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 10,
              "data": [
                25,
                98,
                1,
                46,
                128
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 11,
              "data": [
                123,
                99,
                1,
                11,
                0,
                234
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 12,
              "data": [
                123,
                98,
                1,
                13,
                23
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 13,
              "data": [
                127,
                99,
                1,
                11,
                7,
                255
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 14,
              "data": [
                130,
                98,
                1,
                13,
                127
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 15,
              "data": [
                145,
                98,
                1,
                15,
                130
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 16,
              "data": [
                128,
                98,
                1,
                18,
                64
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 17,
              "data": [
                144,
                98,
                1,
                18,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 18,
              "data": [
                148,
                98,
                1,
                5,
                255
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 19,
              "data": [
                147,
                99,
                1,
                6,
                1,
                255
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 20,
              "data": [
                146,
                99,
                1,
                1,
                4,
                236
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 21,
              "data": [
                146,
                99,
                1,
                3,
                0,
                200
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 22,
              "data": [
                146,
                98,
                1,
                9,
                5
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 23,
              "data": [
                146,
                98,
                1,
                8,
                195
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 24,
              "data": [
                149,
                98,
                1,
                15,
                162
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 25,
              "data": [
                150,
                98,
                1,
                18,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 26,
              "data": [
                150,
                98,
                1,
                15,
                130
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 27,
              "data": [
                150,
                99,
                1,
                11,
                0,
                234
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 28,
              "data": [
                150,
                98,
                1,
                13,
                23
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 29,
              "data": [
                150,
                98,
                1,
                5,
                36
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 30,
              "data": [
                150,
                99,
                1,
                6,
                0,
                10
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 31,
              "data": [
                36,
                98,
                1,
                18,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 32,
              "data": [
                36,
                98,
                1,
                15,
                134
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 33,
              "data": [
                36,
                99,
                1,
                11,
                0,
                234
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 34,
              "data": [
                36,
                98,
                1,
                13,
                23
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 35,
              "data": [
                36,
                98,
                1,
                20,
                28
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 36,
              "data": [
                36,
                98,
                1,
                17,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 37,
              "data": [
                92,
                98,
                1,
                18,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 38,
              "data": [
                92,
                98,
                1,
                15,
                134
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 39,
              "data": [
                92,
                99,
                1,
                11,
                0,
                234
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 40,
              "data": [
                92,
                98,
                1,
                13,
                23
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 41,
              "data": [
                92,
                98,
                1,
                20,
                28
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 42,
              "data": [
                92,
                98,
                1,
                17,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 43,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 44,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 45,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 46,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 47,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 48,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            },
            {
              "rights": 0,
              "register": 49,
              "data": [
                0,
                0,
                0,
                0
              ],
              "offset": 0
            }
          ]
        }
      }
    }

    Thanks and Regards,

    Chris

  • Hello Chris:

    Could you help to share the file in .json or BIN file directly? How can I download this JSON file? Or you may send it to our FAE and email me.

    Thank you!

    Chen

  • Chen,

    When I click on it in the top right, it downloads a json to my downloads.

    If it opens a fullscreen version, you should be able to right click on the screen, select "save as" and save the file.

    Worst case, you can also copy the contents to a notepad document, and "save as" "name.json" and it should work. I'll also send the FAE a copy.

    Thanks and Regards,

    Chris