71M6521FE-IM/F Maxim Integrated Products, 71M6521FE-IM/F Datasheet - Page 34

no-image

71M6521FE-IM/F

Manufacturer Part Number
71M6521FE-IM/F
Description
IC ENERGY METER 32K FLASH 68-QFN
Manufacturer
Maxim Integrated Products
Datasheets

Specifications of 71M6521FE-IM/F

Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
71M6521FE-IM/F
Manufacturer:
MAXIM
Quantity:
2 000
The AUTOWAKE and PB flag bits are shown in Table 47 because they behave similarly to interrupt flags, even though
they are not actually related to an interrupt. These bits are set by hardware when the MPU wakes from a push button
or wake timeout. The bits are reset by writing a zero. Note that the PB flag is set whenever the PB is pushed, even if
the part is already awake.
Each interrupt has its own flag bit, which is set by the interrupt hardware and is reset automatically by the MPU
interrupt handler (0 through 5). XFER_BUSY and RTC_1SEC, which are OR-ed together, have their own enable and
flag bits in addition to the interrupt 6 enable and flag bits (see Table 47), and these interrupts must be cleared by the
MPU software.
The external interrupts are connected as shown in Table 47. The polarity of interrupts 2 and 3 is programmable in the
MPU via the I3FR and I2FR bits in T2CON. Interrupts 2 and 3 should be programmed for falling sensitivity. The
generic 8051 MPU literature states that interrupts 4 through 6 are defined as rising edge sensitive. Thus, the
hardware signals attached to interrupts 5 and 6 are inverted to achieve the edge polarity shown in Table 47.
SFR (special function register) enable bits must be set to permit any of these interrupts to occur. Likewise, each
interrupt has its own flag bit that is set by the interrupt hardware and is reset automatically by the MPU interrupt
handler (0 through 5). XFER_BUSY and RTC_1SEC, which are OR-ed together, have their own enable and flag bits in
addition to the interrupt 6 enable and flag bits (see Table 47), and these interrupts must be cleared by the MPU
software.
Page: 34 of 107
EX_FWCOL
EX_XFER
EX_RTC
EX_PLL
NAME
EX0
EX1
EX2
EX3
EX4
EX5
EX6
Interrupt Enable
When servicing the XFER_BUSY and RTC_1SEC interrupts, special care must be taken to avoid lock-
up conditions: If, for example, the XFER_BUSY interrupt is serviced, control must not return to the main
program without checking the RTC_1SEC flag. If this rule is ignored, a RTC_1SEC interrupt appearing
during the XFER_BUSY service routine will disable the processing of any XFER_BUSY or RTC_1SEC
interrupt, since both interrupts are edge-triggered (see the Software User’s Guide SUG652X).
LOCATION
SFR A8[[0]
SFR A8[2]
SFR B8[1]
SFR B8[2]
SFR B8[3]
SFR B8[4]
SFR B8[5]
2002[0]
2002[1]
2007[4]
2007[5]
Table 47: Interrupt Enable and Flag Bits
IE_PLLFALL
IE_FWCOL0
IE_FWCOL1
IE_PLLRISE
IE_WAKE
IE_XFER
IE_RTC
NAME
IE_PB
IEX2
IEX3
IEX4
IEX5
IEX6
IE0
IE1
Interrupt Flag
LOCATION
SFR C0[1]
SFR C0[2]
SFR C0[3]
SFR C0[4]
SFR C0[5]
SFR E8[0]
SFR E8[1]
SFR E8[3]
SFR E8[2]
SFR 88[1]
SFR 88[3]
SFRE8[6]
SFRE8[7]
SFRE8[5]
SFRE8[4]
External interrupt 0
External interrupt 1
External interrupt 2
External interrupt 3
External interrupt 4
External interrupt 5
External interrupt 6
XFER_BUSY interrupt (int 6)
RTC_1SEC interrupt (int 6)
FWCOL0 interrupt (int 2)
FWCOL1 interrupt (int 2)
PLL_OK rise interrupt (int 4)
PLL_OK fall interrupt (int 4)
AUTOWAKE flag
PB flag
71M6521DE/DH/FE Data Sheet
Interrupt Description
Rev 2

Related parts for 71M6521FE-IM/F