English
Language : 

71M6511 Datasheet, PDF (37/95 Pages) Teridian Semiconductor Corporation – Single-Phase Energy Meter IC
71M6511/71M6511H
Single-Phase Energy Meter IC
DATA SHEET
AUGUST 2007
DIO Pin Function
DIO_DIR bit
0
1
input
output
Table 53: DIO_DIR Control Bit
Values read from and written into the DIO ports use the data registers P0, P1 and P2.
A 3-bit configuration word, I/O RAM register, DIO_Rx (0x2009[2:0] through 0x200E[6:4]) can be used for certain pins, when
configured as DIO, to individually assign an internal resource such as an interrupt or a timer control (see Table 52 for DIO pins
available for this option). This way, DIO pins can be tracked even if they are configured as outputs. This feature is useful for
pulse counting. The control resources selectable for the DIO pins are listed in Table 54. If more than one input is connected to
the same resource, the resources are combined using a logical OR.
DIO_R
Value
0
1
2
3
4
5
6
7
Resource Selected for DIO Pin
NONE
Reserved
T0 (counter0 clock)
T1 (counter1 clock)
High priority I/O interrupt (INT0 rising)
Low priority I/O interrupt (INT1 rising)
High priority I/O interrupt (INT0 falling)
Low priority I/O interrupt (INT1 falling)
Table 54: Selectable Controls using the DIO_DIR Bits
Additionally, if DIO6 and DIO7 are declared outputs, they can be configured as dedicated pulse outputs (WPULSE = DIO6,
VARPULSE = DIO7) using the I/O RAM registers DIO_PW (0x2008[2]) and DIO_PV (0x2008[3]). In this case, DIO6 and DIO7
are under CE control. DIO4 and DIO5 can be configured to implement the EEPROM Interface by setting the I/O RAM register
DIO_EEX (0x2008[4]).
Physical Memory
Data bus address space is allocated to on-chip memory as shown in Table 55.
Address
(hex)
0000-FFFF
0000-07FF
1000-13FF
2000-20FF
3000-3FFF
Memory
Technology
Flash Memory
Static RAM
Static RAM
Static RAM
Static RAM
Memory Type
Typical Usage
Non-volatile
Battery-buffered
Volatile
Volatile
Volatile
Program and non-volatile
data
MPU data
CE data
Configuration RAM
(I/O RAM)
CE Program code
Table 55: MPU Data Memory Map
Wait States
(at 5MHz)
0
0
5
0
5
Memory Size
(bytes)
64KB
2KB
1KB
256
4KB
Page: 37 of 95
© 2005-2007 TERIDIAN Semiconductor Corporation
V2.6