cancel
Showing results for 
Search instead for 
Did you mean: 

USB EZ-PD Type-C

Michael_Y
New Contributor II

Hi,

I inherited a board already built with CYPD3125-40LQXIT, but not programmed and debugged.  I need to change the default to Power Sink and output data (DFP).  I also need to change pin_29 (VBUS_C_CTRL1) and pin_30(VBUS_C_CTRL0)  to "high" at power on,

1. Can I use SWD and Miniprog3 to accomplish these?

2. If so, how do I program it? Any training material, or samples?

3. The previous guy only brought out pin_15(SWD0_DAT) and pin_16(SWD0_CLK) to a debug connector.  Is it sufficient to establish SWD communication with just 2 lines? 

Additional questions:

4. Supposedly CYPD3125 already has a I2C bootloader.  I used EZ-PD Configuration Utility + Ginkgo USB to I2C converter --> connect to CYPD3125 I2C_1, I2C_2, failed to establish communication. No bus signals are seemed on a scope.  Why?

5. The previous guy followed Cypress reference design and used a FED to conduct power.  Pin_29, 30 are enabled pins for the FED. 

 

Thanks,

Michael

0 Likes
1 Solution
Abhilash_P
Moderator
Moderator

Hi,

"I need to change the default to Power Sink and output data (DFP)"

       You can use the EZ-PD Config utility to carry out this task. Please refer the attached document for this.

  1. Can I use SWD and Miniprog3 to accomplish these?

               Yes, you can use SWD and miniprog to program the chip.

2. If so, how do I program it? Any training material, or samples

                Please refer the attached materials for carrying out this step. The document having the programming steps using miniprog is attached.

3. The previous guy only brought out pin_15(SWD0_DAT) and pin_16(SWD0_CLK) to a debug connector.  Is it sufficient to establish SWD communication with just 2 lines? 

                 Please find below the image showing the connections between the miniprog and the controller 

Abhilash_P_0-1628659019184.png

4. Supposedly CYPD3125 already has a I2C bootloader.  I used EZ-PD Configuration Utility + Ginkgo USB to I2C converter --> connect to CYPD3125 I2C_1, I2C_2, failed to establish communication. No bus signals are seemed on a scope.  Why?

            Please follow the steps mentioned in the page 14 of CCG3 datasheet for programming the controller chip. 

 

Regards,

Abhilash P

View solution in original post

1 Reply
Abhilash_P
Moderator
Moderator

Hi,

"I need to change the default to Power Sink and output data (DFP)"

       You can use the EZ-PD Config utility to carry out this task. Please refer the attached document for this.

  1. Can I use SWD and Miniprog3 to accomplish these?

               Yes, you can use SWD and miniprog to program the chip.

2. If so, how do I program it? Any training material, or samples

                Please refer the attached materials for carrying out this step. The document having the programming steps using miniprog is attached.

3. The previous guy only brought out pin_15(SWD0_DAT) and pin_16(SWD0_CLK) to a debug connector.  Is it sufficient to establish SWD communication with just 2 lines? 

                 Please find below the image showing the connections between the miniprog and the controller 

Abhilash_P_0-1628659019184.png

4. Supposedly CYPD3125 already has a I2C bootloader.  I used EZ-PD Configuration Utility + Ginkgo USB to I2C converter --> connect to CYPD3125 I2C_1, I2C_2, failed to establish communication. No bus signals are seemed on a scope.  Why?

            Please follow the steps mentioned in the page 14 of CCG3 datasheet for programming the controller chip. 

 

Regards,

Abhilash P

View solution in original post