I'm trying to get reliable I2C between a master 20X2 and a slave 28X2, and haven't succeeded. I've found another thread in the forum where someone has the same problem -- cannot communicate reliably while his slave is busy reading sensors.
I would like to create an I2C solution that least affects the slave 28X2 operation and I feel that I don't know enough about the automatic operation of Picaxe slaves and masters to make intelligent changes to my program.
The I2C Tutorial document has little to say about differences between Picaxe-to-Picaxe and Picaxe to peripheral I2C. I cannot find anything about how the slave reacts when the master tries to read the scratchpad or how prepare the slave to insure that the read is successful.
If reliable I2C imposes limitations on the running program in order to work reliably, I think more information is needed about how the Picaxes communicate and what is required of the running programs to support that communication. Since my slave program needs to keep moving with minimum interruption, I would like to do what is needed, but no more.
Is there a document that I've overlooked that will give me those answers?
I would like to create an I2C solution that least affects the slave 28X2 operation and I feel that I don't know enough about the automatic operation of Picaxe slaves and masters to make intelligent changes to my program.
The I2C Tutorial document has little to say about differences between Picaxe-to-Picaxe and Picaxe to peripheral I2C. I cannot find anything about how the slave reacts when the master tries to read the scratchpad or how prepare the slave to insure that the read is successful.
If reliable I2C imposes limitations on the running program in order to work reliably, I think more information is needed about how the Picaxes communicate and what is required of the running programs to support that communication. Since my slave program needs to keep moving with minimum interruption, I would like to do what is needed, but no more.
Is there a document that I've overlooked that will give me those answers?
Last edited: