Hi All,
I am using MCP7940N RTCC with cypress CY8C3245AXA-158. The RTC is used only for getting the time.
when i switched on the board after 1day the time is running fast by 1min and few seconds and every day it is increasing by 1 min, which is not acceptable.
In order to correct it i need to calibrate the RTCC.
For calibration i set the RS[0:2] value is to '0'.The control register value is 0XC0, and calibration register is set a value as per the calculation
For eg: Time is running fast 5s day
5 Seconds can be expressed in PPM.
ppm=seconds per day* (1*10^6)/(24*60*60)
In this case the calibration value is +58.
if it is slow then the register value is -58.
(As per this calculation i calculated the calibration register value)
is this calculation correct??
is the control register value correct what should be the Rs[0:1] register values?
please help in solving this issue
Thank you in advance..
Regards
Sara