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

X  

AN3371 Datasheet(PDF) 27 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) 27 Page - STMicroelectronics

Back Button AN3371 Datasheet HTML 23Page - STMicroelectronics AN3371 Datasheet HTML 24Page - STMicroelectronics AN3371 Datasheet HTML 25Page - STMicroelectronics AN3371 Datasheet HTML 26Page - STMicroelectronics AN3371 Datasheet HTML 27Page - STMicroelectronics AN3371 Datasheet HTML 28Page - STMicroelectronics AN3371 Datasheet HTML 29Page - STMicroelectronics AN3371 Datasheet HTML 30Page - STMicroelectronics AN3371 Datasheet HTML 31Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 27 / 45 page
background image
AN3371
Overview of the STM32 advanced RTC
Doc ID 018624 Rev 5
27/45
Setting 1 Hz as the output signal
1.
Select LSE “32768 Hz” as the RTC clock source.
2.
Set the asynchronous prescaler to the default value “128“.
3.
Set the synchronous prescaler to the default value “256“.
4.
Enable the output calibration by setting “COE” to ‘1’.
5.
Select 1 Hz as the calibration output by setting CALSEL to ‘1’.
Figure 18. RTC_CALIB clock sources
Maximum and minimum RTC_CALIB 512 Hz output frequency
The RTC can output the RTCCLK clock divided by a 7-bit asynchronous prescaler. The
divider factor is configured using bits PREDIV_A[6:0] of the RTC_PRER register.
RTC_CALIB maximum and minimum frequencies are
31.250 kHz and 500 Hz, respectively.
Table 14.
RTC_CALIB output frequency versus clock source
RTC clock source
RTC_CALIB output frequency
Minimum
(PREDIV_A[6:0] = 111 111b)
(div64)
Maximum
(PREDIV_A[6:0] = 100 000b(1))
(div32)
1.
PREDIV_A[5] must be set to ‘1’ to enable the RTC_CALIB output signal generation. If PREDIV_A[5] bit is zero, no signal
is output on RTC_CALIB.
HSE_RTC = 1MHz
15,625 kHz
31.250 KHz
LSE = 32768 Hz
512 Hz
(default output frequency)
1.024 KHz
LSI(2) = 32 kHz
2.
For STM32L1xx, LSI = 37 KHz.
500 Hz
1 KHz
LSI(3) = 37 kHz
3.
For STM32F2xx and STM32F4xx, LSI = 32 KHz.
578.125 Hz
1156.25 Hz
MS30116V1
512 Hz
AFO_CALIB
1 Hz
CALSEL
Calendar
Synchronous
prescaler
Asynchronous
prescaler
Shadow registers
(RTC_TR and
RTC_DR)
Synchronous 15-bit
prescaler (default=256)
Asynchronous 7-bit
prescaler (default=128)
Ck_Spre
RTC Clock



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