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: Difference in method of clearing IntEvent1 and IntEvent2

Part Number: TPS65982

Hi Team,

My customer would like to clarify the difference between  IntEvent1 and IntEvent2. And they found some unclear points in Host interface guide explanation. Please tell me the difference between IntEvent1 and IntEvent2 on clearing process.

1. Does InterruptAck affect to only IntEvent1?
2. if yes, Are there any way to clear IntEvent2 except IntClear2?

Regards,
Takashi Onawa

  • Takashi san,

    TPS65982 features dual I2C buses each with a configurable address - I2C Port-1 is comprised of I2C_SDA1, I2C_SCL1 and I2C_IRQ1Z pins. I2C Port-2 is comprised of I2C_SDA2, I2C_SCL2 and I2C_IRQ2Z pins. These interfaces provide general status information about the TPS65982, as well as the ability to control the TPS65982 behavior, as well as providing information about connections detected at the USB-C receptacle and supporting communications to and from a connected device, cable supporting BMC USB-PD, or both.

    IntEvent1, IntMask1 and IntClear1 correspond to I2C Port-1.

    Please specify what is not clear to your customer in Host Interface guide, and I'll help.

    -/Praneet
  • Hi Kumar-san,

    Thanks for your prompt response on this.

    My customer utilize IRQ2 for hardware interrupt separately from IRQ1 to minimize a latency. In their system I2C port is only connected to EC. So they want to clear the Event on IRQ2 through port1 I2C communication.

    They want to use InterruptAck bit to clear the IRQ2 event but the Host interface guide says;
    >InterruptAck When set, causes IntMask1 value to be written to IntClear1 (clearing all interrupt events).

    So they want to clarify whether the clear function is only effective to IntEvent1 or not. Or looking for similar function for IRQ2.

    1. Does InterruptAck affect to only IntEvent1?
    2. if yes, Are there any way to clear IntEvent2 except IntClear2?

    Regards,
    Takashi Onawa
  • Kumar-san,

    Could you give me any comments?

    Regards,
    Takashi Onawa
  • Takashi san,

    A1: Yes - Its applicable for I2C port-1 only.
    A2: No - IntEvent2 shall be cleared using IntClear2 register.

    -/Praneet
  • Takashi san, I'm closing this thread - For additional queries on the topic, start a new thread w/ references to the current one for us to track it better.

    -/Praneet
  • Hi Kumar-san,

    Sorry, I forgot to close this thread, I will do ti soon.

    Regards,
    Takashi Onawa