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: Phone and DUT change the charging roles after "power cycle" (or on bootup)

Part Number: TPS25751

Tool/software:

Hello,

"We have a portable speaker (DUT) that also functions as a power bank to charge a phone. However, when we connect the DUT to the phone, the DUT starts drawing power from the phone, causing it to turn on and even initiate charging. We want to prevent this from happening—specifically, we don't want the DUT to power on or start charging when connected to a phone. Could you help us implement a solution for this?

So, from my understanding PD controller has to detect on bootup if a phone was plugged in and not deliver the power to the system.


I paste here our configuration file:

{

  "questionnaire": {

    "device": "TPS25751",

    "answers": [

      null,

      2,

      0,

      3,

      1,

      1,

      2,

      0,

      0,

      0,

      0,

      1,

      0,

      0,

      8.4,

      3.008,

      0,

      0,

      2.88

    ],

    "vendorId": "0AD2",

    "productId": "003F",

    "version": "1.0.0.2"

  },

  "configuration": {

    "data": {

      "selected_ace": [

        {

          "register": 6,

          "data": [

            37,

            0,

            0,

            0,

            0,

            0,

            0,

            0

          ]

        },

        {

          "register": 22,

          "data": [

            0,

            0,

            0,

            0,

            0,

            0,

            0,

            16,

            0,

            0,

            3

          ]

        },

        {

          "register": 40,

          "data": [

            2,

            8,

            47,

            0,

            0,

            0,

            0,

            0,

            0,

            0,

            0,

            0,

            0,

            0,

            0,

            0

          ]

        },

        {

          "register": 41,

          "data": [

            82,

            48,

            152,

            0

          ]

        },

        {

          "register": 50,

          "data": [

            1,

            168,

            42,

            44,

            145,

            1,

            36,

            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": [

            4,

            44,

            145,

            1,

            16,

            44,

            209,

            2,

            0,

            44,

            177,

            4,

            0,

            44,

            65,

            6,

            0,

            69,

            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

          ]

        },

        {

          "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": 92,

          "data": [

            207,

            4,

            0,

            0,

            0,

            0,

            0,

            0,

            0,

            0,

            0,

            0,

            0,

            4,

            0,

            0,

            48,

            4,

            0,

            0,

            0,

            0,

            0,

            0,

            0,

            4,

            0,

            0,

            48,

            0,

            0,

            0,

            0,

            0,

            0,

            0,

            0,

            157,

            0,

            0,

            0,

            0,

            156,

            155,

            0,

            0,

            0,

            0,

            0

          ]

        },

        {

          "register": 112,

          "data": [

            0

          ]

        },

        {

          "register": 152,

          "data": [

            1,

            0,

            3,

            0,

            3,

            50,

            136,

            36,

            179,

            170,

            6

          ]

        }

      ]

    }

  }

}

  • Hi Anton, 

    When the phone is connected to the DUT with TPS25751 is it booting up from a dead battery scenario (VBUS appears first over VIN_3V3)? If so, is there an EC in the system to clear the dead battery flag (assuming the actual battery is at a stable state)? 

    Another follow-up question is in this state what is the expected behavior for the DUT and the smartphone? Should the DUT (TPS25751) not present anything on CC lines to not seem like a presentable port? 

    Thanks and Regards,
    Raymond Lin