Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN2678 Datasheet(PDF) 10 Page - STMicroelectronics

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

AN2678 Datasheet(HTML) 10 Page - STMicroelectronics

Back Button AN2678 Datasheet HTML 6Page - STMicroelectronics AN2678 Datasheet HTML 7Page - STMicroelectronics AN2678 Datasheet HTML 8Page - STMicroelectronics AN2678 Datasheet HTML 9Page - STMicroelectronics AN2678 Datasheet HTML 10Page - STMicroelectronics AN2678 Datasheet HTML 11Page - STMicroelectronics AN2678 Datasheet HTML 12Page - STMicroelectronics AN2678 Datasheet HTML 13Page - STMicroelectronics AN2678 Datasheet HTML 14Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 16 page
background image
Calibrating the M41T83 using analog calibration
AN2678
10/16
As the watch crystal curve of Figure 1 predicts, the RTC oscillator will tend to be slow more
often than fast, so the adjustment range of the part is asymmetric; there is more range for
increasing the RTC oscillator speed than for slowing it down.
For the M41T82, M41T83 and M41T93 RTCs, the smallest incremental adjustments are
step sizes of approximately 0.25 pF. One step of 0.25 pF is roughly 0.5 ppm.
Since this algorithm uses a binary tree approach, each increment of capacitance must be a
power of 2 times 0.25 pF. That is, capacitance will be added and/or subtracted in
increments of 8 pF, 4 pF, 2 pF, 1 pF, 0.5 pf or 0.25 pF.
Thus, although up to 18.0 pF can be subtracted or up to 9.75 pF can be added, the power of
2 restriction constrains these limits to –16 pF and +8 pF, respectively. As a result, this
algorithm does not use the total available adjustment range, but that will not be a problem in
most applications.
For example, with this approach, when capacitance is to be added, instead of starting at half
the maximum available, ½ x 9.75 pF (= 4.875 pF), the power of 2 nearest that is used, which
is 4 pF. Similarly, for removing capacitance, the most that can be subtracted is 18 pF, so the
algorithm starts at the power of 2 nearest ½ x 18, or 8 pF.
Returning to Figure 5, after making the first measurement of FT, if capacitance is added, as
shown on the right, the ACAL value is adjusted to 4 pF. Then, progressively smaller
increments of capacitance are added or removed, until the frequency error measured on the
FT pin is minimized.
If, in Figure 5, the first test of the FT signal indicates that capacitance must be removed (that
the RTC is slow), the analog calibration register is set to –8 pF and then progressively
smaller increments of capacitance are added or removed.
Each time the analog calibration register is adjusted, the oscillator must be allowed time to
settle before taking another measurement. This is shown at the top of Figure 5, but not
shown in successive steps for the sake of brevity. However, it is still required each time the
register is written.
Using this binary approach, each of the 25 pF capacitors can be increased by up to 7.75 pF
or decreased by up to 15.75 pF. While these adjustment limits are slightly less than the
absolute limits available - up to a 9.75 pF increase or 18 pF decrease - they should cover all
except the most extreme cases of RTC oscillator error.
It may be possible to use the wider, available adjustment limits in an adaptive calibration
scheme like this one, but when increments other than powers of 2 are used, the algorithm
becomes much, much more complex and thus may not be as easy for users to implement.
Once the final calibration bit has been determined, the user should record the value in non-
volatile memory so that it can be retrieved by the microprocessor when necessary.
If a frequency counter was used to perform the measurements during the analog calibration
procedure, the user should immediately follow that with the additional step of using the
microprocessor and its timer to measure the period of the FT signal out of the real-time
clock as described in Section 1.3 and 1.4. This is done to establish the initial error, if any, in
the microprocessor’s timing chain at room temperature. This value should also be stored in
non-volatile memory.


Similar Part No. - AN2678

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
AN2674 STMICROELECTRONICS-AN2674 Datasheet
549Kb / 22P
   PCB layout guidelines for SPEAr3xx
AN2675 STMICROELECTRONICS-AN2675 Datasheet
257Kb / 24P
   STR91xFA in-application programming
AN2679 STMICROELECTRONICS-AN2679 Datasheet
224Kb / 16P
   Smart inductive proximity switch
More results

Similar Description - AN2678

ManufacturerPart #DatasheetDescription
logo
Maxim Integrated Produc...
DS3231 MAXIM-DS3231 Datasheet
362Kb / 20P
   Extremely Accurate I2C-Integrated
Rev 7; 3/10
logo
Dallas Semiconductor
DS3231 DALLAS-DS3231 Datasheet
363Kb / 19P
   Extremely Accurate I2C-Integrated RTC/TXO/Crystal
logo
Maxim Integrated Produc...
DS3231 MAXIM-DS3231_13 Datasheet
300Kb / 20P
   Extremely Accurate I2C-Integrated RTC/TCXO/Crystal
Rev 9; 1/13
DS3231 MAXIM-DS3231_10 Datasheet
372Kb / 20P
   Extremely Accurate I2C-Integrated RTC/TCXO/Crystal
Rev 7; 3/10
DS3231SNTR MAXIM-DS3231SNTR Datasheet
297Kb / 20P
   Extremely Accurate I2C-Integrated RTC-TCXO-Crystal
Rev 9; 1/13
DS3231_1007 MAXIM-DS3231_1007 Datasheet
378Kb / 20P
   Extremely Accurate I2C-Integrated RTC/TCXO/Crystal
Rev 8; 7/10
DS3232 MAXIM-DS3232_10 Datasheet
280Kb / 19P
   Extremely Accurate I2C RTC with Integrated Crystal and SRAM
Rev 5; 7/10
DS3232 MAXIM-DS3232 Datasheet
276Kb / 18P
   Extremely Accurate I2C RTC with Integrated Crystal and SRAM
Rev 2; 3/06
DS3232 MAXIM-DS3232_08 Datasheet
276Kb / 19P
   Extremely Accurate I2C RTC with Integrated Crystal and SRAM
Rev 4; 10/08
DS3232 MAXIM-DS3232_07 Datasheet
246Kb / 18P
   Extremely Accurate I2C RTC with Integrated Crystal and SRAM
Rev 3; 10/07
More results


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




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   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