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

X  

ADE5166 数据表(PDF) 144 Page - Analog Devices

部件名 ADE5166
功能描述  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

ADE5166 数据表(HTML) 144 Page - Analog Devices

Back Button ADE5166 Datasheet HTML 140Page - Analog Devices ADE5166 Datasheet HTML 141Page - Analog Devices ADE5166 Datasheet HTML 142Page - Analog Devices ADE5166 Datasheet HTML 143Page - Analog Devices ADE5166 Datasheet HTML 144Page - Analog Devices ADE5166 Datasheet HTML 145Page - Analog Devices ADE5166 Datasheet HTML 146Page - Analog Devices ADE5166 Datasheet HTML 147Page - Analog Devices ADE5166 Datasheet HTML 148Page - Analog Devices  
Zoom Inzoom in Zoom Outzoom out
 144 / 148 page
background image
ADE5166/ADE5169/ADE5566/ADE5569
Preliminary Technical Data
Rev. PrB | Page 144 of 148
Table 162. Port 0 Alternate Functions
Pin No.
Alternate Function
Alternate Function Enable
P0.0
BCTRL external battery control input
Set INT1PROG[2:0] = x01 in the interrupt pins configuration SFR (INTPR, 0xFF).
INT1 external interrupt
Set EX1 in the Interrupt Enable SFR (IE, 0xA8).
INT1 wake-up from PSM2 operating mode
Set INT1PROG[2:0] = 11x in the interrupt pins configuration SFR (INTPR, 0xFF).
P0.1
FP19 LCD segment pin
Set FP19EN in the LCD Segment Enable 2 SFR (LCDSEGE2, 0xED).
P0.2
CF1 ADE calibration frequency output
Clear the DISCF1 bit in the ADE energy measurement internal MODE1 register
(0x0B).
P0.3
CF2 ADE calibration frequency output
Clear the DISCF2 bit in the ADE energy measurement internal MODE1 register
(0x0B).
P0.4
MOSI SPI data line
Set the SCPS bit in the configuration SFR (CFG, 0xAF) and set the SPIEN bit in
SPI Configuration SFR 2 (SPIMOD2, 0xE9).
SDATA I2C data line
Clear the SCPS bit in the configuration SFR (CFG, 0xAF) and set the I2CEN bit
in the I2C mode SFR (I2CMOD, 0xE8).
P0.5
MISO SPI data line
Set the SCPS bit in the configuration SFR (CFG, 0xAF) and set the SPIEN bit in
SPI Configuration SFR 2 (SPIMOD2, 0xE9).
Zero Crossing Detection 2
Set the ZX2 bit in the MODE3 energy measurement SFR (MODE3, 0x2B)
P0.6
SCLK serial clock for I2C or SPI
Set the I2CEN bit in the I2C mode SFR (I2CMOD, 0xE8) or the SPIEN bit in SPI
Configuration SFR 2 (SPIMOD2, 0xE9) to enable the I2C or SPI interface.
T0 Timer0 input
Set the C/T0 bit in the Timer/Counter 0 and Timer/Counter 1 mode SFR (TMOD,
0x89) to enable T0 as an external event counter.
P0.7
SS SPI slave select input for SPI in slave mode
Set the SS_EN bit in SPI Configuration SFR 1 (SPIMOD1, 0xE8).
SS SPI slave select output for SPI in master mode
Set the SPIMS_b bit in SPI Configuration SFR 2 (SPIMOD2, 0xE9).
T1 Timer 1 input
Set the C/T1 bit in the Timer/Counter 0 and Timer/Counter 1 mode SFR (TMOD,
0x89) to enable T1 as an external event counter.
RxD2 receiver data input for UART2
Set the REN2 bit in the Serial Communications Control SFR (SCON2, 0xE1).
Table 163. Port 1 Alternate Functions
Pin No.
Alternate Function
Alternate Function Enable
P1.0
RxD receiver data input for UART
Set the REN bit in the serial communications control register SFR (SCON,
0x98).
Rx Edge wake-up from PSM2 operating mode
Set RXPROG[1:0] = 11 in the peripheral configuration SFR (PERIPH, 0xF4).
P1.1
TxD transmitter data output for UART
This pin becomes TxD as soon as data is written into SBUF.
P1.2
FP25 LCD segment pin
Set FP25EN in the LCD segment enable SFR (LCDSEGE, 0x97).
Zero-Crossing Detection 1
Set the ZX1 bit in the MODE3 Energy Measurement SFR (MODE3, 0x2B)
P1.3
FP24 LCD segment pin
Set FP24EN in the LCD segment enable SFR (LCDSEGE, 0x97).
T2EX Timer 2 control input
Set EXEN2 in the Timer/Counter 2 control SFR (T2CON, 0xC8).
P1.4
FP23 LCD segment pin
Set FP23EN in the LCD segment enable SFR (LCDSEGE, 0x97).
T2 Timer 2 input
Set the C/T2 bit in the Timer/Counter 2 control SFR (T2CON, 0xC8) to enable
T2 as an external event counter.
P1.5
FP22 LCD segment pin
Set FP22EN in the LCD segment enable SFR (LCDSEGE, 0x97).
P1.6
FP21 LCD segment pin
Set FP21EN in the LCD segment enable SFR (LCDSEGE, 0x97).
P1.7
FP20 LCD segment pin
Set FP20EN in the LCD segment enable SFR (LCDSEGE, 0x97).
Table 164. Port 2 Alternate Functions
Pin No.
Alternate Function
Alternate Function Enable
P2.0
FP18 LCD segment pin
Set FP18EN in the LCD Segment Enable 2 SFR (LCDSEGE2, 0xED).
P2.1
FP17 LCD segment pin
Set FP17EN in the LCD Segment Enable 2 SFR (LCDSEGE2, 0xED).
P2.2
FP16 LCD segment pin
Set FP16EN in the LCD Segment Enable 2 SFR (LCDSEGE2, 0xED).
P2.3
SDEN serial download pin sampled on reset. P2.3 is
an output only. TxD2 transmitter data output for
UART2.
Enabled by default. This pin becomes TxD2 as soon as data is written into
SBUF2.



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