USB EZ-PD™ Type-C Forum Discussions
Without any modification, the CYPD4225-40LQXI_notebook project does not compile and generates a linker script error:
Build error: error: lto-wrapper failed: cm0gcc.ld
I am using PSoC creator 4.2
There were a few other errors but I was able to clear them up by updating the components.
I found this KBA but I am not sure it applies to the specific CCG4 chip on the evaluation board:
Build CCG4M Project Using CCG4 Project in SDK 3.0.1 and Later Versions – KBA219845
If it does, please let me know.
Thanks!
Julio
Show LessHow to deal with pin_40\pin_39\pin_2\pin_1\pin_30\pin_29\pin_32 of CYPD3120-40LQXIT if I don't use them?
I own a Cable Matters 201046 (USB-C Multiport Adapter with 4K 60Hz DisplayPort), but since I'm experiencing issues with power delivery I'm trying to update the firmware as per the Cable Matters KB article #103.
However, I can not get the adapter to run in ‘update mode’. I have installed the Cypress Configuration Utility, run it, plug in the adapter without PD, and then it simply gets recognized as USB adapter, not as 'USB BRIDGE'.
Some things I've tried to solve the issue:
- Run the Configuration Utility as Administrator (as opposed to no elevation)
- Connect the adapter with PD (as opposed to without)
- Connect the adapter with an USB device attached (as opposed to without)
- Connect the adapter on both USB2 and USB3 ports
- Connect the adapter to multiple Windows 10 x64 machines
- Update the Configuration Utility to the latest version via the built-in update manager
I expect the Configuration Utility to not intercept the adapter connecting and instructing the bootloader to start in 'update mode', but I'm unable figure out how to fix please. As such, I'm kindly requesting your assistance.
Show LessI saw the VDDD pin of CCG3 can be used as power output,How large current can it carry?
[前提条件] BCR側設定
Power Role: Sink only
Sink PDO: 5V/15V/20V with 3A
上記設定のBCRと、27W出力(15V/1.8A出力出せる電源)のソースとType-C接続した場合について教えて下さい。
Q1)ソース側のパワールールの電流は無視し、15V/3Aのリクエストを投げる動作を行う?※1.8Amaxを無視してSinkPDOで設定した設定値のリクエストを投げる。
もしくは、BCRからのリクエストは、ソース側の、SourceCapabiltyObjectの種類からどのオブジェクト選ぶかとういう動作になりと思われますので、15V/1.8Aで設定しているオブジェクトをリクエストするだけとなる理解ですが正しいでしょうか?Q2)仮に、ソース27Wに対して15/3Aのリクエストを投げた場合、ソースの作り次第で、15Vが出てきてしまう可能性はありますでしょうか?
Q3)電圧設定に対しても上記電流と同じで、15V非対応のソースにもリクエストは出す仕様なのでしょうか?
Macnica/Arai
Show LessHello
For part registration at the custome, It is necessary to provide the recommended land pattern document of 24pin QFN for BCR(CYPD3177-24LQXQ).
Could you please share the recommended land pattern document for 24pin QFN BCR?
Best Regards
Arai
Show LessHi Lisa,
Can I use this function "ccg_status_t dpm_update_port_config(uint8_t port, uint8_t role, uint8_t dflt_role, uint8_t toggle_en, uint8_t try_src_snk_en);" to make the CYPD3123 change its to role as power source and send a Type-C command to the Samsung to change its role as power sink 1 second after the Samsung plugged?
If yes can you tell me how?
Thanks,
Derong Yuan
Show LessHi Lisa,
I replaced the MOSFET name PD_FET_DR_N_JN_FET in pd_hal_set_fet_drive() of main.c and the variable pd_pctrl_drive and pd_cctrl_drive (the consume control signal is not used in my project) of pdss_hal.c with PD_FET_DR_P_JN_FET and found the VBUS_P_CTRL 0/1 might work but the Samsung in the USB-C is still not being charged.
main.c:
pd_hal_set_fet_drive(PD_FET_DR_P_JN_FET, PD_FET_DR_P_JN_FET);
pdss_hal.c:
/* Configuration provided from solution. */
static pd_fet_dr_t pd_pctrl_drive = PD_FET_DR_P_JN_FET;
static pd_fet_dr_t pd_cctrl_drive = PD_FET_DR_P_JN_FET;
The MOSFET is not turned on before and after Samsung plugged.
before Samsung plugged in: VBUS_P_CTRL1 =4.0V, VBUS_P_CTRL0=4.2V, VBUS =0v
after Samsung plugged in: VBUS_P_CTRL1=4.2V, VBUS_P_CTRL0=4.2V,VBUS=5.2v (the power from Samsung)
The CYPD3123 is powered on all the time by a +5v dc/dc in cicruit.
Below are measured signal voltages from a purchased board with CYPD3125 as power delivery:
before Samsung plugged in: VBUS_P_CTRL1 =1.6V, VBUS_P_CTRL0=1.6V, VBUS =2.48v
after Samsung plugged in: VBUS_P_CTRL1=0V, VBUS_P_CTRL0=0V,VBUS=5.1v
Please advise.
Thanks,
Derong Yuan
Show LessHi Lisa,
I added px_swap.c.zip and px_swap.h.zip in top of the main.c of my project according to your comments below but I don't see the power charge works. could you tell me how I can add the power charge function in my system?
The main.c is attached.
Thanks,
Derong Yuan
Show Less