| 数据搜索系统,热门电子元器件搜索 |
|
ADE5166 数据表(PDF) 36 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADE5166 数据表(HTML) 36 Page - Analog Devices |
|
36 / 156 page ![]() ADE5166/ADE5169/ADE5566/ADE5569 Rev. B | Page 36 of 156 3.3 V PERIPHERALS AND WAKE-UP EVENTS Some of the 3.3 V peripherals are capable of waking the ADE5166/ ADE5169/ADE5566/ADE5569 from PSM2 mode. The events that can cause the ADE5166/ADE5169/ADE5566/ADE5569 to wake up from PSM2 mode are listed in the wake-up event column in Table 29. The interrupt flag associated with these events must be cleared prior to executing instructions that put the ADE5166/ ADE5169/ADE5566/ADE5569 in PSM2 mode after wake-up. Table 29. 3.3 V Peripherals and Wake-Up Events 3.3 V Peripheral Wake-Up Event Wake-Up Enable Bits Flag Interrupt Vector Comments Temperature ADC ∆T Maskable The temperature ADC can wake up the ADE5166/ADE5169/ ADE5566/ADE5569. A pending interrupt is generated according to the description in the Temperature Measurement section. This wake-up event can be disabled by disabling temperature measurements in the temperature and supply delta SFR (DIFFPROG, Address 0xF3) in PSM2 mode. The temperature interrupt needs to be serviced and acknowledged prior to entering PSM2 mode. VDCINADC ΔV Maskable FVADC (IPSMF[3]) IPSM The VDCIN measurement can wake up the ADE5166/ADE5169/ ADE5566/ADE5569. The FVADC flag, Bit 3 of the power manage- ment interrupt flag SFR (IPSMF, Address 0xF8), is set according to the description in the External Voltage Measurement section. This wake-up event can be disabled by clearing the EVADC bit, Bit 3 in the power management interrupt enable SFR (IPSME, Address 0xEC); see Table 21. The FVADC flag needs to be cleared prior to entering PSM2 mode. Power Supply Management PSR Nonmaskable FPSR (IPSMF[7]) IPSM The ADE5166/ADE5169/ADE5566/ADE5569 wake up if the power supply is restored (if VSWOUT switches to be connected to VDD). The VSWSOURCE flag, Bit 6 of the peripheral configuration SFR (PERIPH, Address 0xF4), is set to indicate that VSWOUT is connected to VDD. RTC Interval Maskable ITFLAG (TIMECON[2]) IRTC The ADE5166/ADE5169/ADE5566/ADE5569 wake up after the programmable time interval has elapsed. The RTC interrupt needs to be serviced and acknowledged prior to entering PSM2 mode. Alarm Maskable ALFLAG (TIMECON[6]) IRTC An alarm can be set to wake the ADE5166/ADE5169/ADE5566/ ADE5569 after the desired amount of time. The RTC alarm is enabled by setting the ALxxx_EN bits in the RTC Configuration 2 SFR (TIMECON2, Address 0xA2). The RTC interrupt needs to be serviced and acknowledged prior to entering PSM2 mode. I/O Ports1 INT0 INT0PRG = 1 (INTPR[0]) N/A IE0 The edge of the interrupt is selected by the IT0 bit, Bit 0 in the TCON SFR (TCON, Address 0x88). The IE0 flag, Bit 1 in the TCON SFR, is not affected. The Interrupt 0 interrupt needs to be serviced and acknowledged prior to entering PSM2 mode. INT1 INT1PRG = 11x (INTPR[3:1]) N/A IE1 The edge of the interrupt is selected by the IT1 bit, Bit 2 in the TCON SFR (TCON, Address 0x88). The IE1 flag, Bit 3 in the TCON SFR, is not affected. The Interrupt 1 interrupt needs to be serviced and acknowledged prior to entering PSM2 mode. Rx2 edge RXPROG = 11 (PERIPH[1:0]) RX2FLAG (PERIPH[7]) N/A An Rx edge event occurs if a rising or falling edge is detected on the RxD2 line. The UART2 RxD flag needs to be cleared prior to entering PSM2 mode. External Reset Reset Nonmaskable N/A N/A If the RESET pin is brought low while the ADE5166/ADE5169/ ADE5566/ADE5569 are in PSM2 mode, they wake up to PSM1 mode. LCD N/A N/A N/A N/A The LCD can be enabled/disabled in PSM2 mode. The LCD data memory remains intact. Scratch Pad N/A N/A N/A N/A The four SCRATCHx registers remain intact in PSM2 mode. 1 All I/O pins are treated as inputs. The weak pull-up on each I/O pin can be disabled individually in the Port 0 weak pull-up enable SFR (PINMAP0, Address 0xB2), Port 1 weak pull-up enable SFR (PINMAP1, Address 0xB3), and Port 2 weak pull-up enable SFR (PINMAP2, Address 0xB4) to decrease current consumption. The interrupts can be enabled or disabled. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |