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

How address mapping can be done while interfacing 8051 using I2C protocol

Hi
I want to connect many devices like Serial EEPROM, ADC,DAC,RTC and many other I/O devices to 8051.

My question is how address mapping can be done ? How to address them??

Please reply i am in need.

Parents Reply Children
  • Shockingly, I'll agree with erik, even though I have a project with bit-banged I2C.

    If you know at design time that I2C is important to your system, and you have a bunch of devices to run, why would you not select a part that has a built-in I2C port? Pick the right hardware for the job.

    It's not that hard to bit-bang, but it's just not necessary. Save the effort for all the other problems your project will run into.

    If you don't have the luxury of choosing the micro... banging it is.

    (Incidentally, we had trouble pushing 100 kbps using a 62.5MHz 4-clock core (but non-standard I/O ports). So I also agree that it's only going to work well if you're the master and can control the I2C clock, unless your 8051 is really screaming along.)