Skip to main content
RHo.1
Associate
Jan 11, 2021 4:44 PM UTC
Question

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

..

    This topic has been closed for replies.

    4 replies

    Winfred LU
    ST Employee
    Jan 12, 2021 5:48 AM UTC

    GPIO pin can be used for application specific purpose.

    RHo.1
    RHo.1Author
    Associate
    Jan 12, 2021 4:35 PM UTC

    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
    Jan 13, 2021 1:48 AM UTC

    Not possible as far as i understand.

    RHo.1
    RHo.1Author
    Associate
    Jan 13, 2021 8:50 AM UTC

    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?