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.

TPS65982 attached event

Other Parts Discussed in Thread: TPS65982, TPS65982-EVM

Hi,

I am using a TPS65982 in a new design. I want to activate an output when a cable is connected. 

There is an event called "ATTACHED_L_EVENT" which activates an output when a cable is plugged. 

But in the document slvuai9a the output is set to high for a plugged cable, in the document slvuah7a the output is set to low. What is the right configuration?

  • ATTACHED_L_EVENT is the opposite polarity of PLUG_EVENT.

    PLUG_EVENT = Active High = 1 when a Cable is plugged in.
    ATTACHED_L_EVENT = Active Low = 0 when a Cable is plugged in

    Either event can be configured with Push-Pull or Open-Drain architecture, and changing the architecture does not impact the polarity of an event. Therefore, when events are required with opposite polarity of an existing event, a new event must be created with opposite polarity.

    Since the opposite of Plug is Un-Plug, and ATTACHED_L_EVENT clearly is not the same as an Un-plug event, then a new name was made up.
  • Thank you for the answer. But there is an inconsistency between the document slvuah7a and slvuai9a.
    In slvuah7a:
    PLUG_EVENT = Asserted low when AUD_MODE_EVENT is enabled and audio accessory is attached
    ATTACHED_L_EVENT = Asserted low when Type-C port is connected

    In slvuai9a:
    PLUG_EVENT = This event will drive the associated GPIO high when the TPS6598x senses connection to a far-end UFP or DFP device
    ATTACHED_L_EVENT = This event is similar to “Plug Event” and drives the associated GPIO high when a far-end device is detected.

    For both documents ATTACHED_L_EVENT is not the opposite polarity of PLUG_EVENT.
  • I apologize for the confusing inconsistency across the 2 documents.

    I can assure you that both of these documents contain typos and these documents will be updated to reflect the correct GPIO behavior. However, I cannot get these documents updated faster than replying to this e2e Post, so please read the answer and feel free to verify on the TPS65982-EVM.

    slvuai9a is so close to being accurate, I will only change one word to make it correct below:

    "PLUG_EVENT = This event will drive the associated GPIO high when the TPS6598x senses connection to a far-end UFP or DFP device
    ATTACHED_L_EVENT = This event is similar to “Plug Event” and drives the associated GPIO high low when a far-end device is detected."

    L=Low.

  • Perfect thank you :)