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.

TPS65987D: PD negotiation not happening

Part Number: TPS65987D
Other Parts Discussed in Thread: TPS65987

Hi, I have 3 TPS65987D on a custom board and I had set them each to go for Configuration 5 where it will sink 20V and source 5V but I'm not getting that negotiation to work.  I thought it was a programming issue, so I hooked up my aardvark to the i2c and spi flash to program the chip and swapped ADCIN so it would wait infinitely for the spi flash, but no dice. I would think it was something on the board, but when I go into debug mode in the TPS gui, any commands I send get a CMD_REJECTED response.  I'm using a RAVPOWER 65W USB PD wall charger. 

https://rincon.box.com/s/0o26xm8sp9e568uslbg329lk8io74dqb

Any suggestions where to start poking?

  • Some new information available:

    If I supply power down stream, plug in the USB C connector, then remove power downstream, the TPS65987D will supply power at the correct 20V.

    I looked at my ESD protection chip and realized I'm powering it from downstream 3.3V instead of the TPS65987D on-chip LDO.  I also don't have the RPD connections shorted to the CC pins on the ESD chip so basically there is no communication to the TPS chip.

  • Ok, so same behavior after tieing my ESD chip to the LDO from the TPS65987D.  I would have expected the chip to work by now.

    With no other power source, I can plug in a USBC cable and get 5V but it won't negotiate after getting the initial 5.... 

    I'm hoping for some guidance on where to look to see what is going on.

  • I replaced my resistors so the device boots into PTCH mode.  I thought I programmed the flash but I'm getting this error when I try to change settings while in debug mode:

    Exception Encountered during Drop Down Update:Internal C++ object (binaryDataTable) already deleted.

    <type 'exceptions.RuntimeError'>

    Traceback (most recent call last):

    File "qtRegisterClassExtensions.pyc", line 719, in drop_down_callback

    File "section_widget.pyc", line 2366, in updateSectionFromDevice

    File "acConfigurationGui.py", line 1497, in update_appcfg_used

    File "translation.pyc", line 498, in buildPacketFromDevice

    File "translation.pyc", line 132, in buildRecord

    RuntimeError: Internal C++ object (binaryDataTable) already deleted.

    halp

  • also getting this in patch query:

  • Typical of me.  I put the tps65987 in EC infinite wait and I don't have my mcu sending any commands