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.

TPS65981: GPIO Control over I2C

Part Number: TPS65981


Hello,

I am using the events in the application customization tool for some of the GPIO but want to use additional GPIO over the I2C interface.  I wanted to confirm the following:

1.) Can I set the GPIO over the I2C interface to control resetting a downstream IC?  This means one of the GPIO will be an output active high signal

2.) Will setting the GPIO over I2C mess up the event based GPIO that I want to keep connected to the event based state machine?

Thank you,

Jason 

  • Hi Jason,

    Are you trying to control a GPIO pin via I2C or using the I2C pins to output high as a GPIO? I don't think you may be able to use additional GPIO because some are reserved for certain applications. For example DEBUG_CTL1/2 which are GPIO pins used for checking conditions on I2C pins. 

    Thank you,

    Hari

  • Hello,

    I am trying to use the I2C bus to control a GPIO.  In addition I need to make sure the GPIOs I am not touching do not have their "mapped events" changed when I read / write the IO state.  Can you confirm I can do this?

    -Jason 

  • Hi Jason,

    You may be able to control the GPIO pins via I2C, however, if those GPIO pins are also configured for mapped events then I can't confirm they will operate correctly. You may have to disable the mapped event for the GPIO that you would like to control via I2C.

    Thank you,

    Hari

  • Hari,

    Sorry for not being clear.  I have a GPIO that is not mapped to a mapped event that I want to control and then I have the other collection of GPIOs that are mapped to mapped events.  I was not asking if I can control a GPIO that is also mapped.  I was asking if I can control a GPIO that is not mapped but at the same time not affect the mapped GPIOS that are already handled.  

    Thanks,

    Jason 

  • Hi Jason,

    If that's the case, then yes, I believe you should be able to configure the GPIO as you would like to without interfering the mapped GPIO events for the other pins, as long as they are not the same pins. 

    Thank you,

    Hari