Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN2678 Datasheet(PDF) 3 Page - STMicroelectronics

Part # AN2678
Description  Extremely accurate timekeeping over
PDF  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2678 Datasheet(HTML) 3 Page - STMicroelectronics

  AN2678 Datasheet HTML 1Page - STMicroelectronics AN2678 Datasheet HTML 2Page - STMicroelectronics AN2678 Datasheet HTML 3Page - STMicroelectronics AN2678 Datasheet HTML 4Page - STMicroelectronics AN2678 Datasheet HTML 5Page - STMicroelectronics AN2678 Datasheet HTML 6Page - STMicroelectronics AN2678 Datasheet HTML 7Page - STMicroelectronics AN2678 Datasheet HTML 8Page - STMicroelectronics AN2678 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 3 / 16 page
background image
AN2678
M41T82-83-93 series RTCs
3/16
1.3
Measuring FT and the timing error
For the analog calibration, a frequency counter is recommended. This will provide the
highest accuracy. The next consideration is using the microprocessor’s timer. This can be
used to adjust the analog calibration and will be used for the digital portion.
Microprocessor timers can come in a variety of configurations with many different speeds
and input options, so this document can only address them in a general sense. Figure 1
shows the basic setup between the RTC and the microprocessor. The processor's timer is
used to measure the frequency of the RTC's frequency test signal (FT) and then adjust the
RTC's calibration registers as necessary via the I2C bus.
Figure 1.
Basic setup of microprocessor and RTC
Fundamentally, the processor needs to measure the period of the timer and calculate the
error or frequency deviation of the FT signal, but the measurement process is itself prone to
error. However, it should be possible to minimize that error to an acceptable level.
The key concept is that the microprocessor's timer runs off a clock signal derived from the
microprocessor's oscillator with AT cut crystal. Since this oscillator has low drift over
temperature, the timer’s clock signal will be low drift, too. Thus, using this timer, the RTC can
be calibrated to approach the accuracy of this timing chain, thus reducing the timekeeping
errors associated with watch crystals due to temperature drift.
In Figure 2, the microprocessor's clock is called TCLK, and is used to sample the 512 Hz
frequency test signal, FT. Each sample includes some uncertainty. But the uncertainty
does not change as more samples are added. Thus, with many samples, the uncertainty
will be very small in comparison to the measured period.
For example, in Figure 2, the timer can detect that a transition occurred on the FT signal
between two successive samples, but it cannot determine exactly where between those
samples that it occurred. That uncertainty is labeled Tε1, Tε2 and Tε3 in the figure.
RTC
TIMER
OSC
OSC
AT cut
crystal
Watch
crystal
FT = 512Hz
I2C
2
uP
ACAL
DCAL
ai13995



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com