Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 03, 2016, 01:16:08 01:16


Login with username, password and session length


Pages: [1]
Print
Author Topic: help needed ds3231 RTC chip  (Read 2687 times)
0 Members and 1 Guest are viewing this topic.
sohel
Senior Member
****
Offline Offline

Posts: 437

Thank You
-Given: 140
-Receive: 124



WWW
« on: April 30, 2013, 07:42:07 07:42 »

Dear all,

i am facing problem with ds3231 chip, after 24 hours elapsed its show 1 sec fast, i am comparing with my pc clock.

Thanks
Logged

A Thousand Miles Journey Start With a Single Step<br />http://www.youtube.com/user/masud58
Parmin
Hero Member
*****
Offline Offline

Posts: 544

Thank You
-Given: 357
-Receive: 126


Very Wise (and grouchy) Old Man


« Reply #1 on: April 30, 2013, 08:20:47 08:20 »

A few things come to mind

for 1:86400 errors,
- you could have inadvertently set the aging offset, or temperature register, these may change the crystal timing.
- your computer clock might be wrong,
- the reset of the clock might "just" off the turn of the second mark, and thus it "looks" like there are discrepancy.

Logged

If I have said something that offends you, please let me know, so I can say it again later.
sohel
Senior Member
****
Offline Offline

Posts: 437

Thank You
-Given: 140
-Receive: 124



WWW
« Reply #2 on: April 30, 2013, 08:51:58 08:51 »

thanks

good point.
"you could have inadvertently set the aging offset, or temperature register, these may change the crystal timing."
let me check my code.
« Last Edit: April 30, 2013, 08:54:27 08:54 by sohel » Logged

A Thousand Miles Journey Start With a Single Step<br />http://www.youtube.com/user/masud58
jumulab
V.I.P
Junior Member
*****
Offline Offline

Posts: 45

Thank You
-Given: 64
-Receive: 42


« Reply #3 on: April 30, 2013, 12:11:55 12:11 »

About the RTC / time compare against the PC clock, remember the PC RTC hardware normally have not a good
behaviour in precission terms.
To make a good check, first, syncronyze the PC time in a www based NIST timebase.
Other possible cause of inaccuracy are the induced noise into thre RTC chip.
I am using a good RTC for our product ( the NXP PCF2129A , a +/- 3pp part) and some time we have
obtained deviations of more than 1s/day ( very poorly).
Steps: check with other part, make the elapsed time for check more bigger, or try if the device
have the facility to measure the output ( or derived division) of their time base (32.768 kHz).
In some cases, the acces code writed is the cause of malfunction.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC