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.

TPS65988: Individual port trigger events for I2C master of TPS65988

Part Number: TPS65988
Other Parts Discussed in Thread: TPS55288

Hi,

I'm trying to program TPS65988 that should control two power supplies (TPS55288) for each of two USB ports using I2C commands. I've read both relevant documents (SLVAEQ7 and SLVAE18) which describe how to do it, but here is what I still don't understand:

How can I change output voltage on each of the power supplies individually? I know, that there are "Source PDO X Negotiated" trigger events, but it doesn't seem like they can differentiate which port exactly have just negotiated about new power delivery option. I mean, I've set PDO 1 on port 1 and on port 2 in Transmit Source Capability section. Now, how do I make TPS65988 not to send an I2C command to the power supply of port 1 after PDO 1 has been negotiated on port 2?

Also, in SLVAE18, page 6, it's said "Fill the Common I2C Records for I2C events and slaves which are common to both the ports and for port specific events fill Port x I2C records.", but I don't see any port specific events there. In my opinion, all trigger events are common to both ports. Or is there a way how to make them port specific?

I haven't tested my code yet, so I can't comment on how it performs, it's more of a preventive question.

The project is attched to this message, if needed.

Regards,

Pavels.

Test FW.pjt

  • Pavels,

    You are very close in your configuration, but as you suspected there is one more step that you need to address to make the 2 ports function as intended:

    You need to map the I2C events to the appropriate port by using the APP Config Binary Data Indices (0x62) register.  This lets you assign specific I2C events to each of the 2 ports.

    You need should move the Power On Reset event that you have at Record Indexs 2 and 4 into the Port 2 Record space.  In this capture, I created events 1 to 5 for Port 1 and 6 to 10 for Port 2.  Once you have the POR events split up, then you can copy the Source PDO1 Event so that you have one in the 1-5 space and the the same event in the 6 to 10 space.  This way each of the 2 ports operates on the events specified.

    With this small change, you configuration should work.

    Regrads,

    Chuck

  • Ok, thank you very much for your help!