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: GPIO Events

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

HI,

my versions:

TPS65981_2_7_8 Application Customization Tool 

GUI Version :  6.1.3

Date of release : March 28, 2022

Supported Devices:
       
 TPS65981     :   1.12.11
 TPS65982     :   1.12.11
 TPS65986     :   1.12.11
 TPS65987DDH  :   F707.10.10
 TPS65988DH   :   F707.10.10

IC - part text:

TPS65987D
DH
TI 19F
S394 G4


For the first step in the project, I would like to make a "sink" configuration.

For reference, I check "Table 2-1. List of TPS65987D GPIO Events" in "slvae11a" - TPS65987D GPIO Events

1.) "High Current Contract Active Event" - Will this event make GPIO high when my sink get active any PDO active, except PDO0 which is initially 5V/0.9A.
1.1) I can't find this Event in Application Customization Tool.

2.) If I select "Port 0 Source Power Greater Than Threshold", will my sink make GPIO High when U and I from register 0x34 - Active Contract PDO result in greater power then are set in 0x28? I set in 0x28 reg Power threshold to 95W and when I get source data drom 0x34 reg. U=20V, I=5V nothing happens. 

3.) I have in configuration 3 PDO - Transmit Sink Capabilities 0x33. PDO0=5V/0.9A, PDO1 = (15-20V)/3A, PDO2 = 20V/5A.  I just get active "Port 0 Sink PDO 1 Negotiated" event also when I read 0x34 whit 20V/5A.
Any Idea why can't get the PDO 2 Negotiated event to work? Is any option to read which PDO number is active?

This is my testing configuration:
test_sink_whit_GPIO.pjt

Could be this related to issues whit configuration patch laod? My link on patch issues -> e2e.ti.com/.../4544534

Thanks, Mare

  • Hi Mare,

    Conner is currently out of office, but he will get back to you sometime this week. Thank you.

    Best Regards,

    Aya 

  • Thanks Aya!

    Conner,

    meanwhile, I was playing whit configuration.
    6835.test_sink_whit_GPIO.pjt

    I was able to produce a signal on GPIO for Port 0 Sink PDO 0 Negotiated, Port 0 Sink PDO 1 Negotiated, Port 0 Sink PDO 2 Negotiated. This was tested with USB-C-PD-DUO-EVM. I was trying to get "Port 0 Sink PDO 3 Negotiated" whit the "CHOETECH Model PD6008, 100W GaN Wall Charger", which offer 20V=5A, but without success. It is negotiated whit "Port 0 Sink PDO 2 Negotiated". I read 0x34 and get 20V and 5A. Do you see any issue whit my configuration, why in this case Sink PDO 4 is not negotiated?

    Regards, Mare

  • I found this thread. 

    https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1176496/tps65987d-tps65987/4429439?tisearch=e2e-sitesearch&keymatch=Summary%20TPS65987%20Issue#4429439

    It seems that the configuration of PDOs whit the same voltage is forbidden. Is that right? 
    So I made PDO2 whit 15V/3A and PDO3 20V/5A.

    Ok another problem.
    I would like to have inverted GPIO logic on Port 0 Sink PDO 2 Negotiated whit init state 0x1.

    It seems it doesn't work. It has noninverted logic.

    Can you confirm the issue whit "Inverted Event". (I understand "Inverted Event" as 0 -> on active event, 1 -> on NO-active event)

    Regards, Mare
  • Good Morning Marko,

    I will review your question and reply by EOB on the 20th.

    Regards,

    Conner

  • 1.) "High Current Contract Active Event" - Will this event make GPIO high when my sink get active any PDO active, except PDO0 which is initially 5V/0.9A.

    The output will only go high if the contract exceeds 5V at 0.9A.

    1.1) I can't find this Event in Application Customization Tool.

    https://www.ti.com/licreg/docs/swlicexportcontrol.tsp?form_id=302387&prod_no=TBTDEVICE-DESIGN&ref_url=app_psil_pi This GUI should have the event you need. 

    2.) If I select "Port 0 Source Power Greater Than Threshold", will my sink make GPIO High when U and I from register 0x34 - Active Contract PDO result in greater power then are set in 0x28? I set in 0x28 reg Power threshold to 95W and when I get source data drom 0x34 reg. U=20V, I=5V nothing happens. 

    I don't see any of your GPIOs mapped to "Port 0 Source Power Greater Than Threshold" in either of the provided project files.

    This is an inverted signal, per above image, so make sure initial value is set to 1.

    Please confirm you are using a 5A rated cable, otherwise the PD will limit the current to a default of 3A.

    3.) I have in configuration 3 PDO - Transmit Sink Capabilities 0x33. PDO0=5V/0.9A, PDO1 = (15-20V)/3A, PDO2 = 20V/5A.  I just get active "Port 0 Sink PDO 1 Negotiated" event also when I read 0x34 whit 20V/5A.
    Any Idea why can't get the PDO 2 Negotiated event to work? Is any option to read which PDO number is active?

    You are correct, if you have two PDOs with the same voltage, the first PDO will be chosen, so your 5A/20V PDO would never be chosen.

    4.) I was able to produce a signal on GPIO for Port 0 Sink PDO 0 Negotiated, Port 0 Sink PDO 1 Negotiated, Port 0 Sink PDO 2 Negotiated. This was tested with USB-C-PD-DUO-EVM. I was trying to get "Port 0 Sink PDO 3 Negotiated" whit the "CHOETECH Model PD6008, 100W GaN Wall Charger", which offer 20V=5A, but without success. It is negotiated whit "Port 0 Sink PDO 2 Negotiated". I read 0x34 and get 20V and 5A. Do you see any issue whit my configuration, why in this case Sink PDO 4 is not negotiated?

    You are correct, if you have two PDOs with the same voltage, the first PDO will be chosen, so your 5A/20V PDO would never be chosen.

    5.) Ok another problem.
    I would like to have inverted GPIO logic on Port 0 Sink PDO 2 Negotiated whit init state 0x1.

    It seems it doesn't work. It has noninverted logic.

    Can you confirm the issue whit "Inverted Event". (I understand "Inverted Event" as 0 -> on active event, 1 -> on NO-active event)

      

    This is the settings you would use to accomplish inverting the event.

    Regards,

    Conner Gillette