CCG5 Host SDK - UVP / SCP

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
Ivan_Lee
Level 5
Level 5
Distributor - Zenitron(GC)
100 replies posted 5 likes given 100 sign-ins

The Cypress EZ PD™ CCG x Host SDK User Guide  :

  • The key features of CCG x notebook port controller solution s are:
    ▪ Compliant to USB PD specification Revision 3.0 Version 1. 1
    ▪ Compliant to USB T ype C Specification Revision 1.2
    ▪ Support Type C VBUS OVP and OCP.

 

The SDK document doesn't mention about UVP / SCP supported , Why does SDK can't support UVP / SCP ,

and how to eanble UVP and SCP ?

0 Likes
1 Solution
Sananya_14
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi Ivan,

Please follow the steps below to enable UVP in the latest Host SDK project-

  1. Add VBUS_UVP_ENABLE and set it to 1 in config.h
  2. Set VBUS_UVP_MODE to VBUS_UVP_MODE_INT_COMP_AUTOCTRL in config.h
  3. Enable the UVP related parameters in the EZ-PD Configuration utility by creating a new configuration of "Generic" type as shown below. The debounce should ideally be about 10us and threshold should be set to 20 (%) or higher.

CCG5_Generic_config.PNG

 

Please test it and let us know if there are any issues.

Best Regards,

Sananya

View solution in original post

0 Likes
3 Replies
Sananya_14
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

UVP feature is usually supported in source-only applications and as mentioned in the User Guide, the UV comparator is unused in the default CCG5 firmware and can be enabled if required. The SCP feature is not supported by the CCG5 hardware and hence cant be enabled in the firmware.

Best Regards,
Sananya

0 Likes
Ivan_Lee
Level 5
Level 5
Distributor - Zenitron(GC)
100 replies posted 5 likes given 100 sign-ins

Hi, Sananya ,

How to enable UVP feature? i didn't see any related definition about UVP in config.h

BR

Ivan

0 Likes
Sananya_14
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi Ivan,

Please follow the steps below to enable UVP in the latest Host SDK project-

  1. Add VBUS_UVP_ENABLE and set it to 1 in config.h
  2. Set VBUS_UVP_MODE to VBUS_UVP_MODE_INT_COMP_AUTOCTRL in config.h
  3. Enable the UVP related parameters in the EZ-PD Configuration utility by creating a new configuration of "Generic" type as shown below. The debounce should ideally be about 10us and threshold should be set to 20 (%) or higher.

CCG5_Generic_config.PNG

 

Please test it and let us know if there are any issues.

Best Regards,

Sananya

0 Likes