USB EZ-PD™ Type-C Forum Discussions
Hi,
I am using the CYPD3120 as a USB-C DP sink (block diagram shown below). For firmware, I am using the EZ-PD CCGx 3.0.1 SDK, USB-C plug to DP dongle, per recommendations from others here.
Given the default configuration is for a pinout E and USB-C plug application, I am having a bit of trouble modifying the necessary FW components for my use case.
1. SVID - Modify SVID in EZ-PD configuration utility to match USB-C receptacle - 0x40045
2. Modes supported - Modify DP Mode Parameters in configuration utility to support mode C only
3. datamux_ctrl.c - modify bool mux_ctrl_set_cfg( uint8_t port, mux_select_t cfg, uint8_t polarity) to disable internal PU/PD resistors on AUX (given I have external populated)
Is there anything else? I am unable to get a response from the DP sink on the AUX lines to even start DP Alt negotiation and I suspect there may be something incorrect about my firmware configuration. Upon probing AUX_P and AUX_N, I am reading 0V on AUX_P and 3.04V on AUX_N.
Show Less
PMG1-S3 _のVBUS_IN_CTRLおよびVBUS_OUT_CTRLについて教えていただけないでしょうか。
------------------------------------------------------------
EZ-PD™ PMG1-S3
------------------------------------------------------------
①VBUS_IN_CTRLおよびVBUS_OUT_CTRLはそれぞれ何Vでの出力になりますでしょうか?
MOSFETのゲート駆動電圧であるためVBUS_IN_CTRLはVBUS_OUT_NGDOに対しての電圧でVBUS_OUT_CTRLはVBUS_IN_NGDOに対しての出力となり10V以上の電圧が出るのではと考えています。
データシートから読み取ることができなかったためご教示いただけますと幸いです。
②VBUS_IN_CTRLおよびVBUS_OUT_CTRLはそれぞれUVLOなどの保護機能はついておりますでしょうか?
その場合UVLO電圧もご教示いただけますと幸いです。
以上です、よろしくお願いいたします。
Show Less
I'm working with CCG3PA, I have requirement to change type C non PD Rp level.
- In type C PD i'm able to change Rp level using "pd_typec_en_rp( );" Function, but in type C non PD pd_typec_en_rp( ); function has no effect on Rp level, So where we can modify to change different Rp levels in non PD Type C ?
- Also suggest a way to change rp when non pd sink is attached to ccg3pa
- In that Non_PD_type_C file first i set that Rp level and then set into non PD Type c after set to type C it will come to default Rp level.
- For Type_C_PD_SRC_SNK it will work different Rp level
Hello,
I have a question: We have a portable device with USB B and FTDI FT232RNL and (8 bit MCU) powered by an adapter. Thanks to the EU we have to implement USB C in it. Our current design is with USB C, FTDI FT232RNL for usb 2.0 D+ D- communication and UTC2000 to handle USB C, power and data with USB C. We have a finished prototype and the USB C power supply works (1A) as well as data transfer with PC. But we are now solving backward compatibility to USB A to PC, so that users can connect our devices to PC and use the program even if they don't have USB C connector. There is a USB C to USB A cable that has a 56 kΩ resistor Rp in it from CC to Vbus. But can't it somehow damage the pc? Without the cc pin I can't get the current I want.. We then thought of another option and that is to keep USB B for data transfer for people who don't have USB C and instead of the power connector put USB C which would also handle data, this would then require some kind of multiplexer to transfer from 2 USB to 1 MCU. But this option takes more space and components..
Has anyone solved this problem of transferring data and power from a USB C device to a USB A PC ?
Thank you for your advice.
Show LessHello,
I have an application where I have to connect the data lines to a SOM unit for USB high-speed connection and connect the CC line to CYPD3177 to set the voltage. Is it possible to keep the data connection to SOM and connect the CC line connected to CYPD3177 to set the USB voltage at the same time?
Another thing is that, I want to reduce the time we spend on programming, and for that reason I do not want to use the i2c line and use resistors only to set the voltage (it's going to be fixed at 12V or 15V), should I leave the i2c float or connect the pull up resistors?
Thanks!
Show LessHi,
I need example project code to start my development of PMG1-S2. The function includes
1.Support DisplayPort Alternative mode (DP sink).
2.Support USB Billboard class.
3.Support firmware update of PMG1-S2 through USB full-speed interface.
4.Support I2C master interface to control MUX.
5.There is host side software utility used to update PMG1-S2 firmware through USB full-speed interface.
Where can I find its SDK example project with above function to start developing?
Regards,
Kyle
Show LessHello Infineon community.
Im currently working on a project with a TUSB1046 instead of a PS8740.
Changing the device adress and some registers worked for me to get the I2C_Write function working.
I was trying to get a read function based on the write function to work but its not working sofar.
the Write function in "datamux_ctrl.c" uses "MUX_CTRL_TX_FIFO_WR_REG" to transfering the Register address and Data to the TUSB.
But when i try to read it stays empty, on the other hand, the "MUX_CTRL_RX_FIFO_RD_REG" gets flooded with 0xFF's.
Following the instructions for I2C in the TUSB1046 manual:
- generate a start condition (S) with Device-slave address and a Zero-value "W/R" bit .
- wait for ACK from TUSB.
- write the sub-address i want to read from.
- wait for ACK from TUSB.
- terminate operation with a stop condition (P)
- generate a start condition (S) with Device-slave address and a one-value "W/R" bit .
- wait for ACK from TUSB.
- one byte of data should now arrive at TX/RX register and the TUSB1046 should be waiting for an ACK or NACK.
- Generate a NACK.
- terminate operation with a stop condition (P)
The full code-snipped is in the attached text file.
Show LessOut-of-the-box, plugged USB B controller cable into CY4500 J7 and PC - LED turned on steady white. Unplugged it, connected male USB C (J3) to unpowered target, reconnected J7 to PC, and LED blinks 10 times and stops.
Installed EZ-PD Protocol Analyzer 4.0.0 for Windows as administrator. Running this indicates firmware update needed. Running the firmware update tool as administrator says the device is not connected.
Repeated the above sequence with EZ-PD Protocol Analyzer 3.1.0.
Tried a clean laptop, first installing 4.0.0, then plugging in J7 of CY4500 to PC. Consistently get the sound indication of USB-device-recognized, still get 10 flashes, still the firmware updater saying the device is not connected.
Help would be very much appreciated. Thank you.
Show LessHi,
I am using the CYPD3120 in a custom USB-C receptacle to DP sink design (4x DP1.4 lanes). This board will have an external MCU onboard, and given we are not using a redriver or high speed switch (such as TUSB564) on the 4 data lanes, the MCU will need to know when the USB-C cable is flipped to also flip the lane polarity at the DP sink directly.
Is there an accessible interface on CYPD3120 that allows access to read/write registers from an external MCU? I see examples of I2C (pins 36, 37) connected to an external controller on the CYPD3125 application note, but I am not sure if something similar applies to CYPD3120. Where could I go to read more about how this interaction is done?
Thank you,
Brian
Show Less