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: Source and Sink Capable UUTs test fail

Part Number: TPS25751

Tool/software:

Hi Team,

We encountered a failed result when doing the TEST.PD.PROT.PORT3 items of the PD compliance test with our TPS25751 device.

Especially the items related to Get Battery Status and Get Battery Capabilities. The test failed because "The UUT did not send Sink_Capabilty_Extended message in reply to Tester's Get_Sink_Cap_Extended message when VIF field PD_PORT_TYPE is not Provider Only."

However, we have enabled "Support Battery Status Message" and "Support Battery Capabilities Message" in USBCPD_ACT, we still cannot pass the related compliance items. We want to know if there are any related items that need to be selected, or which functions need to be enabled in USBCPD_ACT?

Thanks.

Wei-Ting

  • Hi Wei-Ting, 

    Thank you for reaching out!

    There are additional register that need to be configured to support the Battery Capabilities and Battery Status Messages including register 7Bh and 7Dh. 

    Could you share the json used for the compliance test?

    Best Regards, 

    Aya Khedr

  • Hi Aya,

    Sure, I attached our json configuration for compliance test below.

    {
      "questionnaire": {
        "device": "TPS25751",
        "answers": [
          null,
          0,
          0,
          3,
          1,
          1,
          0,
          0,
          1,
          0,
          0,
          1,
          0,
          0,
          8.4,
          2.944,
          0,
          0,
          0
        ],
        "vendorId": "2CC2",
        "productId": "002E",
        "version": "1.0.0.2"
      },
      "configuration": {
        "data": {
          "selected_ace": [
            {
              "register": 6,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 22,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                3
              ]
            },
            {
              "register": 40,
              "data": [
                2,
                8,
                47,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 41,
              "data": [
                81,
                0,
                144,
                0
              ]
            },
            {
              "register": 50,
              "data": [
                1,
                170,
                42,
                150,
                144,
                1,
                33,
                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": 66,
              "data": [
                26,
                12,
                8,
                0
              ]
            },
            {
              "register": 92,
              "data": [
                255,
                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,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                75,
                73,
                0,
                0,
                0,
                0,
                0,
                3,
                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": 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": [
                26,
                0,
                0,
                0,
                0,
                0,
                170,
                0,
                0,
                0,
                0
              ]
            }
          ]
        }
      }
    }

  • Hi Wei-Ting, 

    I made some changes to the json file provided (see attached). There are some additional fields highlighted below that need to be addressed. 

    1-  Enabled "Support Sink Cap Extended" in PD3 Configuration register

    2- Number of fixed Batteries needs to be set in the following register. Please set according to the number of batteries present. 

    3- Tx Battery Capabilities is set for 1 battery. The same values can be used for >1 battery in Fixed Battery #x capabilities. 

    4-I filled in the minimum and maximum PDP based on the Sink PDOs. Please fill in the Sink Operational PDP according to your system needs. This could be the same as the minimum or maximum if needed.

     

    5- Another thing to note is the Autonegotiate Register. The Autonegotiate Sink Minimum Required Power is set to 65W, which is greater than the maximum PDO of 20V/3A. 

    Please let me know if you have additional questions.

    Best Regards, 

    Aya Khedr

    {
      "questionnaire": {
        "device": "TPS25751",
        "toolBuildVersion": "1.0.2",
        "answers": [
          null,
          0,
          0,
          3,
          1,
          1,
          0,
          0,
          1,
          0,
          0,
          1,
          0,
          0,
          8.4,
          2.944,
          0,
          0,
          0
        ],
        "vendorId": "2CC2",
        "productId": "002E",
        "version": "1.0.0.2"
      },
      "configuration": {
        "data": {
          "selected_ace": [
            {
              "register": 6,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 22,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                3
              ]
            },
            {
              "register": 40,
              "data": [
                2,
                8,
                47,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 41,
              "data": [
                81,
                0,
                144,
                0
              ]
            },
            {
              "register": 50,
              "data": [
                1,
                170,
                42,
                150,
                144,
                1,
                33,
                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": 66,
              "data": [
                26,
                12,
                10,
                0
              ]
            },
            {
              "register": 92,
              "data": [
                255,
                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,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                75,
                73,
                0,
                0,
                0,
                0,
                0,
                3,
                0,
                0,
                0,
                0,
                0
              ]
            },
            {
              "register": 112,
              "data": [
                0
              ]
            },
            {
              "register": 119,
              "data": [
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                0,
                1,
                127,
                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": [
                255,
                255,
                0,
                0,
                255,
                255,
                255,
                255,
                0,
                0,
                0,
                0,
                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": [
                1,
                0,
                0,
                0,
                0,
                0,
                1,
                0,
                15,
                0,
                60,
                0,
                0,
                0
              ]
            },
            {
              "register": 152,
              "data": [
                26,
                0,
                0,
                0,
                0,
                0,
                170,
                0,
                0,
                0,
                0
              ]
            }
          ]
        }
      }
    }