rob.beckett
New Member
Morning,
I have 2 xbees communicating. on the "receiver" there isn't enough outputs for me to drive 7 relays. I bought a 28/40 proto board, with a 28x chip in it to do the job of outputting. I don't need to know whether the 28x has outputted, just need to send the data to it.
Is it possible to set the 18x on the AXE210 as a master on the I2C bus?, with the 28x acting as a slave?
I'm thinking this, because the 18x already interfaces with the xbee serially, so therefore I can't have another serout?
If it is possible to do it with I2C I have a few questions.
I'll need to set the I2C slave parameters up in the 18x, then write to the 28x.
How is the address and bus speed set?
then in the 28x, I'll need to
read I2C and set the address again?
What is the HI2C command used for?
Thanks for any help in advance!
Rob
I have 2 xbees communicating. on the "receiver" there isn't enough outputs for me to drive 7 relays. I bought a 28/40 proto board, with a 28x chip in it to do the job of outputting. I don't need to know whether the 28x has outputted, just need to send the data to it.
Is it possible to set the 18x on the AXE210 as a master on the I2C bus?, with the 28x acting as a slave?
I'm thinking this, because the 18x already interfaces with the xbee serially, so therefore I can't have another serout?
If it is possible to do it with I2C I have a few questions.
I'll need to set the I2C slave parameters up in the 18x, then write to the 28x.
How is the address and bus speed set?
then in the 28x, I'll need to
read I2C and set the address again?
What is the HI2C command used for?
Thanks for any help in advance!
Rob