- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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