1 Reply Latest reply on Aug 18, 2011 12:50 AM by udayan.umapathi

    psoc3 miniprog3 5-pin programming connector ...

    bernard.corwin

      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

        • 1. Re: psoc3 miniprog3 5-pin programming connector ...
          udayan.umapathi

          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].