Skip to main content
RHo.1
Associate
January 11, 2021
Question

Is it possible to take control of VBUS_EN_SNK pin from software using i2c on STUSB4500?

  • January 11, 2021
  • 2 replies
  • 867 views

..

    This topic has been closed for replies.

    2 replies

    Winfred LU
    ST Employee
    January 12, 2021

    GPIO pin can be used for application specific purpose.

    RHo.1
    RHo.1Author
    Associate
    January 12, 2021

    Thanks for the reply @Winfred LU​. The GPIO pin is already being utilized elsewhere in my application.

    I want VBUS_EN_SINK pin to act as an on/off switch.

    Software control from main mcu using i2c would allow me to override and take control of it... is this possible?

    Winfred LU
    ST Employee
    January 13, 2021

    Not possible as far as i understand.

    RHo.1
    RHo.1Author
    Associate
    January 13, 2021

    I might have a hack for this...

    1. enable Power Above 5v Only.
    2. explicitly tell STUSB4500 to negotiate PDO1... and ignore PDO2 & PDO3.

    @Winfred LU​ Will the above sequence work to disable power? If yes... can this be performed dynamically?