Electronic Components Datasheet Search
  English  ▼

X  

AN3133 Datasheet(PDF) 11 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) 11 Page - STMicroelectronics

Back Button AN3133 Datasheet HTML 7Page - STMicroelectronics AN3133 Datasheet HTML 8Page - STMicroelectronics AN3133 Datasheet HTML 9Page - STMicroelectronics AN3133 Datasheet HTML 10Page - STMicroelectronics AN3133 Datasheet HTML 11Page - STMicroelectronics AN3133 Datasheet HTML 12Page - STMicroelectronics AN3133 Datasheet HTML 13Page - STMicroelectronics AN3133 Datasheet HTML 14Page - STMicroelectronics AN3133 Datasheet HTML 15Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 43 page
background image
AN3133
Real-time clock overview
Doc ID 16956 Rev 5
11/43
1.5
RTC tamper detection
The RTC includes 3 tamper detection inputs. The active level can be configured
independently for each tamper input. Each tamper input has an individual flag (bit
RTC_ISR2_TAMPxF). A tamper detection event generates an interrupt when the
RTC_TAMPCR1.TAMPIE bit is set.
This interrupt can wake up the device from Active-halt mode.
Figure 5.
Example of tamper detection circuit
1.
C1 C2 and C3 are optional (filtering can be performed by software).
The tamper inputs are sampled at a programmable rate from 1 Hz to 128 Hz (with RTCCLK
at 32.768 kHz). This reduces power consumption as the pull-up is applied only during the
precharge time, once every sampling period. Consequently, a trade-off must be made
between the sampling frequency, which impacts the tamper detection latency, and the
consumption due to the pull-up resistor.
Biasing can be performed using the MCU I/Os pull-up resistors (RTC_TCR2.TAMPPUDIS =
0
). When the precharge is enabled, the length of the pulse during which the internal pull-up
is applied is programmable from 1 to 8 RTCCLK cycles, in order to support different
capacitance values. The RTC_TAMPx pin level is sampled at the end of this pre-charging
pulse (see Figure 6). When the internal pull-up is not applied, the I/Os Schmitt triggers are
disabled in order to avoid extra consumption if the tamper switch is open.
Figure 6.
Tamper sampling with pre-charge pulse
Note:
In Figure 6, Point B indicates where input voltage sampling is performed.
TamperDet_01
STM8L
Device
RTC_TAMP1
RTC_TAMP2
RTC_TAMP3
Tamper
Switch
Tamper
Switch 2
Tamper
Switch 3
C1 (optional)
C2 (optional)
C3 (optional)
RTCCLK
TamperDet_02
Floating
Input
Switch
opened
Switch
closed
1 cycle pre-charge
2 cycles pre-charge
4 cycles pre-charge
A
B



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