Datasheet

71M6513/71M6513H
3-Phase Energy Meter IC
DATA SHEET
SEPTEMBER 2011
© 2005-2011 Teridian Semiconductor Corporation Page: 39 of 104
A Maxim Integrated Products Brand
On-Chip Resources
DIO Ports
The 71M6513/6513H includes up to 22 pins of general purpose digital I/O. 18 of these pins are dual function and can
alternatively be used as LCD drivers. Figure 8 shows a block diagram of the DIO section.
On reset or power-up, all DIO pins are inputs until they are configured for the desired direction. The pins are configured and
controlled by the DIO and DIO_DIR registers (SFRs) and by the five bits of the I/O register LCD_NUM (0x2020[4:0]). See the
description for LCD_NUM in the I/O RAM Section for a table listing the available segment pins versus DIO pins, depending on
the selection for LCD_NUM. Generally, increasing the value for LCD_NUM will configure an increasing number of general
purpose pins to be LCD segment pins, starting at the higher pin numbers.
Figure 8: DIO Ports Block Diagram
DIO
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Pin number
18
19
20
21
60
61
62
63
67
68
69
70
98
99
30
31
Pin type
DIO
Multi-use
Multi-use
Data Register bit
0
1
2
3
4
5
6
7
0
1
2
3
4
5
6
7
DIO0=P0 (SFR 0x80)
DIO1=P1 (SFR 0x90)
Direction Register
bit
--
--
--
--
4
5
6
7
0
1
2
3
4
5
6
7
DIO_DIR0 (SFR 0xA2)
DIO_DIR1 (SFR 0x91)
Internal Resources
Configurable
Y Y Y Y Y Y Y Y Y Y Y Y N N N N
DIO
16
17
18
19
20
21
22
23
Pin number
34
16
17
64
65
66
--
--
Pin type
Multi-use
Data Register bit
0
1
2
3
4
5
--
--
DIO2=P2 (SFR 0xA0)
Direction Register
bit
0
1
2
3
4
5
--
--
DIO_DIR2 (SFR 0xA1)
Internal Resources
Configurable
N N N N N N -- --
Table 51: Data Registers, Direction Registers and Internal Resources for DIO Pin Groups
COM0..3
LCD DISPLAY
DRIVER
DIGITAL I/O
LCD_EN
LCD_CLK
LCD_MODE
DIO_GP
SEG20..23
DIO_0..3
SEG28/DIO8 ..
SEG31/DIO11
LCD_NUM
DIO_OUT
DIO_IN
LCD_NUM
PULSEV/W
SEG24/DIO4 ..
SEG27/DIO7
SEG32/DIO12 ..
SEG41/DIO21
SEG0..2, SEG3/SCLK,
SEG4/SSDATA,
SEG5/SFR, SEG7..19
DIO_EEX
SEG6/SRDY