USB EZ-PD™ Type-C Forum Discussions
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 LessHello,
I am currently working on a project with the CCG3. Unfortunately, the negotiation of the USB-C connection does not work reliably. It comes to a HARD-RESET from the PC without any recognisable pattern. My device is configured as a pure sink (USB mass storage). The example project in PSoc 4.2 does not work properly either. Can anyone help me?
Show Less
I am drawing the architecture of our new system and have some questions about it:
1)Normally left board has 20V fixed supply and will provide 20V through TypeC port to the right board.
a)Vbus is directly tied to 20V over Mosfets, how cypd3176 gets 5V if the negotiations fail? Initially VBUS line should be 5V by the specification but I could not figure out how from CYPD3125`s reference diagram.
b)Can we go directly to 20V without stopping at 9V,12V,15V?
2)When the right board is not attached, we would like to connect PC to the left board and power uC. Is it possible in this configuration?
Thanks in advance.
Show Less
Hello
I am using CYPD3177 in my design. The issue is when I set Vmin/Vmax to 20V and the negotiation is completed there is a huge inrush current after FETS are enabled with VBUS_FET_EN and when my load is connected .
My question is : Is it possible to use VBUS_FET_EN to create some sort of delay and slow enable time of those back to back FETS so rise time on Vbus out slowly increase and do not create the issue with my load.
Or maybe there are other options to consider ?
Thanks
Show Less