psoc3 miniprog3 5-pin programming connector ...

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

cross mob
BeCo_289361
Level 3
Level 3
First like given

psoc3

   

miniprog3

   

I would like to use the same 5-pin connector for programming, debugging and i2c bridge.  

   

Can this be done?  

   

If so, can the i2c pins be mapped to the same pins as SWD:IO and SWD:CK (P1[1:0] or P15[7:6])?  

   

Or must they be mapped to other pins and then routed to the same 5-pin connector on the ckt board?  

   

Or must the i2c be routed to a different connector?

   

Thank you.

   

bernie

0 Likes
1 Reply
Anonymous
Not applicable

In any PSoC3 project, once Debug port is enabled, pins P0[0] and P0[1] are used up and are dedicated for debug port. Note that these pins can be used for programming and debugging. Since these pins are now dedicted for debug port, PSoC Creator would not allow you to use these pins as GPIO and hence can not be assigned for I2C communication port. In order to use the USB-I2C bridge to communicate with PSoC3, PSoC3 needs to be configured as an I2C Slave. The I2C Slave Pins have to be pins other than P1[0] and P1[1]. 

0 Likes