Hi everyone,
Been doing some searching all morning and can't find a definite answer. So I am building an alarm system. One PICAXE chip (40X2) acts as the main brains which is used on the control panel, all configuration data/settings for my system are stored in a 24LC512 EEPROM. I also have another PICAXE which is responsible for connecting to a PC via serial and my software monitors/configures the system by changing the data in the 24LC512 EEPROM. The reason why they are in separate chips is that I have reached the program size limit in the 40X2.
As it's all still in development, I have only had the i2c bus of each PICAXE connected to the EEPROM separately. What would happen if I connected both PICAXE chips (both i2c masters) to the EEPROM at the same time? Could it cause damage? If I made sure that one PICAXE couldn't access the EEPROM whilst it was already in use by the other then this would prevent data corruption and lockups. I am just worried about the voltages from one chip going into another chip.
These PICAXE chips must both use the same EEPROM and one PICAXE cannot feed data into the other. They both need their own independent access to the EEPROM.
What is the best way to accomplish this?
Been doing some searching all morning and can't find a definite answer. So I am building an alarm system. One PICAXE chip (40X2) acts as the main brains which is used on the control panel, all configuration data/settings for my system are stored in a 24LC512 EEPROM. I also have another PICAXE which is responsible for connecting to a PC via serial and my software monitors/configures the system by changing the data in the 24LC512 EEPROM. The reason why they are in separate chips is that I have reached the program size limit in the 40X2.
As it's all still in development, I have only had the i2c bus of each PICAXE connected to the EEPROM separately. What would happen if I connected both PICAXE chips (both i2c masters) to the EEPROM at the same time? Could it cause damage? If I made sure that one PICAXE couldn't access the EEPROM whilst it was already in use by the other then this would prevent data corruption and lockups. I am just worried about the voltages from one chip going into another chip.
These PICAXE chips must both use the same EEPROM and one PICAXE cannot feed data into the other. They both need their own independent access to the EEPROM.
What is the best way to accomplish this?
Last edited: