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.

[Moved] Atmega2560 connecting with DS1337

Status
Not open for further replies.

Thiliniv

Junior Member level 3
Joined
Nov 20, 2009
Messages
30
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,458
I write a program to set the time of DS1337. Then read the time. But when read even after several minutes , the time is not changed. I'm using AVR studio 5 and gcc compiler.

What are the possible errors of not changing the time. Further I set OSF and EOSC bits in DS1337. But nothing happend.
 

Thiliniv said:
But when read even after several minutes , the time is not changed.
You read the last value you registered, or you read gibberish? This is important to be clarified.
Did you make sure that the problem is a frozen clock? No way for a read procedure problem, or a buffering error?
Did you check that all IC and crystal connections are OK and that no short circuit exists on the read line?

Alexandros
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top