Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

AN3133 Arkusz danych(PDF) 19 Page - STMicroelectronics

Numer części AN3133
Szczegółowy opis  A real-time clock is a computer clock that keeps track of the current time
PDF  43 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  STMICROELECTRONICS [STMicroelectronics]
Strona internetowa  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3133 Arkusz danych(HTML) 19 Page - STMicroelectronics

Back Button AN3133 Datasheet HTML 15Page - STMicroelectronics AN3133 Datasheet HTML 16Page - STMicroelectronics AN3133 Datasheet HTML 17Page - STMicroelectronics AN3133 Datasheet HTML 18Page - STMicroelectronics AN3133 Datasheet HTML 19Page - STMicroelectronics AN3133 Datasheet HTML 20Page - STMicroelectronics AN3133 Datasheet HTML 21Page - STMicroelectronics AN3133 Datasheet HTML 22Page - STMicroelectronics AN3133 Datasheet HTML 23Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 19 / 43 page
background image
AN3133
Useful RTC configuration examples
Doc ID 16956 Rev 5
19/43
3
Useful RTC configuration examples
This section explains how to configure the RTC and provides examples of configurations.
All the values provided in this section correspond to an HSE clock frequency of 1 MHz.
However the HSE frequency can be up to 16 MHz.
3.1
Delivering a 1-Hz signal to the calendar using different clock
sources
The RTC features several prescalers that allow delivering a 1-Hz clock to the calendar unit,
regardless of the clock source.
Figure 11.
Prescalers from RTC clock source to calendar unit
1.
RTCDIV[2:0] and RTCSEL[3:0] are bits of the CLK_CRTCR register.
The formula to calculate ck_spre is:
ck_spre
CLKSrc
2
RTCDIV 2:0

PREDIV_A
1
+

PREDIV_S
1
+

--------------------------------------------------------------------------------------------------------------------------------------
=
where:
CLKSrc can be any clock source: HSE, HSI, LSE or LSI
RTCDIV[2:0] can be 0,1,2,..., or 6
PREDIV_A can be 1,2,3,..., or 127
PREDIV_S can be 0,1,2,..., 8191 (for medium-density products)
PREDIV_S can be 0,1,2,..., 32767 (for medium+ and high-density products)
Table 7 shows several possibilities to obtain ck_spre = 1 Hz.
Asynchronous
Prescaler
HSE
Synchronous
Prescaler
Calendar
unit
RTCSEL[3:0]
HSI
LSE
LSI
RTC
Prescaler
PREDIV_S [14:0]
ai17267
RTCDIV [2:0]
PREDIV_A [6:0]
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


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
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