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: The role played when connecting a laptop via USB-C is incorrect

Part Number: TPS25751

Tool/software:

Hi team,

My expected scenario is as follows:

①Connect my board with a smartphone, the tps is the source and the smartphone is the sink

②Connect to laptop with usb-a cable,  the tps is the sink and the notebook is the source

③Connect to laptop with usb-c cable,  the tps is the sink and the notebook is the source

The first two scenarios can work normally
But when my board is connected to the laptop through USB-C, TPS takes on the role of a source to charge the laptop, which is not in line with our expectations

The relevant configuration can be found in "PD_iRQ-Priority_0250717. html". As I am unable to upload the. json file format, I have converted it to. html format. You can then convert it to. json format.

{
  "questionnaire": {
    "device": "TPS25751",
    "toolBuildVersion": "1.1.0",
    "answers": [
      null,
      1,
      0,
      1,
      1,
      1,
      3,
      0,
      0,
      1,
      1,
      0,
      0,
      0,
      8.4,
      2.4,
      0.24,
      0.96,
      0
    ],
    "vendorId": "0000",
    "productId": "0000",
    "version": "1.0.0.2"
  },
  "configuration": {
    "data": {
      "selected_ace": [
        {
          "register": 6,
          "data": [
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0
          ]
        },
        {
          "register": 22,
          "data": [
            10,
            16,
            0,
            0,
            0,
            0,
            0,
            16,
            0,
            0,
            0
          ]
        },
        {
          "register": 40,
          "data": [
            2,
            25,
            46,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            3
          ]
        },
        {
          "register": 41,
          "data": [
            18,
            80,
            145,
            0
          ]
        },
        {
          "register": 50,
          "data": [
            1,
            170,
            42,
            44,
            145,
            1,
            38,
            44,
            145,
            1,
            0,
            44,
            177,
            4,
            0,
            244,
            65,
            6,
            0,
            244,
            177,
            4,
            224,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            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": [
            2,
            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,
            20,
            180,
            144,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0
          ]
        },
        {
          "register": 66,
          "data": [
            26,
            0,
            8,
            0
          ]
        },
        {
          "register": 92,
          "data": [
            206,
            12,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            2,
            0,
            0,
            0,
            0,
            4,
            0,
            0,
            0,
            4,
            0,
            0,
            0,
            0,
            0,
            0,
            48,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            50,
            0,
            0,
            0,
            0,
            156,
            155,
            0,
            0,
            0,
            0,
            0
          ]
        },
        {
          "register": 112,
          "data": [
            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": 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": 152,
          "data": [
            1,
            0,
            1,
            0,
            2,
            21,
            158,
            36,
            143,
            170,
            6
          ]
        }
      ]
    }
  }
}

Best Regards!

Iris