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

X  

STR720 数据表(PDF) 158 Page - STMicroelectronics

部件名 STR720
功能描述  ARM720T 16/32-BIT MCU WITH 16K RAM, USB, CAN, 3 TIMERS, ADC, 6 COMMUNICATIONS INTERFACES
PDF  401 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

STR720 数据表(HTML) 158 Page - STMicroelectronics

Back Button STR720 Datasheet HTML 154Page - STMicroelectronics STR720 Datasheet HTML 155Page - STMicroelectronics STR720 Datasheet HTML 156Page - STMicroelectronics STR720 Datasheet HTML 157Page - STMicroelectronics STR720 Datasheet HTML 158Page - STMicroelectronics STR720 Datasheet HTML 159Page - STMicroelectronics STR720 Datasheet HTML 160Page - STMicroelectronics STR720 Datasheet HTML 161Page - STMicroelectronics STR720 Datasheet HTML 162Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 158 / 401 page
background image
STR720 - REAL TIME CLOCK (RTC)
158/401
14.4.1
Register map
RTC registers are mapped as 16 bit addressable registers as described in the table below:
Refer to Table 21 on page 50 for the base address.
14.5 Programming considerations
RTC configuration procedure can be described by the following steps:
1. Reading RTOFF until its value is ‘1.
2. Writing CNF control bit at ‘1’.
3. Writing one or more RTC registers.
4. Writing CNF control bit at ‘0’, along with any other required RTCCR change.
5. Read back updated register for confirmation.
The writing operation actually takes effect only when CNF bit is written back to ‘0’ and it needs
at least 2 cycles of CLK_AF to be terminated. During those 2 CLK_AF cycles, all RTC
registers are updated simultaneously, so the sequence used to write them during the
configuration phase is not relevant. There are no particular constraints about the total length
of configuration procedure, as the actual update of the registers happens only when CNF bit is
reset to ‘0’.
Note
The configuration procedure described above should be executed by a routine
located in internal RAM so to avoid any possible interaction between RTC register
update and the board noise induced by external memory access, especially when
the code is executed from external SDRAM memory. RTC register update sequence
is quite sensitive to noise induced on the clock oscillator, and unexpected reset of
RTOFF bit could occur if such interaction happens. In this case resetting RTC block
by using RTCRST pin will restore normal RTC operations.
It is important to consider that once CNF bit is reset to ‘0’ and the actual update begins, none
of the RTC registers can be modified, RTCCR included, until the update terminates (RTOFF
becomes ‘1’ again). Since this period of time is quite long in terms of CPU clock periods (it is
Table 40. RTC Register Map
Addr.
Offset
Register Name
15
14
13
12
11
10
98
765432
10
0
RTCCR
Reserved
GEN
PEREN
AEN
Res..
Reserved
RT OFF
CNF
GIR
PERIR
AIR
Res..
4
RTCCNT_L
CNT_L
8
RTCCNT_M
CNT_M
C
RTCCNT_H
CNTH
10
RTCA_L
ALARM_L
14
RTCA_M
ALARM_M
18
RTCA_H
ALARM_H
1C
RTCP_L
PERIOD_L
20
RTCP_H
Reserved
PERIOD_H
1



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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

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