전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN3133 데이터시트(PDF) 19 Page - STMicroelectronics

부품명 AN3133
상세설명  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
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3133 데이터시트(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


데이터시트 다운로드

Go To PDF Page


링크 URL



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