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.

Why the data can’t be written into EEPROM?

Status
Not open for further replies.

EDA_hg81

Advanced Member level 2
Advanced Member level 2
Joined
Nov 25, 2005
Messages
507
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
4,808
I used the scope to check, the data and clock are toggling.

Only have glitch during acknowledge time when scl is low.

The writing protect pin is connected to ground.

What are the possible reasons?

Thanks.
 

Time.

The write time is much slower than read time. Completing the I²C transfer only starts the write cycle.

Some chips will not acknowledge while they are in the write cycle, you can repeatedly attempt a zero-length write until you get an acknowledge.

Or you can simply wait some arbitrarily large amount of time, for example 10 ms, before attempting to read the written data.
 

    EDA_hg81

    Points: 2
    Helpful Answer Positive Rating
yes. you are right.

I didn't wait long enough for writing.

Take care and best regards.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top