数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN2604 数据表(PDF) 6 Page - STMicroelectronics

部件名 AN2604
功能描述  STM32F101xx and STM32F103xx RTC calibration
PDF  14 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN2604 数据表(HTML) 6 Page - STMicroelectronics

Back Button AN2604 Datasheet HTML 2Page - STMicroelectronics AN2604 Datasheet HTML 3Page - STMicroelectronics AN2604 Datasheet HTML 4Page - STMicroelectronics AN2604 Datasheet HTML 5Page - STMicroelectronics AN2604 Datasheet HTML 6Page - STMicroelectronics AN2604 Datasheet HTML 7Page - STMicroelectronics AN2604 Datasheet HTML 8Page - STMicroelectronics AN2604 Datasheet HTML 9Page - STMicroelectronics AN2604 Datasheet HTML 10Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 6 / 14 page
background image
RTC calibration basics
AN2604 - Application note
6/14
1.2
Methodology
The RTC of STM32F10xxx products is driven by a quartz crystal-controlled oscillator with a
nominal frequency of 32.768 kHz. The crystal oscillator is one of the most accurate circuits
to provide a fixed frequency. There are two causes of clock error:
1.
temperature variation
2.
crystal variation
As mentioned previously, most clock chips compensate for crystal frequency and
temperature variations by using cumbersome trim capacitors. The STM32F10xxx design
employs periodic counter corrections. The digital calibration circuit removes 0 to 127 cycles
every 220 clock cycles (see Figure 2.). The number of times the pulses are blanked depends
upon the value that has been loaded into the seven least significant bits of the BKP’s RTC
clock calibration register. Since the RTC clock calibration register is in the backup domain,
the calibration value is not lost even if the device is powered off provided that a battery is
connected to the VBAT pin.
Figure 2.
RTC calibration clock output
1.
The clock output on the ANTI_TAMP pin is the RTC clock before calibration, so its value is not changed by
the calibration.
Each calibration step has the effect of subtracting 1 oscillator cycle every 1 048 576 (220)
actual oscillator cycles. That is, 0.954(1000000/220) ppm of adjustment per calibration step
in the calibration register. As a result, the oscillator clock can be slowed down from 0 to
121 ppm.
Table 1 on page 7 shows how many ppm and seconds per month (30 days) each bit
represents in real time.
Oscillator
Div64
LSE
LSI
HSE/128
ANTI_TAMP
512 Hz output
for frequency test
Enabled by CCO bit in
BKP_RTCCR register
Clock
calibration
CAL[6:0]bits in
BKP_RTCCR register
RTC
RTCCLK
32 768 Hz
ai14626



Html Pages

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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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