Hi I would like to know if there are any codes available for I2C multimaster mode,which is done only in software(with out the on chip hard I2c support). Thanks SHASHI B R
Hi, We use the philips PCF8584 I2C bus controller IC, here is a link http://www.semiconductors.philips.com/acrobat/applicationnotes/IC22_AN425.pdf to an application note with some 8051 code that you may find useful as it has a good description of how to implement the protocol (and the ideas could easily be written in C even if you are using port pins on the micro to provide SDA and SCL) You may also find AN96040.pdf and AN95068.pdf (this has C code for a multimaster) useful, but these are for the PCx8584 but i am sure they will help you. Hope these Help. Mark