English
Language : 

71M6521DE Datasheet, PDF (77/107 Pages) Teridian Semiconductor Corporation – Energy Meter IC
71M6521DE/DH/FE Data Sheet
FLSH_ERASE[7:0] SFR94[7:0] 0
FLSH_MEEN
SFRB2[1]
0
FLSH_PGADR[6:0] SFRB7[7:1] 0
FLSH_PWE
SFRB2[0]
0
FOVRIDE
IE_FWCOL0
IE_FWCOL1
IE_PB
20FD[4]
0
SFRE8[2]
0
SFRE8[3]
0
SFRE8[4]
0
IE_PLLRISE
IE_PLLFALL
SFRE8[6]
0
SFRE8[7]
0
IE_XFER
IE_RTC
SFRE8[0]
0
SFRE8[1]
0
IE_WAKE
SFRE8[5]
0
INTBITS
SFRF8[6:0] --
LCD_BLKMAP19[3:0] 205A[7:4]
0
LCD_BLKMAP18[3:0] 205A[3:0]
LCD_CLK[1:0]
2021[1:0]
0
0 W Flash Erase Initiate
FLSH_ERASE is used to initiate either the Flash Mass Erase cycle or
the Flash Page Erase cycle. Specific patterns are expected for
FLSH_ERASE in order to initiate the appropriate Erase cycle.
(default = 0x00).
0x55 – Initiate Flash Page Erase cycle. Must be proceeded by a
write to FLSH_PGADR @ SFR 0xB7.
0xAA – Initiate Flash Mass Erase cycle. Must be proceeded by a
write to FLSH_MEEN @ SFR 0xB2 and the debug (CC)
port must be enabled.
Any other pattern written to FLSH_ERASE will have no effect.
0 W Mass Erase Enable
0 – Mass Erase disabled (default).
1 – Mass Erase enabled.
Must be re-written for each new Mass Erase cycle.
0 W Flash Page Erase Address
FLSH_PGADR[6:0] – Flash Page Address (page 0 thru 127) that will
be erased during the Page Erase cycle. (default = 0x00).
Must be re-written for each new Page Erase cycle.
0 R/W Program Write Enable
0 – MOVX commands refer to XRAM Space, normal operation
(default).
1 – MOVX @DPTR,A moves A to Program Space (Flash) @ DPTR.
This bit is automatically reset after each byte written to flash. Writes
to this bit are inhibited when interrupts are enabled.
0 R/W Permits the values written by MPU to temporarily override the
values in the fuse register (reserved for production test).
0 R/W Interrupt flags for Firmware Collision Interrupt. See Flash Memory
0 R/W Section for details.
-- R/W PB flag. Indicates that a rising edge occurred on PB. Firmware must
write a zero to this bit to clear it. The bit is also cleared when MPU
requests SLEEP or LCD mode. On bootup, the MPU can read this
bit to determine if the part was woken with the PB DIO0[0].
0 R/W Indicates that the MPU was woken or interrupted (int 4) by System
power becoming available, or more precisely, by PLL_OK rising.
Firmware must write a zero to this bit to clear it
0 R/W Indicates that the MPU has entered BROWNOUT mode because
System power has become unavailable (int 4), or more precisely,
because PLL_OK fell.
Note: this bit will not be set if the part wakes into
BROWNOUT mode because of PB or the WAKE timer.
Firmware must write a zero to this bit to clear it.
0 R/W Interrupt flags. These flags monitor the XFER_BUSY interrupt and
0
the RTC_1SEC interrupt. The flags are set by hardware and must
be cleared by the interrupt handler. Note that IE6, the interrupt 6
flag bit in the MPU must also be cleared when either of these
interrupts occur.
-- R/W Indicates that the MPU was woken by the autowake timer. This bit
is typically read by the MPU on bootup. Firmware must write a zero
to this bit to clear it
-- R/W Interrupt inputs. The MPU may read these bits to see the input to
external interrupts INT0, INT1, up to INT6. These bits do not have
any memory and are primarily intended for debug use.
-- R/W Identifies which segments connected to SEG18 and SEG19 should
blink. 1 means ‘blink.’ Most significant bit corresponds to COM3.
Least significant, to COM0.
-- R/W Sets the LCD clock frequency (for COM/SEG pins, not frame rate).
Note: fw = 32768Hz
00: fw/29, 01: fw/28, 10: fw/27, 11: fw/26
Rev 2
Page: 77 of 107