CYPD3171 Sink only how to trigger VBUS OVP

Announcements

Live Webinar: USB-C adoption. Simple & Cost-efficient solutions | April 18th @9am or 5pm CEST. Register now !

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anderson_Lin
Level 2
Level 2
Distributor - Zenitron(GC)
10 replies posted 10 sign-ins 5 replies posted

Dear Sir

CYPD3171 Sink only how to trigger VBUS OVP ?

0 Likes
1 Solution
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi,

In EZ-PD configuration utility, under Power Protection- Overvoltage Protection, there is an option to configure the % threshold parameter. This parameter specifies the excess voltage margin ( above the rated voltage) that is allowed before OVP fault is triggered. It can take value between 5-100. For example, if you configure it as 20 % and VBUS level is negotiated at 5V, the monitoring will be up to 6V (5V+20%). In this case, if VBUS exceeds 6V, the OVP protection will disable the port.

CCG3PA datasheet (Page 5) says that " Port pins P1.0 and P1.1 can be configured to indicate Fault for
OCP/SCP/OVP/UVP conditions". Apart from this, as soon as OVP is signaled, the firmware will disable the port and re-enable it after a pre-defined time.  If the OV condition still exists, it goes through the disable-enable cycle again. This is repeated for a specific number of retries after which the port is temporarily disabled; it can be re-enabled through a hard reset/power cycle or by disconnecting/reconnecting the port partner.

You can also take a look at psource.c file (app_psrc_vbus_ovp_cbk) in the Power SDK firmware to understand the implementation.

Regards,

Mallika

 

 

View solution in original post

0 Likes
5 Replies
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi,

The OVP threshold and other parameters can be configured through EZ-PD Configuration Utility.

MallikaK_22_0-1621226183570.png

Kindly refer to the KBA: https://community.cypress.com/t5/Knowledge-Base-Articles/Fault-Protection-Schemes-in-CCG3PA-KBA23188... for detailed explanation and firmware parameters definitions.

Regards,

Mallika

 

0 Likes
Anderson_Lin
Level 2
Level 2
Distributor - Zenitron(GC)
10 replies posted 10 sign-ins 5 replies posted

Dear Sir

I need trigger VBUS OVP for verification FW OVP.

0 Likes
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi, 

I'm sorry but I'm unable to understand your query completely. Could you please elaborate.

As far as I understand, if you wish to verify the OVP functionality, you can set the threshold value in the EZ-PD Configuration utility. Please check the firmware parameters in the KBA pointed above in my previous response. You can configure the various parameters and verify. To understand the behaviour under OVP, please refer to the Implementation section under OVP in the KBA.

Regards,

Mallika

0 Likes
Anderson_Lin
Level 2
Level 2
Distributor - Zenitron(GC)
10 replies posted 10 sign-ins 5 replies posted

Dear Sir

How to building VBUS OVP test environment?

verification SDK(FW) OVP.

 

0 Likes
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi,

In EZ-PD configuration utility, under Power Protection- Overvoltage Protection, there is an option to configure the % threshold parameter. This parameter specifies the excess voltage margin ( above the rated voltage) that is allowed before OVP fault is triggered. It can take value between 5-100. For example, if you configure it as 20 % and VBUS level is negotiated at 5V, the monitoring will be up to 6V (5V+20%). In this case, if VBUS exceeds 6V, the OVP protection will disable the port.

CCG3PA datasheet (Page 5) says that " Port pins P1.0 and P1.1 can be configured to indicate Fault for
OCP/SCP/OVP/UVP conditions". Apart from this, as soon as OVP is signaled, the firmware will disable the port and re-enable it after a pre-defined time.  If the OV condition still exists, it goes through the disable-enable cycle again. This is repeated for a specific number of retries after which the port is temporarily disabled; it can be re-enabled through a hard reset/power cycle or by disconnecting/reconnecting the port partner.

You can also take a look at psource.c file (app_psrc_vbus_ovp_cbk) in the Power SDK firmware to understand the implementation.

Regards,

Mallika

 

 

0 Likes