71M6531F-IM/F Maxim Integrated Products, 71M6531F-IM/F Datasheet - Page 32

IC ENERGY METER 256KB 68-QFN

71M6531F-IM/F

Manufacturer Part Number
71M6531F-IM/F
Description
IC ENERGY METER 256KB 68-QFN
Manufacturer
Maxim Integrated Products
Datasheet

Specifications of 71M6531F-IM/F

Mounting Style
SMD/SMT
Package / Case
QFN-68
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
External MPU Interrupts
The seven external interrupts are the interrupts external to the 80515 core, i.e. signals that originate in
other parts of the 71M6531D/F or 71M6532D/F, for example the CE, DIO, RTC or EEPROM interface.
The external interrupts are connected as described in
programmable in the MPU via the I3FR and I2FR bits in T2CON (SFR 0xC8). Interrupts 2 and 3 should be
programmed for falling sensitivity (I3FR = I2FR = 0). 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
1.5.7 Digital I/O
FWCOLx interrupts occur when the CE collides with a flash write attempt. See the Flash Write description
in the
SFR enable bits must be set to permit any of these interrupts to occur. Likewise, each interrupt has its
own flag bit, which is set by the interrupt hardware, and reset by the MPU interrupt handler.
XFER_BUSY, RTC_1SEC, WD_NROVF, FWCOL0, FWCOL1, SPI, PLLRISE and PLLFALL have their
own enable and flag bits in addition to the interrupt 6, 4 and enable and flag bits (see
IE0 through IEX6 are cleared automatically when the hardware vectors to the interrupt handler. The other
flags, IE_XFER through IE_PB, are cleared by writing a zero to them.
Data Sheet 71M6531D/F-71M6532D/F
External interrupt 0 and 1 can be mapped to pins on the device using DIO resource maps. See Section
32
EX0
EX1
EX2
EX3
IRCON[1]
IRCON[0]
routine is called).
Flash Memory
TF0 and TF1 (Timer 0 and Timer 1 overflow flags) will be automatically cleared by hardware when
the service routine is called (Signals T0ACK and T1ACK – port ISR – active high when the service
Name
Interrupt
External
Interrupt Enable
Since these bits are in an SFR bit addressable byte, common practice would be to clear them
with a bit operation, but this must be avoided
byte-wide read-modify-write hardware macro. If an interrupt occurs after the read, but before
the write, its flag will be cleared unintentionally.
The proper way to clear the flag bits is to write a byte mask consisting of all ones except for a
zero in the location of the bit to be cleared. The flag bits are configured in hardware to ignore
ones written to them.
0
1
2
3
4
5
6
for more information.
IEX2
Digital I/O High Priority
Digital I/O Low Priority
FWCOL0, FWCOL1, SPI
CE_BUSY
PLL_OK (rising), PLL_OK (falling)
EEPROM busy
XFER_BUSY, RTC_1SEC or WD_NROVF
SFR A8[0]
SFR A8[2]
SFR B8[1]
SFR B8[2]
section for more detail.
Location
© 2005-2010 TERIDIAN Semiconductor Corporation
1 = External interrupt 2 occurred and has not been cleared.
Not used.
Table 31: Interrupt Enable and Flag Bits
Table 30: External MPU Interrupts
Connection
IE0
IE1
IEX2
IEX3
Name
Interrupt Flag
Table
Table
. The hardware implements bit operations as a
SFR 88[1]
SFR 88[3]
SFR C0[1]
SFR C0[2]
30.
Location
30. The polarity of interrupts 2 and 3 is
see Section
see Section
falling
falling
rising
falling
falling
Polarity
External interrupt 0
External interrupt 1
External interrupt 2
External interrupt 3
Interrupt Description
1.5.7
1.5.7
Table
FDS 6531/6532 005
automatic
automatic
automatic
automatic
automatic
automatic
manual
Flag Reset
31).
v1.3

Related parts for 71M6531F-IM/F