cancel
Showing results for 
Search instead for 
Did you mean: 

Transitioning from PR_SRC_Discovery to PE_SRC_Disabled is not happening

CZubi.1
Associate II

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.

4 REPLIES 4
Yohann M.
ST Employee

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.1
Associate II

Thanks Yohann. That fixed it for me.

Hi Yohann,

Is there a way to lessen nCapsCount?

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