USB EZ-PD™ Type-C Forum Discussions
Hi,
I programmed a CYPD3125-40LQXI with the hex code from a reference project "CYPD3125-40LQXI_notebook", then powered my project board with an external 5v and 3v power supply. The VBUS power is not used in the project board.
The project board has the CYPD3125 and a USB hub circuit. The USB hub's upstream port is connected to the USB2.0 DP1 and DN1 in the USB-C connector.
Then I connect the USB-C connector in the project board to a laptop computer's USB-C connector, I found the USB hub is not working correctly (but looks like receiving signals from the laptop as the USB hub's LED keeps flashing) . I also found the VBUS_P_CTRL0 and VBUS_P_CTRL1 changed output voltage from 3.6v to 4.4v.
I checked the USB hub circuit by connecting the USB hub's upstream port to a USB A port in a desk top computer. It works perfectly.
Please advise why the firmware of the reference project does not work.
Thanks,
Derong Yuan
Show LessHi,
I have designed a circuit with CYPD3125, a Dp-to-HDMI converter, a USB hub controller and a DC power regulator. The PCB is ready but later found the SDK project "CYPD3120-40LQXI_dp_dongle" firmware can not be changed for CYPD3125 controller but can be changed for CYPD3123 controller. I do not see the functional difference between two controller but can anyone tell me if I can use CYPD3123 to replace the CYPD3125 for my application circuit below:
1. The upstream signals DRX0P,DRX0N, DRX1P,DRX1N, DRX2P,DRX2N, DRX3P,DRX3N of the Dp-to-HDMI converter are directly connected to a USB-C connector but the signals AUXP, AUXN of the Dp-to-HDMI converter are connected through CYPD3125 to the USB-C connector.
pin 11 of CYPD3125 ----------------->AUXP
pin14 of CYPD3125 ----------------->AUXN
pin12 of CYPD3125 <----------------SBU1 (pin A8) of USB-C
pin13 of CYPD3125 <----------------SBU2 (pin B8) of USB-C
2. D+ (pin 21) ,D- (pin 22) of CYPD3125 are connected to a USB hub downstream port. The upstream port of the USB hub is connected to DP (A6), DN (A7) of the USB-C
3. the USB hub controller, Dp-to-HDMI converter and CYPD3125 are powered by an external power supply and must be turned on before connecting to USB-C connector.
4. CYPD3125 needs to talk with a smart phone plugged in the USB-C and let the phone to transmit video through the Dp-to-HDMI converter.
5. CYPD3125 turns on an NMOSFET to charge the smart phone.
Thanks,
Derong Yuan
Show Less
What's the slave address of CCG3' I2C2 port(GPIO3.4、GPIO3.5),when used as slave I2c?
Hello
Once the sample FW is written to the CY4532 kit, the connetione will not be 2 as attached.(USB Type-A to Micro-B) cable connected to J12 on the CY4532 EVK power Bard). Q)How can I return CY4532 to its initial state?I want to return to the same state as attached
Best Regards
Arai
Show LessHi,
In PSoC Creator 3.3 I tried to change the device name in the project "CYPD3120-40LQXI_dp_dongle" from CYPD3120-40LQXIT to CYPD3125-40LQXIT I got the following error message in building:
1. pft.M0076: The selected device for the Bootloader and Bootloadable projects must match, but don't. Bootloader is targeting 'CYPD3120-40LQXIT' and Bootloadable is targeting 'CYPD3125-40LQXIT'.
2. cdf.M0005: CyDsFit aborted due to error, please address all errors and rerun CyDsFit.
I found somebody else had the same problem in the Cypress forum and was told to "Change in your bootloadable the reference."
Could you please advise how to make the change?
Also I found the file boot.h has an error in 258 line: bool boot_start(void); Could you tell me if it is a wrong file?
The project "CYPD3120-40LQXI_dp_dongle" is downloaded from Cypress website.
Thanks,
Derong Yuan
Show Less
Please find attached.
CC communication log (CY4500) on a board equipped with iPad Pro 2018 and CCG3PA.Since the CCG3PA side operates only as a Power Source (5V 3A), the ipadPro 2018 should charge.But, It is not charged and VBUS output stops.
Q1) HARD-RESET occurs in several places in the log. Could you please tel lme the cause of this message?
Q2) Also, are there any places on the log that seem to be performing strange operations other than HARD-RESET?
(In Japanease)
iPadPro2018とCCG3PAが搭載された基板でのCC通信ログ(CY4500)となります。
CCG3PA側は、Power Source(5V 3A)のみとして動作しますので、ipadPro2018は充電さるはずですが、
充電されず、且つVBUS出力が停止します。
Q1) ログに HARD-RESETが数か所現れますが、このメッセージが表示される原因として考えられる事はありますでしょうか?
Q2) 又、ログ上 HARD-RESET以外でおかしな動作をしていると思われる個所がありますでしょうか?
Best Reagrds
Arai
Show LessHello,
I am working on a USB hub based application & using CYPD3125 Notebook solution project as a reference.
1. Does a successful execution of dpm_update_port_config() invoke eval_pr_swap()?? If no, what event calls eval_pr_swap()?
2. In a similar way i would like to know the state-machine/call-events for the functions registered to the app_cbk_t structure.
Thanks in Advance
Jai
Show LessHi,
I am using a custom solution for the CYPD3175, modifying the CYPD3171-CLA sample. The PD profiles are sent to the device over I2C, I want to set the current limits over I2C as well but am having an issue finding where in the API the parameters for current limits must be set.
I thought that using the function call:
psrc_set_current(0,100);
Would set the port 0 current limit to 1A, but when I draw 2A on the port, the current limit is not triggered (shutdown of Vbus)
I have set the Rsense to 5mR which is what we are using.
#define VBUS_CSA_RSENSE (50u)
I would appreciate some guidance on how to set the parameters via the PD API so that the Alert flag is set and the Vbus is disabled when a value is exceeded.
Regards
TG
Show LessI have searched a little on this topic, but was not able to find any detailed specific answers.
I am attempting to change the receptacle to a plug (captive cable?) on the CCG2 evaluation kit.
While I won’t physically swap out the connector, using a gender mender to change the gender of the connector for conformation purposes.
There are some sample applications, such as the charge through dongle, that use plug instead of a receptacle and I have looked at these, but, I believe it requires some electrical connection changes.
For instance, CC1 on the CCG2 is connected, but CC2 on the CCG2 is not connected.
Does VCONN on the CCG2 need to be connected?
Can this be confirmed what needs to be change to connect the CCG2 evaluation kit directly to a USB-C smart phone (think like a power bank solution with a fixed USB-C cable instead of a USB-C receptacle.
I have located several points in the logic of the CYPD2122-24LQXIT-notebook sample such as…
usbpd.h
/* Adapter Connection Configuration */
#if (ADAPTER_CONFIGURATION == TYPE_C_RECEPTACLE)
#define RECEPTACLE_SUPPORTED_INC
#endif
#if (ADAPTER_CONFIGURATION == CAPTIVE_CABLE)
#define CAPTIVE_CABLE_SUPPORTED_INC
#endif
/**
* CC Configuration
* DUAL_CC
* SINGLE_CC
*/
#ifdef RECEPTACLE_SUPPORTED_INC
#define CC_CONFIGURATION (DUAL_CC)
#endif
#ifdef CAPTIVE_CABLE_SUPPORTED_INC
#define CC_CONFIGURATION (SINGLE_CC)
#define CABLE_DISCOVERY_DISABLED
#endif
main.c
#ifdef CC_CONFIG_SINGLE_INC
gl_cable_dsc_disabled = true;
#endif
#ifndef CC_CONFIG_SINGLE_INC
cbl_discovery();
#endif
I have tried several modifications, including adapting the CYPD2134-24LQXI_power_adapter to the CCG2 evaluation kit, but the USB-C PD negation does not begin when the device is connected.
I am just looking for some brief guidance what would be required if I swapped the receptacle out for a plug on the CCG2 evaluation kit using the CYPD2122-24LQXIT-notebook sample code.
Some guidance would be greatly appreciated.
Sincerely,
Allan
Show Less