pramodp
Newbie level 5
how to interface dallas ds12887a
I'm working on a project that uses the Dallas-Maxim RTC DS12887A to keep time and alarms, plus save some user data, using a Microchip PIC16F877A (@20MHz) for a programmable alarm-clock for using at colleges and offices. I'm finding difficulty in writing assembly code for reading from and writing to the RTC memory (control registers and general RAM). The code works fairly well in simulators (PICsimulator IDE from Oshonsoft), but does not work with the hardware. To keep the code compact, i prefer coding in Assembly. Anyone who has experience in these stuff, please help.
I'm working on a project that uses the Dallas-Maxim RTC DS12887A to keep time and alarms, plus save some user data, using a Microchip PIC16F877A (@20MHz) for a programmable alarm-clock for using at colleges and offices. I'm finding difficulty in writing assembly code for reading from and writing to the RTC memory (control registers and general RAM). The code works fairly well in simulators (PICsimulator IDE from Oshonsoft), but does not work with the hardware. To keep the code compact, i prefer coding in Assembly. Anyone who has experience in these stuff, please help.