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

X  

AN3133 数据表(PDF) 22 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
标志 STMICROELECTRONICS - STMicroelectronics

AN3133 数据表(HTML) 22 Page - STMicroelectronics

Back Button 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 AN3133 Datasheet HTML 24Page - STMicroelectronics AN3133 Datasheet HTML 25Page - STMicroelectronics AN3133 Datasheet HTML 26Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 43 page
background image
Useful RTC configuration examples
AN3133
22/43
Doc ID 16956 Rev 5
3.4
Maximum and minimum RTC wakeup period
The wakeup unit clock is configured through the WUCKSEL[2:0] bits of RTC_CR1 register.
Three different configurations are possible:
Configuration 1
WUCKSEL[2:0] = 0xxb for short wakeup periods (see Section 3.4.1)
Configuration 2
WUCKSEL[2:0] = 10xb for medium wakeup periods (see Section 3.4.2)
Configuration 3
WUCKSEL[2:0] = 11xb for long wakeup periods (see Section 3.4.3)
3.4.1
Periodic timebase/wakeup clock configuration 1
Figure 12 shows the prescaler connection to the timebase/wakeup unit and Table 11 gives
the timebase/wakeup clock resolutions corresponding to configuration 1.
Figure 12.
Prescalers connected to the timebase/wakeup unit for configuration 1
The minimum timebase/wakeup resolution is 0.125 µs, and the maximum resolution
31.25 ms. As a result:
The minimum timebase/wakeup period is (0x0001 + 1) x 0.125 µs = 0.250 µs.
The timebase/wakeup timer counter WUT[15:0] cannot be set to 0x0000 with
WUCKSEL[2:0]=011b (fRTCCLK/2) because this configuration is prohibited. Refer to the
STM8L05xx, STM8L15xx, STM8L162x, STM8AL31xx and STM8AL3Lxx
microcontroller family reference manual (RM0031) for more details.
The maximum timebase/wakeup period is (0xFFFF+ 1) x 31.25 ms = 2048 s.
Table 11.
Timebase/wakeup unit period resolution with clock configuration 1
Clock source
Wakeup period resolution
RTCDIV[2:0] = 111b (div64)
RTCDIV[2:0] = 000b (div1)
WUCKSEL[2:0]
= 000b (div16)
WUCKSEL[2:0]
= 011b (div2)
WUCKSEL[2:0]
= 000b (div16)
WUCKSEL[2:0]
= 011b (div2)
HSE = 1 MHz
1.024 ms
0.128 ms
16 µs
2 µs
HSI = 16 MHz
0.064 ms
0.008 ms
1 µs
0.125 µs
LSE = 32 768 Hz
31.25 ms
3.90625 ms
488.2812 µs
61.0351 µs
LSI = 38 kHz
26.9473 ms
3.368421 ms
421.0526 µs
52.6315 µs
WUCKSEL[2]
ai17268_bis
16-bit wakeup
auto-reload timer
Periodic
wakeup flag
Div by 2, 4, 8, 16
Prescaler
RTCCLK
WUCKSEL[1:0]
RTC_WUTR



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


链接网址



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