We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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.
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.)