cancel
Showing results for 
Search instead for 
Did you mean: 

USB EZ-PD™ Type-C

td83
New Contributor II

Hi,

On our board we have 2 devices CYPD5225.

Is it possible to link on the same SWD I2C bus the two devices ?

I am using the "PSOC Programmer 3.29.1" tool to program the devices, i have not found how to set a different I2C address for the 2 devices.

How can I set 2 different SWD I2C address on the device CYPD5225 ?

How can i set the SWD address in the tool "PSOC Programmer 3.29.1" ?

Do i need to connected the XRES# signal to the tool or is there an option in the tool "PSOC Programmer 3.29.1" to program the device CYPD5225 without the signal XRES# ?

Thank you for help,

Best regards,

TD83.

 

0 Likes
1 Solution
PranavaYN
Moderator
Moderator

Hi,

 

SWD or Serial Wire Debug interface will not use I2C protocol to program CCG5. It is a 2-wire form of JTAG. There is no need to set address in SWD programming. 

You can program only 1 device at a time using SWD interface. You can use Miniprog to SWD program the CCG devices (https://www.cypress.com/documentation/development-kitsboards/cy8ckit-005-miniprog4-program-and-debug...).

If you are interested in understanding the complete protocol, you can refer to CCGx Programming Specification - https://www.cypress.com/documentation/programming-specifications/ccgx-cypdxxxx-programming-specifica...

You have to connect XRES pin as well to program the CCG5.

Best regards,
Pranava

View solution in original post

0 Likes
1 Reply
PranavaYN
Moderator
Moderator

Hi,

 

SWD or Serial Wire Debug interface will not use I2C protocol to program CCG5. It is a 2-wire form of JTAG. There is no need to set address in SWD programming. 

You can program only 1 device at a time using SWD interface. You can use Miniprog to SWD program the CCG devices (https://www.cypress.com/documentation/development-kitsboards/cy8ckit-005-miniprog4-program-and-debug...).

If you are interested in understanding the complete protocol, you can refer to CCGx Programming Specification - https://www.cypress.com/documentation/programming-specifications/ccgx-cypdxxxx-programming-specifica...

You have to connect XRES pin as well to program the CCG5.

Best regards,
Pranava

View solution in original post

0 Likes