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.

TPS65987D: Application Configuration GPIO Event Settings

Guru 29720 points
Part Number: TPS65987D

Hi Team,

I have TPS65987EVM and worked out "3.2 Application Configuration GPIO Event Settings" in page 7.
http://www.tij.co.jp/jp/lit/an/slvae11/slvae11.pdf

I could confirm TPS65987D transmit new source capabilities however GPIO polarity is opposite to the application note.
--------------------------------------------------------------------------
                               (application note)   (actual result)
GPIO High to Low:       VBUS= 5V          VBUS= 9V
GPIO Low to High:       VBUS= 9V          VBUS= 5V
--------------------------------------------------------------------------

Could you look into it?

Best Regards,
Yaita

  • Hello Yaita,

    Would you be able to share your configuration file so that I may take a look through it?
  • Hi Adam-san,

    I attached .pjt file.

    8540.SII_config3.pjt

    I assigned GPIO5 to "Port 0 Load App Config 1 Event" and applying High or Low externally to confrim operation.
    The result is the following.
    --------------------------------------------------------------------------
                                   (actual result)
    GPIO5 High to Low:    VBUS= 15V  <- expexted result is VBUS=5V
    GPIO5 Low to High:    VBUS= 5V  <-  expexted result is VBUS=15V
    --------------------------------------------------------------------------

    The result shows GPIO polarity is opposite to expected.

    Best Regards,
    Yaita

  • May I have your comments?
    Your support would be appreciated.

    Best Regards,
    Yaita

  • Hello Yaita,

    Appologize for the late reply. Looking through your configuration that you shared, the results that you are seeing make sense as your project is setup for the following

    GPIO5 High to Low:    VBUS= 15V 
    GPIO5 Low to High:    VBUS= 5V 

    If you would like to see other behavior, you can swap the app config mask

    Hope this helps answer your question. If so, please click THIS RESOLVED MY ISSUE

  • Hi Adam-san,

    Thank you for your support.

    Do you refer GPIO Low transition goes "Virtual Address 2" is expected behavior when the following is set?
    I think it can cause confusion because I understand GPIO low transition equals "Virtual Address 1" when the following is set.



    Best Regards,
    Yaita

  • Hello Yaita,

    Apologize if my description was confusing. I am saying that with the configuration that you shared with me, the results highlighted below make sense as that is how the configuration is set.
    GPIO5 High to Low: VBUS= 15V
    GPIO5 Low to High: VBUS= 5V

    -----------------------------------------------------------------------------------------

    If you would like to have the results shown below, then you will need to change the configuration to where App Config Mask GPIO Low Transition goes to Virtual Address 2 and App Config Mask GPIO High Transition goes to Virtual Address 1
    GPIO5 High to Low: VBUS= 5V
    GPIO5 Low to High: VBUS= 15V