Hi, I have an application where using multimaster I2C would help me a lot, keeping time wasted in communication to a minimum. Searching for references I mostly have seen people that say that multimaster implementations using the TWI module is prone to problems, loosing bus arbitration and data !! It does not make much sense to me, but there is a bunch of posts about it and the lack of a appnote implementing multimaster is weird. Looking at the list archive I found a reference that says that AVRlib implements multimaster using the TWI module and interrupts. Did anyone use it sucessfully ? I would need to port it to Codevision and knowning if it really works before doing the port would be great :-) Am I crazy to try to use multiple masters on the same bus that can also act as slaves ? I have no experience with I2C but the specs says it should be possible. I will use "packets" and "CRC's" anyway, so loosing a few bytes will not kill my application. Best Regards, Alexandre Guimaraes
Message
Multimaster I2C implementation
2008-11-04 by Alexandre GuimarĂ£es
Attachments
- No local attachments were found for this message.