USB EZ-PD™ Type-C Forum Discussions
Hello
I'm using CYPD3171-24LQXQ_pb, and set CCG_TYPE_A_PORT_ENABLE to 0u in stack_params.h, then delete the whole TypeA Page in TopDesign.cysch -> Build successfully
Create a new page as I2C on TopDesign.cysch , Drag A I2C Component as master to I2C page, then assign sda to pin7, scl to pin8
-> Build successfully
Add below code to main.c after ccg_app_task_init ();
SCB_I2C_INIT_STRUCT config;
SCB_I2CInit(&config);
-> then Build fail, any steps i missing? Please help to check the procedure I apply, Thanks
Source : CYPD3171-24LQXQ_pb_i2cmaster.7z - Google Drive
Regards
Edward
Show LessCCG3PA Car Charger (CLA) debug mode step by step ( step over )
we get Error: dbg.M0015 after passing
- timer_start (0, LED_TIMER_ID, LED_TIMER_PERIOD, led_timer_cb)
- instrumentation_task();
in order understand the flow of power sdk in crutual go step by step to see sequence and call reference function ( ability look on the stack pointer )
for example which function (app_callback ) and when ( time line ) call by by PD stack
please advice ?
Show Lesswhy in power bank example this function enable pd_internal_cfet_on and in power adapter is disable in pdss_mx_hal.c file ?????
i want use these function to my application i have different functionality (for example i want connect LED with FET driver ....... or any other application ) which i need toggle otr low/high
Compile Time Options Table 3: Selectable Firmware Features in stack_params.h CCG_SOURCE_ONLY in power sdk guide
please advice
Show LessFor the CYPD3175. We will be designing using the USB type C connector and USB-A type connector
For EMC purposes would you recommend using a Ferrite bead between the shield pins and circuit ground for both of these type connectors?
Show LessWe have had a couple of CYPD3175 IC's fail in a prototype dedicated charging port design using the direct feedback system. The most faults we've had is that the chips stop responding to a plug insertion. We verify that the internal core is running because we can measure 1.8V and the CC line is pulled up to +3.3V before insertion and drops to 1.7V or so during insertion. These are prototype boards that were working until this sudden fault.
We've also had the controller IC suddenly start running very hot and fail after working with no problems for two weeks. We only noticed the failure because after a plug insertion the port turned on and off contiuously. We remove the cable and reinsterted it and the controller chip started to heat up and stop running.
We have studied the switch mode power supply for stability and the phase and gain margins are according to industry standards.
Show LessThis utility is mentioned on the Cypress USB-C Thunderbolt Reference Solution, specifically in "Step 3": "Contact Online Tech Support Case System to get the Thunderbolt device configuration utility which can configure vendor- and design-specific parameters (VID, PID, Power profiles, etc) in the CCG5 firmware. This tool will generate CCG5 BIN & HEX file"
Our application is a Thunderbolt 3 product based on Intel's Tapex Creek, which uses Cypress CCG5 part# CYPD5235-96BZXI, and Cypress Billboard part# CY7C65215-32LQXI.
Show Lessmy setup
CLA project with boot on CY4532 EVK board
limitation :i dont have option to debug because it is not noboot project i do not have option connect UART because all possible GPIO is taken by example
therefore add LED to indicaton status USC TYPE A cable
on main board j8 debug connector add LED on p2.1
on main board J9 connecting phone the charge is starting but when i trying to get info from type a device it failed
in callback timer add following code
const bc_status_t* user_param;
user_param=bc_get_status(TYPE_A_PORT_ID);
if (type_a_is_idle())
{
WEIZ_DEBUG_PRINT(WZ_APP_EVENT_FLOW, "[%s] USB Type A connected Charge mode [%d] \r\n", __func__,user_param->cur_mode);
gpio_set_value (FW_LED_GPIO_PORT_PIN, false);
}
else
{
WEIZ_DEBUG_PRINT(WZ_APP_EVENT_FLOW, "[%s]USB Type A Disconnected \r\n", __func__);
gpio_set_value (FW_LED_GPIO_PORT_PIN, true);
}
when i plugin cable expected light off when unplug the cable expected light on it never happen
Q1 : what functionality need to add to see plug/unplug changes on port A
Show LessHello
I connected CCG1 and CCG2 with reference to Evaluation Kit Guide P.22, but the device of CCG2 is not displayed.
https://www.cypress.com/file/159241/download
Is there a solution?
Best Regards
Sai
Show Less