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: configuration to support 15V/20V adapter

Part Number: TPS65987D

Hi Team,

May I know the configuration code of TPS65987D to support below function? Much thanks.

The PD only need to recognize 15V/3A and 20V/3A adapter, that means, only 15V/3A and 20V/3A adapter will close PD_VBUS(PP_HV1) and output power to speaker. If other adapter is presented, such as 12V/9V/5V, don’t close the switch of PD_VBUS(PP_HV1) .

 

Best Regards.

Wiky

  • Hi Wiky,

    To support this use case, an embedded controller would be required to send the SRDY command to only close the power path when a 15V or 20V adapter is connected. The TPS65987D would not support this without an Embedded controller sending these commands.

    Thank you,
    Eric

  • Hi Eric,

    We have an external flash, so an embedded controller can be saved. Could you guide us the configuration for that? thanks.

    Best Regards.

    Wiky

  • Hi Wiky,

    Even with an external flash, the TPS65987D does not support dynamically opening and closing the power path based on the PD adapter connected. An embedded controller would be needed to read the information from the PD adapter during run-time and send the SRDY command to enable the power path when a 15V or 20V adapter is connected.

    Thank you,
    Eric

  • Hi Eric,

    Understand. Could you help to share a simple flow to guide us how to configure? Customer is using this part at first time, need your kindly support at here. much thanks.

    Best Regards.

    Wiky

  • Hi Eric,

    I have installed Application Customization Tools and go through the user guide, a few questions here:

    1. what's the meaning of address here? I don't find any register map in TPS65987D datasheet or EVM user guide.

    2. Does the PP 1-4 meaning the power path 1-4? If yes, TPS65987D only have 2 channels back to back MOSFET, how to link to PP1-4?

    3. What's the meaning of SRDY? I can't find any description in datasheet.

    4. Except SoC command, how many items need to be configured to support customer requirement in Application Customization Tools? 

    5. Could you help to summary a simple flow and guide us how SoC supporting this feature? Any code example will be appreciated.

    Best Regards.

    Wiky

  • Hi Wiky,

    1. Please refer to the TPS65987D Host Interface Technical Reference Manual to see the register map of the 87D.

    2. PP1 and PP2 refer to the 2 internal power paths in the 87D. PP3 and PP4 refer to the 2 external PFET power paths controlled by a GPIO on 87D, these are optional. 

    3. SRDY is defined and discussed in the Host Interface TRM document: http://www.ti.com/lit/ug/slvubh2b/slvubh2b.pdf

    4. Only the SRDY command would need to be configured to control when the external power path is closed.

    5. There is no example code. The customer could use our interrupts to determine when a connection is made, they can then check the active contract and send SRDY if the active PD contract meets their needs to enable the power path.

    Thanks,
    Eric

  • Hi Eric,

    Thanks for your reply.

    I use Application Customization Tools and configure the Transmit Sink Capabilities and set sink PDO 0 is 5V/0.9A  and sink PDO 1 is variable sink with 15-20V/3A configuration, then save binary as .bin file. The configuration may not meet our requirement directly(5V also pass to system) but help us to avoid SoC to configuration. Right?

    I understand the GUI can download the .bin file to flash in TPS65987DEVM easily(Binary_> flash from binary file), but how to download .bin file to flash in customer board? 

    BR.

    Wiky

  • Hi Wiky,

    The .bin file can be saved by selecting Binary --> Save Binary. The GUI tool will then generate the full flash binary which can be loaded onto the customer board. You would need to use some other SPI programmer to program their board.

    Thanks,
    Eric