71M6521DE/71M6521FE
Energy Meter IC
DATASHEET
JANUARY 2008
Internal Data Memory: The lower 128 bytes contain working registers and bit-addressable memory. The lower 32 bytes form
four banks of eight registers (R0-R7). Two bits on the program memory status word (PSW) select which bank is in use. The
next 16 bytes form a block of bit-addressable memory space at bit addressees 0x00-0x7F. All of the bytes in the lower 128
bytes are accessible through direct or indirect addressing. Table 6 shows the internal data memory map.
Address
Direct addressing
Indirect addressing
Special Function Registers
(SFRs)
0xFF
0x80
0x7F
0x30
0x2F
0x20
0x1F
0x00
RAM
Byte-addressable area
Bit-addressable area
Register banks R0…R7
Table 6: Internal Data Memory Map
Special Function Registers (SFRs)
A map of the Special Function Registers is shown in Table 7.
Bit-address-
Byte-addressable
able
Hex\Bin
Bin/Hex
X000
X001
X010
X011
X100
X101
X110
X111
F8
F0
E8
E0
D8
D0
INTBITS
B
WDI
A
WDCON
PSW
FF
F7
EF
E7
DF
D7
T2CON
C8
C0
B8
CF
C7
BF
IRCON
IEN1
IP1
S0RELH
S1RELH
S1CON
USR2
B0
A8
A0
FLSHCTL
S0RELL
DIR0
PGADR
B7
AF
A7
IEN0
P2
IP0
DIR2
IEN2
S0CON
S0BUF
S1BUF
S1RELL EEDATA EECTRL
98
9F
90
88
80
P1
TCON
P0
DIR1
TMOD
SP
DPS
TL0
DPL
ERASE
TH0
DPL1
97
8F
87
TL1
DPH
TH1
DPH1
CKCON
WDTREL
PCON
Table 7: Special Function Registers Locations
Only a few addresses are occupied, the others are not implemented. SFRs specific to the 652X are shown in bold print. Any
read access to unimplemented addresses will return undefined data, while any write access will have no effect. The registers at
0x80, 0x88, 0x90, etc., are bit-addressable, all others are byte-addressable.
Page: 18 of 101
© 2005-2008 TERIDIAN Semiconductor Corporation
v1.0