??? 07/25/09 08:37 Read: times |
#167865 - Max 8 addresses on I2C? Responding to: ???'s previous message |
Joop Van Veen said:
Maybe the use of 30 pcs of 8 bit latches (240 i/o pins) or 30 pcs of i2c to 8 bit controlers. The problem by the latter is the maximum of 8 adresses per i2c bus so then we need four i2c busses. Where did you find that limitation? Surely I2C can address 128 devices. But if I understand you correctly you have one controller board that has the 8048 on it that you are replacing now by one with an 8051. And you have several i/o boards each with one or several 8243 chips on them. And they are all connected through a backplane in a rack. Currently you do not want to change the i/o boards or the backplane. But in the future you might have to if you need to replace an i/o board and the 8243 is no longer available (is it now?). If you expect to continue to service these parts wouldn't it be wise to start thinking about this right now? Do you have all 15 /CS lines on the backplane or is every i/o board configurable with an address switch? If you don't want to go with configurable logic to emulate the 8243 control bus, SPI or I2C are the logical replacements. Are there any spare lines on the backplane that you can use for SPI or I2C? Otherwise you probably could reuse the P2 lines for SPI, but the master must know the configuration then. That is know how to communicate with each board. |