TC1796
Peripheral Units (Vol. 2 of 2)
Micro Link Interface (MLI)
User’s Manual 23-130 V2.0, 2007-07
MLI, V2.0
23.5.4 Port Control and Connections
MLI0 and MLI1 clock and data output lines are connected to GPIO ports and are,
therefore, controlled in the port logics (see also Page 23-125 and Page 23-126). The
following port control operations selections must be executed for these I/O lines:
• Input/output function selection (IOCR registers)
• Pad driver characteristics selection for the outputs (PDR registers)
23.5.4.1 Input/Output Function Selection
The port input/output control registers contain the bit fields that select the digital output
and input driver characteristics such as port direction (input/output) with alternate output
selection, pull-up/down devices, and open-drain selections. The I/O lines for the MLI
modules are controlled by the Port 1, Port 5 and Port 8 input/output control registers.
When the MLI modules are connected to the GPIO port lines, the correct settings of the
enable/polarity control bits and bit fields in the output input control registers MLI0_IOCR
and MLI1_IOCR must also be regarded (transmitter I/O line control see Page 23-51,
receiver I/O line control see Page 23-51). Note that after a reset operation the MLI0 and
MLI1 modules (although enabled) have no direct connections to the GPIO lines.
Table 23-11 shows how OICR register bits and bit fields must be programmed for the
required GPIO functionality of the MLI I/O lines.
Table 23-11 MLI0 and MLI1 I/O Line Selection and Setup
Module Port Lines Input/Output Control
Register Bits
I/O
MLI0 P1.3 / TREADY0B P1_IOCR0.PC3 = 0XXX
B
1)
MLI0_OICR.TRE = 1
MLI0_OICR.TRP = X
2)
MLI0_OICR.TRS = 01
B
Input
P1.4 / TCLK0 P1_IOCR4.PC4 = 1X01
B
1)
MLI0_OICR.TCE = 1
MLI0_OICR.TCP = X
2)
Output
P1.5 / TREADY0A P1_IOCR4.PC5 = 0XXX
B
1)
MLI0_OICR.TRE = 1
MLI0_OICR.TRP = X
2)
MLI0_OICR.TRS = 00
B
Input
P1.6 / TVALID0A P1_IOCR4.PC6 = 1X01
B
1)
MLI0_OICR.TVEA = 1
MLI0_OICR.TVPA = X
2)
Output
P1.7 / TDATA0 P1_IOCR4.PC7 = 1X01
B
1)
MLI0_OICR.TDP = X
2)
Output