USB EZ-PD™ Type-C Forum Discussions
Hello 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 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 LessI 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 LessHi,
I have placed the CYPD3176 on a PCB and I would like to configure it with EZ-PD and program it with PSoC Programmer.
Can you provide a hex file please?
I also have the CY4534 EVK. When I connect the MiniProg to it, I cannot program it with PSoC Programmer as I do not have the hex file. I also cannot configure it with EZ-PD with the MiniProg connector.
Ideally I would like to test changing the OVP settings and program the device on the circuit board.
Show LessI am looking for CYPD3123 technical reference manual.
In the process of analyzing the source code of CCG3,
volatile uint32_t uvov_ctrl; /* 0x400a01c8 */
volatile uint32_t csa_ctrl; /* 0x400a01cc */
volatile uint32_t vreg_ctrl; /* 0x400a01d0 */
There are registers above, and I am looking for a manual that explains the registers.
Does anyone know where I can find it?
I am using the Infineon CY4535 EZ-PD evaluation kit to power a 5V, 3A device from a USB-C source. I find some portions of the documentation to be confusing and want to be sure I correctly understand what it means.
This schematic from the user manual shows the default minimum voltage (VBUS_MIN) setting of 5.0v from the factory:
And Table 3 describes how to alter the minimum voltage:
There is also some text that provides an example that is different from the default:
For example, if the divider on VBUS_MIN is set to 9 V (i.e. R14 = 5 kΩ pull-up, R13 = 1 kΩ pull-down) and...
So the text example clearly uses the second row from the table and is easily understood. But why is there a "0" in the table for R13 on the 5v setting but a 10kΩ resistor in the schematic? A multimeter confirms that there is indeed a 10kΩ resistor in R13 from the factory, and R14 is not populated.
The values given in the tables describing ISNK_COARSE/FINE configuration are similarly confusing. The device is set to 900mA by default from the factory, and a multimeter confirms the device I received matches these schematics:
But in Tables 3 and 4, a "0" seems to mean both a 10kΩ resistor for R17 and a 5kΩ resistor for R20:
After reviewing the documentation for the CYPD3178-24LQXQ on the evaluation board, it seems that the ratio of the resistors is more important than the values of the resistors themselves. This makes sense since it's a simple voltage divider network. But the choice to use "0" in these tables in columns labeled "kΩ" where 5kΩ and 10kΩ resistors appear in the schematics is confusing.
I'd also like to confirm that my planned implementation is correct to power a 5v 3A device:
VBUS_MAX = 5v
SW1: position 1
VBUS_MIN = 5v
R14: NP
R13: 5kΩ
(factory default)
ISNK_COARSE = 3A
R19: 5kΩ
R17: 5kΩ
ISNK_FINE = 0A
R20: NP
R24: 5kΩ
I seem to be unable to read or upgrade firmware using the EZ-PD Configuration utility. I'm following the "EZ-PD CCG3PA Evaluation Kit Guide" as well as the datasheet for CYPD3175. My configuration is as follows:
The EZ-PD Configuration Utility is able to recognize my custom PCB that I have programmed using MiniProg3.
When I try to read it fails.
When I try to update firmware it fails.
I believe the boot loader is one that was in the installation directory of pSoC creator: CYPD3175-24LQXQ_cc_src_boot_3_5_0_2636_0_0_0_pa.hex
This is the top level design:
Show Less
I am designing a board with that leverages DisplayPort over USB-C and hope to use the CYPD3120 part.
The connectivity is - PC (DP source) -> DP to USB-C cable (with external connector heads for VBUS power and USB 2.0) -> custom board (USB-C receptacle) -> CYPD3120 (DP ALT mode and PD controller) -> DP sink IC.
According to the DisplayPort ALT mode spec(v2.1), there is a USB 2.0 billboard device requirement to present the sink capabilities to the host (PC). In this scenario, given I am using DP to USB-C cable, is the billboard device implemented there? How does the cable advertise its downstream capabilities to the host over DP (perhaps over the AUX channel)? Is this BB device not necessary at all given the PC connection is through direct DisplayPort and not USB-C?
If the BB device is incorporated on the cable/not needed, am I free to NC the USB 2.0 connection on CYPD3120 (I have a need for the connection to an on board MCU device)? Thanks.
Show Less