Is very difficult -- the BS2 wants to be 'master' in everything. I suppose you COULD use RCTIME or PULSIN to look for some other I2C 'master' device's clock -- but the BS2 could only recieve bits VERY slowly -- probably not keeping up with the 'remote' I2C master.
On the other hand, the BS2 works GREAT as a SERIN 'slave' device, using RS232 signaling.
The 'master' BS2 can easily talk to the 'slave' BS2 using SEROUT/SERIN communications. This takes fewer wires than I2C, also. And at 9600 baud, will be faster than any BS2 'pseudo-slave' I2C communications.
The PCF8584 is a PARALLEL to I2C chip which requires either a microcontroller with interrupt capability, or with polling capability, to recognize when there is traffic. The PCF8584 can operate in HOST or SLAVE mode.
Yes, if you use SEROUT/SERIN, it IS possible to have a multi-Slave BS2 network with only two wires (and a pull-up resistor. That's what those "Open" baud modes are about).
Comments
On the other hand, the BS2 works GREAT as a SERIN 'slave' device, using RS232 signaling.
I want use one BS2 in master I2C mode et multi BS2 in I2C slave mode
thank for your reply
Luc
The PCF8584 is a PARALLEL to I2C chip which requires either a microcontroller with interrupt capability, or with polling capability, to recognize when there is traffic. The PCF8584 can operate in HOST or SLAVE mode.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
Three wires (TX, RX, GND) would be more general.