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.

RTC DS 1302 ASM CODE needed (RTC doesn't count)

Status
Not open for further replies.

tapan.entc

Newbie level 6
Joined
Dec 25, 2009
Messages
11
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
bhubaneswar, India
Activity points
1,393
RTC DS 1302 ASM CODE

I HAVE WRITTEN ASM CODE FOR DS 1302.
I HAVE WRITE TIME TO RTC REGISTER AND READIND THE TIME WHICH IS CORRECT.

BUT THE PROBLEM IS THE TIME IS NOT INCREASING...

CAN ANY ONE HELP ME???
 

RTC DS 1302 ASM CODE

Hi,
At address 00H(address 0), bit 7 is CH (clock halt). Make sure that you have cleared this bit. Unless you do so, time is not counted. Once cleared, your problem should be solved.
Hope this helps.
Tahmid.
 

I have interfaced ds1302 with 89c2051 in 7segment. The clock is running very nice but occassionally the 10 hour digit gives wrong value, this fault is not regular, also when it appears ,the fault does not disappear on reset of mcrocontroller. Please help ?
 

change ds1302 with a new piece and find whether the same problem appears.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top