Skip to main content
Visitor II
May 5, 2020
Question

Transitioning from PR_SRC_Discovery to PE_SRC_Disabled is not happening

  • May 5, 2020
  • 2 replies
  • 1354 views

Hi,

I have a non PD battery pack connected to our SRC. Stack would keep sending SRC Capabilities and stay in PE_SRC_Discovery state. Timeout for Hard Reset or NoResponseTimer Doesnt seem to be happening as I am not seeing a transition to PE_SRC_Disabled.

Is there a way to disable from dpm_user end to cleanly get the PE out of Discovery state?

log attached.

    This topic has been closed for replies.

    2 replies

    ST Employee
    May 5, 2020

    Hello,

    You can enter in the Disabled state in enabling flag 'PE_CapscounterSupport' as USBPD_TRUE in 'DPM_Settings' variable (defined in usbpd_dpm_conf.h).

    Regards,

    Yohann

    CZubi.1Author
    Visitor II
    May 5, 2020

    Thanks Yohann. That fixed it for me.

    CZubi.1Author
    Visitor II
    July 16, 2020

    Hi Yohann,

    Is there a way to lessen nCapsCount?

    ST Employee
    July 17, 2020

    Dear @CZubi.1​ 

    No, nCapsCount is defined in the specification and should be set at 50. This is the value we set in our library.

    Regards,

    Yohann