Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN3371 Datasheet(PDF) 17 Page - STMicroelectronics

Part # AN3371
Description  Using the hardware real-time clock
PDF  45 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3371 Datasheet(HTML) 17 Page - STMicroelectronics

Back Button AN3371 Datasheet HTML 13Page - STMicroelectronics AN3371 Datasheet HTML 14Page - STMicroelectronics AN3371 Datasheet HTML 15Page - STMicroelectronics AN3371 Datasheet HTML 16Page - STMicroelectronics AN3371 Datasheet HTML 17Page - STMicroelectronics AN3371 Datasheet HTML 18Page - STMicroelectronics AN3371 Datasheet HTML 19Page - STMicroelectronics AN3371 Datasheet HTML 20Page - STMicroelectronics AN3371 Datasheet HTML 21Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 45 page
background image
AN3371
Overview of the STM32 advanced RTC
Doc ID 018624 Rev 5
17/45
Summary of timebase/wakeup period extrema
When RTCCLK= 32768 Hz, the minimum and maximum period values, depending on the
configuration, are listed in Table 10.
1.
These values are calculated when RTCCLK = 32768 Hz
1.4
RTC digital calibration
1.4.1
RTC coarse calibration
The digital coarse calibration can be used to compensate crystal inaccuracy by adding
(positive calibration) or masking (negative calibration) clock cycles at the output of the
asynchronous prescaler (ck_apre).
A negative calibration can be performed with a resolution of about 2 ppm, and a positive
calibration can be performed with a resolution of about 4 ppm. The maximum calibration
ranges from -63 ppm to 126 ppm.
Figure 10. Coarse calibration block
You can calculate the clock deviation using AFO_CALIB, then update the calibration block. It
is not possible to check the calibration result, as the 512 Hz output is before the calibration
block. You can check the calibration result with certain products, as the 1 Hz CK_Spre
output is after the coarse calibration block. Refer to Table 15: Advanced RTC features.
Note:
The calibration settings can only be changed during initialization.
The full calibration cycle lasts 64 minutes.
The calibration is done during the first minutes (from 0 to 62 min depending on the
configuration) of the calibration cycle.
We recommend the use of coarse calibration for static correction only. Due to the points
listed in note 1, changing the calibration settings brings errors:
- Entering initialization mode stops the calendar and reinitializes the prescalers
- The calibration change rate must be very much smaller than the calibration window size in
order to minimize the impact of the error brought by the change on the final accuracy.
Table 10.
Min. and max. timebase/wakeup period when RTCCLK= 32768
Configuration
Minimum period
Maximum period
1
122.07 µs
2s
2
122.07 µs
more than 36 hours
3
250.06 ms
more than 48 days
MS19531V1
RTC Clock
Asynch. 7-bit prescaler
(default=128)
Asynchronous
prescaler
Synchronous
prescaler
Synchronous 13-bit
prescaler (default=256)
Shadow registers
(RTC_TR, RTC_DR)
Calendar
512 Hz
AFO_CALIB
Ck_Spre



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45


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