Electronic Components Datasheet Search
  English  ▼

X  

AN3133 Datasheet(PDF) 20 Page - STMicroelectronics

Part # AN3133
Description  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
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3133 Datasheet(HTML) 20 Page - STMicroelectronics

Back Button 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 AN3133 Datasheet HTML 24Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 20 / 43 page
background image
Useful RTC configuration examples
AN3133
20/43
Doc ID 16956 Rev 5
3.2
Configuring the alarm behavior using the MSKx bits
The alarm behavior can be configured through the MSKx bits (x = 1, 2, 3, 4) of the
RTC_ALRMARx registers and the MASKSS[3:0] bits of the RTC_ALRMASSMSKR register.
Table 8 shows all the possible alarm settings. As an example, to configure the alarm time to
23:15:07 on Monday, MSKx bits must be set to 0000b.
Table 7.
Calendar clock equal to 1Hz with different clock sources
Clock source
Prescalers
ck_spre
RTCDIV[2:0]
PREDIV_A[6:0]
PREDIV_S(1)
1.
Bits [12:0] for medium-density products and Bits [14:0] for medium+ and high-density products.
HSE = 1 MHz
6
(div64)
124
(div125)
124
(div125)
1 Hz
HSI = 16 MHz
6
(div64)
124
(div125)
1999
(div2000)
1 Hz
LSE = 32.768 kHz
0
(div1)
127
(div128)
255
(div256)
1 Hz
LSI = 38 kHz(2)
2.
LSI accuracy is not suitable for calendar application.
0
(div1)
124
(div125)
303
(div304)
1 Hz
Table 8.
Alarm combination
MASKSS
[3:0]
MSK4
MSK3
MSK2
MSK1
Alarm behavior
0x0
0
0
0
0
All fields are used in alarm comparison:
Alarm occurs at 23:15:07, each Monday.
0x0
0
0
0
1
Seconds don’t care in alarm comparison
The alarm occurs every second of 23:15, each Monday.
0x0
0
0
1
0
Minutes don’t care in alarm comparison
The alarm occurs at the 7th second of every minute of 23:XX, each
Monday.
0x0
0
0
1
1
Minutes and seconds don’t care in alarm comparison
0x0
0
1
0
0
Hours don’t care in alarm comparison
0x0
0
1
0
1
Hours and seconds don’t care in alarm comparison
0x0
0
1
1
0
Hours and minutes don’t care in alarm comparison
0x0
0
1
1
1
Hours, minutes and seconds don’t care in alarm comparison
The alarm is set every second, each Monday, during the whole day.
0x0
1
0
0
0
Week day (or date, if selected) don’t care in alarm comparison
Alarm occurs all days at
23:15:07.
0x0
1
0
0
1
Week day and seconds don’t care in alarm comparison
0x0
1
0
1
0
Week day and minutes don’t care in alarm comparison
0x0
1
0
1
1
Week day, minutes and seconds don’t care in alarm comparison
0x0
1
1
0
0
Week day and Hours don’t care in alarm comparison



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


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