Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Sequential Read Problem in AT24C512C

Status
Not open for further replies.

nis2311

Member level 3
Member level 3
Joined
Nov 19, 2016
Messages
54
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,804
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:-
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
 

Hi,

please show a scope picture with both SCL and SDA.

Klaus
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top