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 am using the controller P89c51RD2BN and eeprom AT24c04 my i2c routine read and write the data perfectly. but upto the address 116 D (0x74) if i am trying to store any variable beyound this address my display shows garbage(it hangs) but ALE signal is presents. can any one help me to solve this
"it is clearly not perfect - because it doesn't work for addresses above 0x74!"
There's a proviso here: maybe your software is OK, but your hardware design is wrong, and/or your hardware implementation is wrong or broken.
This is why it's totally inadequate just to say, "my display shows garbage (it hangs)". You need to do some testing and investigation to find out exactly what is happening!
Again, have you used an oscilloscope to check what's happening on the I2C lines?
thanks i will cheack all the things and be back to you