SX/B I2C Command
I have the I2C_UART demo board, which has an EEPROM and the SX28 on one I2C buss. The question is, using SX/B I2C commands, how can I access either the SX28 or the EEPROM. The board contains two SX28's which are hard-wired via I2C line, and the EEPROM, which is also hard_wired on the same line.
I would prefer to have both SX's·be running in SX/B. I saw a snippet for accessing an EEPROM, using SX/B, and the SX/B code uses A0 as the ID for the EEPROM, is this a given for all EEPROM's. And is their a way of giving the SX28 an ID that the I2C command will understand within SX/B code.
This does not pertain exclusively to the I2C_UART demo board, I can see using something like this on two seperate boards.
Thanks
Ray
I would prefer to have both SX's·be running in SX/B. I saw a snippet for accessing an EEPROM, using SX/B, and the SX/B code uses A0 as the ID for the EEPROM, is this a given for all EEPROM's. And is their a way of giving the SX28 an ID that the I2C command will understand within SX/B code.
This does not pertain exclusively to the I2C_UART demo board, I can see using something like this on two seperate boards.
Thanks
Ray
Comments
I posted our Serial InkJet Module code here several months ago -- it contains I2C routines for download and pulling character maps from an onboard EEPROM.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
SX/B does not allow the SX to be a I2C slave!
James
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
I wanted to make sure of this point before I start developing slave capabilities in asm for one of the processors, I was hoping to avoid that, but ...
Thanks
Ray
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax