71M6511-IGT TERIDIAN [Teridian Semiconductor Corporation], 71M6511-IGT Datasheet - Page 32

no-image

71M6511-IGT

Manufacturer Part Number
71M6511-IGT
Description
Single-Phase Energy Meter IC
Manufacturer
TERIDIAN [Teridian Semiconductor Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
71M6511-IGT
Manufacturer:
TERIDIA
Quantity:
20 000
Part Number:
71M6511-IGT/F
Manufacturer:
ST
Quantity:
1 500
Part Number:
71M6511-IGT/F
Manufacturer:
Maxim Integrated
Quantity:
10 000
Part Number:
71M6511-IGTR/F
Manufacturer:
Maxim Integrated
Quantity:
10 000
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 45), and these interrupts must be cleared by the MPU software.
Interrupt 6 is edge-sensitive. The RTC_1SEC interrupt from the RTC and the XFER_BUSY interrupt from the CE are combined
using a logic OR function and the result is routed into interrupt 6. Therefore, both flags must be cleared at least once during
initialization, and both flags must always be cleared before exiting the interrupt service routine (ISR) for interrupt 6.
Note 1: If clearing of both flags is not performed, then no edge can occur to trigger interrupt 6 later resulting in the ISR for the
XFER_BUSY ceasing to run.
Note 2: Clearing both flags reliably requires some care. Either flag can be set by hardware while interrupt 6 code is running on
behalf of the other interrupt. In this situation, the unprocessed interrupt can create a lockout condition similar to the one in note
1. To prevent this lockout one must always process both interrupt flags in the same service routine.
Note 3: After a reset from an in-circuit emulator, the IE_XFER flag may not be cleared because the CE may continue to run.
The flags for the RTC_1SEC and the XFER_BUSY interrupts are located in the WDI SFR (address 0xE8).
Page: 32 of 95
Enable Bit
EX_XFER
EX_RTC
EX0
EX1
EX2
EX3
EX4
EX5
EX6
Interrupt
External
Description
Enable external interrupt 0
Enable external interrupt 1
Enable external interrupt 2
Enable external interrupt 3
Enable external interrupt 4
Enable external interrupt 5
Enable external interrupt 6
Enable XFER_BUSY interrupt
Enable RTC_1SEC interrupt
0
1
2
3
4
5
6
Connection
Digital I/O High Priority
Digital I/O Low Priority
Comparator 2 or 3
CE_BUSY
Comparator 2 or 3
EEPROM busy
XFER_BUSY OR RTC_1SEC
© 2005-2007 TERIDIAN Semiconductor Corporation
Table 45: Control Bits for External Interrupts
Table 44: External MPU Interrupts
Single-Phase Energy Meter IC
IE_XFER
Flag Bit
IE_RTC
IEX2
IEX3
IEX4
IEX5
IEX6
IE0
IE1
see DIO_Rx
see DIO_Rx
Polarity
falling
falling
falling
falling
rising
71M6511/71M6511H
Description
External interrupt 0 flag
External interrupt 1 flag
External interrupt 2 flag
External interrupt 3 flag
External interrupt 4 flag
External interrupt 5 flag
External interrupt 6 flag
XFER_BUSY interrupt flag
RTC_1SEC interrupt flag
DATA SHEET
Flag Reset
automatic
automatic
automatic
automatic
automatic
automatic
manual
AUGUST 2007
V2.6

Related parts for 71M6511-IGT