This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Software I2C bus for 8051

Hi all,

I'm currently working on a bluetooth 8051 project and I'm going to interface a real time clock to the 8051 for time logging purposes.

Any useful real time clocks that I have found require an I2C bus, the problem is that the 8051 development board I'm using does not have an I2C bus, so I would like to implement one in software only in C using keil.

I'm quite stuck on how to do this, any guidence, references and examples of C code on how to do this would be greatly appreciated.

Thanks