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: Compatibility - not charging with USB-FS

Part Number: TPS65987D
Other Parts Discussed in Thread: TPS2046, TPS65981,

I have a compatibility issue with maintaining a simultaneous charge and data connection.

 

The configuration is for an embedded application, but is essentially that of a docking station.

Lenovo Tab M10 (Android 11, USB C)

Our PCB:

TPS65987DDH with 5V source (and TPS65987EVM has the same issue)

TPS2046 USB-FS

 

A Samsung Galaxy tablet works perfectly.

Port config 0x28

            UFP

            Standard full feature usb c

            VCONN supported as UFP/DFP

Port control 0x29

            Process swap to source

            Initaite swap to source

            Process swap to UFP

            Initaite swap to UFP

            Externally powered

 

Lenovo same config: charge starts and is dropped, in an infinite loop.  No USB-FS connections.

 

Lenovo, charge but no data

Same settings, except:

Port control 0x29

            No Initaite swap to UFP

 

Lenovo, no charge but data

Same settings, except:

Port config 0x28

            DFP

Global System Config 0x27

            All PP disabled

And, J5 EVM jumper removed, or it goes back into infinite loop

            This is unexpected behavior.

 

I understand part of the issue could be a different Lenovo config.  But, as this looks like a docking station, I don’t expect it is unsupported.

How might we start to debug this?

 

 

Also, the Application Customization Tool does not seem to handle configuration mode properly when in debug mode, current values do not display properly.  Exiting debug mode, the configuration registers seem to work again.

TPS65981_2_7_8 Application Customization Tool

GUI Version :  6.1.2

 

And, when using the Application Customization Tool to set Transmit Source Capabilities - Source PDO - Maximum Current to 1A, many registers seem to be corrupted.  An extended power down seems to be the only way to reset.  When setting this register from my application over I2C on my board, everything seems ok.  So, the issue seems to be with the Application Customization Tool.

 

Thanks!

  • Hi Sam,

    I would recommending capturing PD logs for all of those cases and going from there.

    Also, for the App Config Tool, some settings cannot be configured when in Debug Mode as the PD controller is already running a valid patch program from the EEPROM and certain changes via the Tool are not allowed. I would also recommend making sure that the different project configurations are being loaded correctly each time to the EEPROM and then loaded correctly on the PD controller. You will also need to power cycle the PD each time you program a new configuration to see the new settings. 

    Thank you,

    Hari

  • Hari,
    I’ll try to acquire the Total Phase tool.
    We have not installed the EEPROM.  We are writing the registers 0x27, 0x28, 0x29, 0x32 each time we power on.  Is this not an acceptable approach?
    Thanks,
    Sam

  • Hi Sam,

    No, unfortunately, you will either need an EEPROM to program the configurations to or use an EC/Host to send the configurations to the PD controller upon boot up. I think after you use one of those 2 methods, you will be able to see the desired behavior.

    I would also recommend taking a look through the different app notes that are available on the TPS65987D product page as well as the tutorial videos, which are located at the bottom.

    Thank you,

    Hari