English
Language : 

71M6403 Datasheet, PDF (35/75 Pages) Teridian Semiconductor Corporation – Electronic Trip Unit
71M6403
Electronic Trip Unit
SEPTEMBER 2006
On-Chip Resources
DIO Ports
The 71M6402 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 6 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 con-
trolled 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.
LCD DISPLAY
DRIVER
LCD_EN
LCD_FS
LCD_MODE
LCD_NUM
LCD_MODE
LCD_CLK
DIGITAL I/O
DIO_EEX
FAULT_PULSE
STROBE
DIO_IN
DIO_OUT
LCD_NUM
DIO_GP
COM0..3
SEG6/SRDY
SEG0..2, SEG3/SCLK,
SEG4/SSDATA,
SEG5/SFR, SEG7..19
SEG20..23
SEG24/DIO4 ..
SEG27/DIO7
SEG28/DIO8 ..
SEG31/DIO11
SEG32/DIO12 ..
SEG41/DIO21
DIO_0..3
Figure 6: DIO Ports Block Diagram
Each pin declared as DIO can be configured independently as an input or output with the bits of the DIO_DIRn registers. Table
51 lists the direction registers and configurability associated with each group of DIO pins. Table 52 shows the configuration for a
DIO pin through its associated bit in its DIO_DIR register.
DIO Pin Group Type
DIO_0…DIO_3
DIO 4…DIO7
DIO 8…DIO11
DIO 12…DIO15
DIO 16…DIO21
DIO only
Multi-use
Multi-use
Multi-use
Multi-use
MPU
Port
Direction
Register
Name
P0
DIR0
P0
P1
DIR1
P1
P2
DIR2
Direction
Register
(SFR)
Location
0xA2 [3:0]
0xA2 [7:4]
0x91 [3:0]
0x91[7:4]
0xA1[5:0]
Data
Register
Name
P0
P1
P2
Data Re-
gister
(SFR)
Location
0x80 [3:0]
0x80 [7:4]
0x90 [3:0]
0x90[7:4]
0xA0[5:0]
Internal resources
selectable when
configured as DIO
Yes
Yes
Yes
No
No
Table 51: Direction Registers and Internal Resources for DIO Pin Groups
DIO Pin Function
DIO_DIR bit
0
1
input
output
Table 52: DIO_DIR Control Bit
Page: 35 of 75
© 2006 TERIDIAN Semiconductor Corporation
REV 1.0