SphinX
Advanced Member level 3

ds1287
Hi,
I have interfaced DS1287 RTC with AT89C52 (Thanks seaspac for his great help).
I read from the datasheet when VCC falls below a level of approximately 3V, the external VCC supply is switched off, and an internal lithium energy source supplies power to the RTC and the RAM memory.
and
As VCC falls below 3V typical, the RAM and timekeeper are
switched over to an internal lithium energy source. The timekeeping function maintains an accuracy of (+-)1 minute per month at +25C, regardless of the voltage input on the VCC pin.
Ok in my design the RTC is connected to VCC, i have set the RTC in the first time (setting Seconds, Minutes,....etc)
But when i remove the VCC then connect it again after while. It starts to count from the last point( when i removed the VCC)
Why that and as i know, when the VCC is removed the internal battery works to keep the time and date ?!
Please i want some explaination ?
Salam,
SphinX
Hi,
I have interfaced DS1287 RTC with AT89C52 (Thanks seaspac for his great help).
I read from the datasheet when VCC falls below a level of approximately 3V, the external VCC supply is switched off, and an internal lithium energy source supplies power to the RTC and the RAM memory.
and
As VCC falls below 3V typical, the RAM and timekeeper are
switched over to an internal lithium energy source. The timekeeping function maintains an accuracy of (+-)1 minute per month at +25C, regardless of the voltage input on the VCC pin.
Ok in my design the RTC is connected to VCC, i have set the RTC in the first time (setting Seconds, Minutes,....etc)
But when i remove the VCC then connect it again after while. It starts to count from the last point( when i removed the VCC)
Why that and as i know, when the VCC is removed the internal battery works to keep the time and date ?!
Please i want some explaination ?
Salam,
SphinX