MITSUBISHI MICROCOMPUTERS
M37754M8C-XXXGP, M37754M8C-XXXHP
M37754S4CGP, M37754S4CHP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
50
PRELIMINAR
Y
Notice:
This
is not
a final
specification.
Some
parametric
limits
are
subject
to change.
Output pin of trans-
mit clock select bits
Table 6. Output pin of transmit clock select bits and pins’ function
TC1
0
1
TC0
0
1
0
1
Pin name
P81/CLK0
CLK0
“H”
P82/RXD0
RXD0
“H” (Note)
CLKS2
“H” (Note)
____
P80/CTS0/RTS0/DA0
____
P80/CTS0/RTS0/DA0
P80
CLKS1
Note: It outputs “H” when bit 2 of the port P8 direction register is “1”, and it
becomes floating when bit 2 is “0”.
Fig. 62 Other registers except special function select register 1 bit
configuration in plural output of transmit clock mode
0 0 1 : Clock synchronous
0
: Internal clock
This bit must be “0”
UART0 Transmit/Receive mode register
76543210
1
0
Address
3016
1
: Disable CTS, RTS
UART0 Transmit/Receive control register 0
76543210
1
Address
3416
0
: Disable receive
UART0 Transmit/Receive control register 1
76543210
0
Address
3516
0
: Disable D-A output
A-D control register 1
76543210
0
Address
1F16
Fig. 61 External connection example in plural output of transmit
clock mode
UART0
DIN
CLK
Note: This is available in clock synchronous serial I/O, using internal clock
and transmission mode.
CLKS1
TXD0
CLKS0
CLK0
DIN
CLK
DIN
CLK
Receive
Receive starts when bit 2 (REk flag) of UARTk Transmit/Receive
control register 1 is set to “1”.
____
The RTSk output is “H” when the REk flag is “0” and goes “L” when
the REk flag changed to “1” and the TIk flag did to “0”. It goes back to
“H” when receive starts. The TIk flag is cleared to “0” by write dummy
____
data to the transmit buffer register. It is ready to receive when RTSk
output is “L”.
The data from the RxDk pin is retrieved and the contents of the re-
ceive register is shifted by 1 bit each time when the transmission
clock CLKj changes from “L” to “H.” When an 8-bit data is received,
the contents of the receive register is transferred to the receive buffer
register and bit 3 (RIk flag) of UARTk Transmit/Receive control reg-
ister 1 is set to “1”. In other words, the setting “1” to the RIk flag indi-
cates that the receive buffer register contains the received data.
When the RIk flag changes from “0” to “1”, the interrupt request bit in
the UARTk receive interrupt control register is set to “1”. Bit 4 (OERk
flag) of UARTk Transmit/Receive control register 1 is set to “1” when
the next data is transferred from the receive register to the receive
buffer register while RIk flag is “1”, and indicates that the next data
was transferred to the receive register before the contents of the re-
ceive buffer register was read. RIk flag is automatically cleared to “0”
when the low-order byte of the receive buffer register is read or when
the REk flag is cleared to “0”. The OERk flag is cleared when the REk
flag is cleared or port P8 is set to a parallel port. Bit 5 (FERk flag), bit
6 (PERk flag), and bit 7 (SUMk flag) are ignored in clock synchro-
nous mode.
When reading the contents of the receive buffer register, the received
data is pulled from the least significant bit (LSB) in the received order
if bit 7 (TEM) of the UARTj Transmit/Receive control registers 0 is “0”.
If bit 7 (TEM) is “1”, the received data is pulled from the most signifi-
cant bit (MSB).
As shown in Figure 54, with clock synchronous serial communica-
tion, data cannot be received unless the transmitter is operating be-
cause the receive clock is created from the transmission clock.
Therefore, the transmitter must be operating even when there is no
need to sent data from UARTk to UARTj.