I'm working with EEPROM (through I2C) driver.
I can write and read a single byte from EEPROM.
However, if i try "Sequential Read" (Multibyte Read),
I face problem in reading:
I can read values from Address: 0x000 to 0x0FF correctly.
But all values beyond 0x0FF will be wrong (shows all values as 0xFF).
Even if i read from , say , 0x0FA to 0x105,
values from 0x0FA to 0x0FF will be correct, but values from 0x100 to 0x105 will be wrong. (ie: 0xFF).
It is NOT the problem with EEPROM WRITE. Because if i use "Selective Read" (Single Byte Read), I'm getting correct read data.
Lines from EEPROM datasheet:
If, after receiving data sent by the Slave, the Master
responds with ACK, then the Slave will continue
transmitting until the Master responds with NoACK
followed by STOP. During Sequential Read the
internal byte address is automatically incremented up to the
end of memory, where it then wraps around to the beginning
(My EEPROM Memory is from 0x000 to 0x7FF)
What may be the problem here?
Keshava G N