Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3371 Datasheet(PDF) 26 Page - STMicroelectronics

Part # AN3371
Description  Using the hardware real-time clock
PDF  45 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3371 Datasheet(HTML) 26 Page - STMicroelectronics

Back Button AN3371 Datasheet HTML 22Page - STMicroelectronics AN3371 Datasheet HTML 23Page - STMicroelectronics AN3371 Datasheet HTML 24Page - STMicroelectronics AN3371 Datasheet HTML 25Page - STMicroelectronics AN3371 Datasheet HTML 26Page - STMicroelectronics AN3371 Datasheet HTML 27Page - STMicroelectronics AN3371 Datasheet HTML 28Page - STMicroelectronics AN3371 Datasheet HTML 29Page - STMicroelectronics AN3371 Datasheet HTML 30Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 26 / 45 page
background image
Overview of the STM32 advanced RTC
AN3371
26/45
Doc ID 018624 Rev 5
The RTC keeps working in reset mode and its registers are only reset by a VDD or VBAT
power-on, if both supplies have previously been powered off or the Backup Domain is reset
on STM32F2xx devices.
Registers are only reset by a power-on reset. RTC register values are not lost after a reset
and the calendar keeps the correct time and date.
After a system reset or a power-on reset, the STM32 operates in Run mode. In addition, the
device supports five low power modes to achieve the best compromise between low power
consumption, short startup time and available wakeup sources.
The RTC peripheral can be active in the following low power modes:
●
Sleep mode
●
Low power Run mode (only for ULPM and ULPH density devices)
●
Low power Sleep mode (only for ULPM and ULPH density devices)
●
Standby mode
●
Stop mode
Refer to the low power modes section of the STM32 reference manuals for more details
about low power modes.
1.11
Alternate function RTC outputs
The RTC peripheral has two outputs:
●
RTC_CALIB, used to generate an external clock.
●
RTC_ALARM, a unique output resulting from the multiplexing of the RTC alarm and
wakeup events.
1.11.1
RTC_CALIB output
The RTC_CALIB output is used to generate a variable-frequency signal. Depending on the
user application, this signal can play the role of a reference clock to calibrate an external
device, or be connected to a buzzer to generate a sound.
The signal frequency is configured using the 7 LSB bits (PREDIV_A [6:0]) of the
asynchronous prescaler PREDIV_A[7:0].
RTC_CALIB is the output of bit 4 of the 7-bit asynchronous prescaler PREDIV_A. If
PREDIV_A[5]=0, no signal is output on RTC_CALIB.
Setting 512 Hz as the output signal
1.
Select LSE “32768 Hz” as RTC clock source.
2.
Set the asynchronous prescaler to the default value “128“.
3.
Enable the output calibration by setting “COE” to ‘1’.
4.
Select 512 Hz as the calibration output by setting CALSEL to ‘0’.



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 44 45


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