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

X  

ADE7166 数据表(PDF) 120 Page - Analog Devices

部件名 ADE7166
功能描述  Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
PDF  148 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  AD [Analog Devices]
网页  http://www.analog.com
标志 AD - Analog Devices

ADE7166 数据表(HTML) 120 Page - Analog Devices

Back Button ADE7166 Datasheet HTML 116Page - Analog Devices ADE7166 Datasheet HTML 117Page - Analog Devices ADE7166 Datasheet HTML 118Page - Analog Devices ADE7166 Datasheet HTML 119Page - Analog Devices ADE7166 Datasheet HTML 120Page - Analog Devices ADE7166 Datasheet HTML 121Page - Analog Devices ADE7166 Datasheet HTML 122Page - Analog Devices ADE7166 Datasheet HTML 123Page - Analog Devices ADE7166 Datasheet HTML 124Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 120 / 148 page
background image
ADE75xx/ADE71xx
Preliminary Technical Data
Rev. PrE | Page 120 of 148
Note: This register is reset after a watchdog reset, an external reset or a
power on reset (POR).
Table 118. Interrupt pins configuration SFR (INTPR, 0xFF)
Bit
Location
Bit
Mnemonic
Default
Value
Description
7
RTCCAL
0
Control RTC calibration output
When set, the RTC calibration frequency selected by FSEL[1:0] is output on the
P0.2/CF1/RTCCAL pin.
Sets RTC calibration output frequency and calibration window
FSEL[1:0]
Calibration window, frequency
0
0
30.5 seconds, 1Hz
0
1
30.5 seconds, 512 Hz
1
0
0.244 seconds, 500Hz
6-5
FSEL[1:0]
1
1
0.244 seconds, 16.384 kHz
4
Reserved
Controls the function of INT1T
INT1PRG[2:0]
Function
x
0
0
GPIO
x
0
1
BCTRL
0
1
x
INT1 input disabled
3-1
INT1PRG[2:0]
000
1
1
x
INT1 input enabled
Controls the function of INT0
INT0PRG
Function
0
INT0 input disabled
0
INT0PRG
0
1
INT0 input enabled
Table 119. Key SFR (KYREG, 0xC1)
Bit
Location
Bit
Mnemonic
Default
Value
Description
7-0
KYREG
0
Write 0xA7 to the KYREG SFR before writing the POWCON SFR, to unlock it
Write 0xEA to the KYREG SFR before writing to the HTHSEC, SEC, MIN, or
HOUR timekeeping register to unlock it..
READ AND WRITE OPERATIONS
Writing the RTC Registers
The RTC circuitry runs off a 32.768kHz clock. The timekeeping
registers, HTHSEC, SEC, MIN, HOUR are updated with a
32.768 kHz clock. However, the TIMECON and INTVAL SFRs
are updated with a 128Hz clock. It takes up to two 128Hz clock
cycles from when the MCU writes the TIMECON or INTVAL
register until it is successfully updated in the RTC.
To protect the RTC timekeeping registers from runaway code, a
key must be written to the KYREG register to obtain write
access to the HTHSEC, SEC, MIN and HOUR registers. The
KYREG should be set to 0xEA to unlock the timekeeping
registers and is reset to zero after a timekeeping register is
written to. The RTC registers can be written using the following
8052 assembly code:
MOV
RTCKey, #0EAh
CALL
UpdateRTC
UpdateRTC:
MOV
KYREG, RTCKey
MOV
SEC, #30
MOV
KYREG, RTCKey
MOV
MIN, #05
MOV
KYREG, RTCKey
MOV
HOUR, #04
RET
Reading the RTC Counter SFRs
The RTC cannot be stopped to read the current time because
stopping the RTC would introduce an error in its timekeeping.
So the RTC is read on the fly. Therefore the counter registers



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