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.

interface ds12887 to microcontroller 89s52

Status
Not open for further replies.
Its easy to interface DS12887, simple map it to port 0 as external memory .. here is the pin connections...

Controller<=>DS12887
P0[7:0]<=>AD[7:0]
ALE<=>AS
RD<=>DS
WR<=>R/W

You can connect CS to permanent ground, and, as your microcontroller uses INTEL bus timing, don't forget to connect MOT pin to ground .. see picture below ..
Also, it is handy to use IRQ (interrupt) connection between RTC and microcontroller and read seconds (or all time and date memory locations) on interrupt, otherwise you will have to read seconds register all the time ..

Regards,
IanP
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top