Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

USB EZ-PD™ Type-C

td83
Level 1
10 questions asked 10 sign-ins 5 replies posted
Level 1

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 50 likes received First comment on KBA First question asked
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