Cloud9TN
Computer
- Jan 7, 2010
- 7
Whats better for extra I/O, data bus based or I2C/SPI?
I need lots of I/O on a project. What are the pros and cons of expanding my I/O with I2C vs the old style of using an 8bit wide data bus? Whats faster? Whats easier to design? Whats easier to write firmware for?
I do realize I get interrupts with some I2C/SPI I/O modules which is nice.
I think I would like to go with an FPGA for expandability but I havent had good luck with that so far. None that I have tried have a tri-state bus primitive. Even VHDL (copied from multiple sources) was not able to work to implement a 3state bus.
The ultimate project is going to be 8bit micro (most like 8032based).
I need lots of I/O on a project. What are the pros and cons of expanding my I/O with I2C vs the old style of using an 8bit wide data bus? Whats faster? Whats easier to design? Whats easier to write firmware for?
I do realize I get interrupts with some I2C/SPI I/O modules which is nice.
I think I would like to go with an FPGA for expandability but I havent had good luck with that so far. None that I have tried have a tri-state bus primitive. Even VHDL (copied from multiple sources) was not able to work to implement a 3state bus.
The ultimate project is going to be 8bit micro (most like 8032based).