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

PSoC™ Creator & Designer Forum Discussions

Anonymous
Not applicable

 Hi,

   

I'm developing a firmware which should communicate with I2C or RS23 switching the two method runtime. I'm using The CY8C4245AXI-483 chip on which I'm using quite all the pins.

   

If I place two component EZI2C Slave and a UART (SCB mode) in the designer assigned to the same pins I get a conflict with pins assignment. My project uses all pins, so i can not use secondary i2c and rs232.

   

Actually I generate two diffrent firmware, One for I2C and the other for RS232, Enabling one component at time and using #ifdef to enable different code.

   

There is a way to have one firmware switching runtime the two component.

   

 

   

Following the version of creator I'm using

   

Environment:

   

PSoC Creator  3.1 SP1 (3.1.0.1722)

   

Culture: Italian (Italy)

   

OS Version: Microsoft Windows NT 6.1.7601 Service Pack 1

   

CLR Version: 2.0.50727.5485

   

 

   

Installed CyInstaller Products:

   

PSoC Programmer 3.22.2

   

PSoC Creator 3.1 SP1

0 Likes
1 Reply
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Welcome in the forum!

   

You may use an "Unconfigured SCB" component and program it according to the datasheet to act as I2C or UART using the very same pins-

   

 

   

Bob

0 Likes