nis2311
Member level 3
I am using external I2C EEPROM 24C512. In that Page Write , Byte Write and Random Read are working fine. My problem is Sequential Read. when I initiate for Sequential Read, the first address of the data reading properly following next address - data's are not reading only getting 0xFF. But when i read in randomly means it reading fine. I given 1 ms to 5 delay also for next address read but problem remains same. Pull-up Resistors 4K7. Help me to solve this problem.
My Program:-
in this Data_1 is Correct others are Wrong Value means 0xFF
My Program:-
Code:
Start();
Write_Byte(0xA0);
Ack();
Write_Byte(0x00);
ack();
Write_Byte(0x00);
Ack();
Start();
Write_Byte((0xA1);
Ack();
Data_1=Read_Byte();
Ack();
Data_2=Read_Byte();
Ack();
Data_3=Read_Byte();
N_Ack();
Stop();
in this Data_1 is Correct others are Wrong Value means 0xFF