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

USB EZ-PD™ Type-C Forum Discussions

daver
Level 1
First reply posted First question asked Welcome!
Level 1

We are trying to configure the CYPD3120 for a display port sink/UFP application with sink pin assignment C (and DP source device pin assignment not supported) We are using the EZ-PD configuration tool but it looks like FW may be over writing the tool setting for SVID 0 bits 15:8 which set the source device pin assignment.  The CYPD3120 always seems to change this field from 0x00 (not supported) to 0x10 (pin assignment E).  Can the device be set for this type of application via the EZ-PD tool or is a FW change required?

0 Likes
8 Replies
HmdRahmathulla
Moderator
Moderator 25 replies posted 25 sign-ins 5 solutions authored
Moderator

Hi,

Thank you for posting in infineon community.

For DFP selection we have dedicated GPIO to config. kindly look into the mentioned line in the program

HmdRahmathulla_0-1663584485145.png

 you have to use the GPIO to set the DFP configuration. it is executing else statement to assign the pin as E. 

changing the state of the GPIO will change the pin assignment.

 

Best Regards

Mohamed Rahmathulla

0 Likes
daver
Level 1
First reply posted First question asked Welcome!
Level 1

Thanks for the information.  Where is that code and how do we get it?  Thanks

0 Likes
HmdRahmathulla
Moderator
Moderator 25 replies posted 25 sign-ins 5 solutions authored
Moderator

Hi,

https://www.infineon.com/cms/en/design-support/tools/tools-archive/usb-ez-pd-host-sdk-archives/#!?fi...

DOWNLOAD - EzPdCCGxSdk_3.0.1_Setup.exe from the above link.

 

Note : it will support in lower version of Psoc creator . please download Psoc creator 3.3 with the below link .

https://www.infineon.com/cms/en/design-support/tools/tools-archive/psoc-creator-archive/#!?fileId=8a...

 

Thanks & Regards

Mohamed Rahmathulla

0 Likes
daver
Level 1
First reply posted First question asked Welcome!
Level 1

Thanks, with the FW changes we are now able to get a DP Configure / ACK DP configure with the DP sink set as an UFP with the correct pin assignments but a this point we think the sink should send a USB PD Attention command with the HPD state high but we aren't seeing this out of the PD controller.  Is there some additional configuration or pin control required to get the Attention command sent?

0 Likes
daver
Level 1
First reply posted First question asked Welcome!
Level 1

Additional information - when we toggle pin 35 on the PD controller we get the desired Attention command  with  the HPD state high.  Is there pin or registers status which indicates when the PD controller has reached a state where it is OK to send the attention command ?

0 Likes
HmdRahmathulla
Moderator
Moderator 25 replies posted 25 sign-ins 5 solutions authored
Moderator

Hi,

 please check the below link which will help to resolve. 

https://community.infineon.com/t5/USB-EZ-PD-Type-C/HPD-status-shows-low-with-CYPD-3120-solution-with...

Kindly share the PD command Log, so that it will help me to analyze this problem.

 

Thanks & Regards

Mohamed Rahmathulla

0 Likes
daver
Level 1
First reply posted First question asked Welcome!
Level 1

Hi Mohamed,

I don't know if you see the additional information posted above -  we are able to get the Attention command with the correct HPD state by toggling pin 35.  The question is how do we determine that the PD controller has received and ack'd the DisplayPort Configure command (so we know when to toggle pin 35)?

Thanks

0 Likes
HmdRahmathulla
Moderator
Moderator 25 replies posted 25 sign-ins 5 solutions authored
Moderator

Hi Daver, 

HPD change in State will trigger the PD controller to get the status message. but  you don't need to do it manually. 

if you connect the Display you will get the attention messages as follows 

* Discovery SVIDs (DFP to UFP)

* LIST of SVIDs (UFP to DFP)

* Display port Discover modes (DFP to UFP)

* List of Modes (UFP to DFP)

* Enter Display Mode(DFP to UFP)

* Enter Display Mode ACK (UFP to DFP)

 As soon as it configured as Display Port, the controller sent the ACK message and stay in the configured DP.

 

Please share me the PD Log, so that i will look into that and help you to solve.

 

Thanks & Regards

Mohamed Rahmathulla

0 Likes