Electronic Components Datasheet Search
  English  ▼

X  

AN3060 Datasheet(PDF) 18 Page - STMicroelectronics

Part # AN3060
Description  Applications guide for serial real-time clocks
PDF  23 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3060 Datasheet(HTML) 18 Page - STMicroelectronics

Back Button AN3060 Datasheet HTML 14Page - STMicroelectronics AN3060 Datasheet HTML 15Page - STMicroelectronics AN3060 Datasheet HTML 16Page - STMicroelectronics AN3060 Datasheet HTML 17Page - STMicroelectronics AN3060 Datasheet HTML 18Page - STMicroelectronics AN3060 Datasheet HTML 19Page - STMicroelectronics AN3060 Datasheet HTML 20Page - STMicroelectronics AN3060 Datasheet HTML 21Page - STMicroelectronics AN3060 Datasheet HTML 22Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 23 page
background image
RTC initialization
AN3060
18/23
Doc ID 16253 Rev 2
8
RTC initialization
8.1
What is the best sequence for accessing the RTC at first
power-up? On subsequent power-ups?
This will vary from device to device, and hence a comprehensive answer is beyond the
scope of this document. Instead, we offer an example for the M41T83/M41T82.
Initializing and accessing the M41T83/M41T82
At first power-up, the part is in a benign state - the alarms and interrupts are disabled as are
the watchdog and timer. The OUT bit is high, and the frequency test bit, FT, is disabled.
Both the digital and analog calibration functions are set to the neutral points and the OTP bit
is set to 0 thus selecting the user analog calibration register over the factory value. (OTP
applies only to the M41T83 in the embedded crystal [MY] package.)
The squarewave output is enabled and 32.768 kHz is selected. (This allows devices using
this as a reference to have it at first power-up without need of user intervention.)
Figure 10.
M41T83/M41T82 power-up defaults
The clock registers - hours, minutes, seconds, year, month, date - are unknown. Only the
century bits, CB1:CB0, are defined (00).
The stop bit, ST, powers up cleared thus enabling the 32 KHz oscillator. But, since the
oscillator has not been running (prior to this first power-up) the oscillator fail detect bit, OF,
will be set.
Lastly, as is the case at all power-ups, the HT bit is set.
IRQ1/FT/OUT pin
OSC Fail
Alarm 1
Timer
Squarewave output
Alarm 2
ST HT CB1:CB0 OUT FT
Watchdog
BM4:BM0,
RB1:RB0
OFIE OF A1IE
ABE RPT15:11 TE
TIE TD1:TD0
Digital Cal
DCS, DC4:DC0
Analog Cal
ACS, AC5:AC0
SQWE
RS3:RS0 OTP AL2E A2IE RPT25:21
1st power-up
0
1
00
1
0
0000000
0
1
0
0
00000
0
0
0
11
000000
00000000
1
1000
0
0
0
00000
Power-up from
backup
UC 1
UC
UC
0
0000000
UC
UC
UC
UC
UC
0
UC
UC
UC
UC
UC
UC
UC
UC
UC
UC
UC
1st power-up
Power-up from
backup
TI/TP
AM04728v1



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


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