Can you do Multi-Master i2c with picaxe?

Mad Professor

Senior Member
Good day all.

As per the title I would like to know if it is possible to do Multi-Master i2c with picaxe chips?

I have been doing some projects with master and slave i2c, but I would like to do Multi-Master i2c if possible.

Thanks for your time.

Best Regards.
 

westaust55

Moderator
The Philips/NXP i2c specification V2.1 does permit multiple master devices.
Technically I believe you can have two PICAXE masters on the same i2c bus. The likely problem however will be the prospect of clashes when both Master devices try to access the bus at the same time. You would likely need to establish some separate hand shaking for the Master devices to signal when another is about to access the bus but even that may not be 100% fail-safe.

Not quite what you are seeking but have a read of this thread about i2c and the documents in the links provided therein.
http://www.picaxeforum.co.uk/showthread.php?17546-Understanding-I2C-just-a-bit-better


EDIT: Linked to exactly the same thread as Ray :)
 
Top