AnsweredAssumed Answered

Problem in EEPROM Sequential read

Question asked by Keshava G N on Feb 26, 2013
Latest reply on Jun 28, 2013 by Pradyumna Kammardi

Hi all.

 

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:

 

Sequential Read

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
of memory.

 

(My EEPROM Memory is from 0x000 to 0x7FF)

 

What may be the problem here?

 

Thanks.

 

Regards,

Keshava G N

 

Outcomes