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
Why don't you reply to your previous thread? Stefan
Hi Stefan Duncanson Sorry about that. I am thinking of using AT89S51 Microcontroller with 4K bytes Flash. Please help me on this Thanks
Hi if u get the answer then forget otherwise let me know
HI I am still searching for answers Thanks Regards 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
Hi, First of all you must identify few thinks before you start to implement the I2C. Multi master mean the device generate a clock slave did not generate clock(SCL), Based on the above if you have multi master you must have multiple device which you can control the SCL and SDA, Other wise you are talking about Multi slave system. terrance