![](http://datasheet.mmic.net.cn/30000/M30102M3-XXXFP_datasheet_2358631/M30102M3-XXXFP_108.png)
Under
development
Tentative Specifications REV.E1
Specifications in this manual are tentative and subject to change.
Mitsubishi microcomputers
M30100/M30102 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Serial I/O
108
Figure 1.15.11. UARTi transmit/receive mode register in UART mode
Clock asynchronous serial I/O (UART) mode
Symbol
Address
When reset
UiMR(i=0,1)
00A016, 00A816
0016
CKDIR
UARTi transmit / receive mode registers
Internal / external clock
select bit
STPS
PRY
PRYE
0 : Internal clock
1 : External clock (Note 1)
Bit name
Function
Bit symbol
W
R
b7 b6
b5
b4
b3
b2
b1 b0
SMD0
SMD1
SMD2
Serial I/O mode select bit
b2 b1 b0
0 : One stop bit
1 : Two stop bits
0 : Parity disabled
1 : Parity enabled
1 0 0 : Transfer data 7 bits long
1 0 1 : Transfer data 8 bits long
1 1 0 : Transfer data 9 bits long
Valid when bit 6 = “1”
0 : Odd parity
1 : Even parity
Stop bit length select bit
Odd / even parity
select bit
Parity enable bit
Note : Set the corresponding port direction register to “0”.
Reserved bit
Must always be set to “0”
Pin name
Method of selection
TxD0 (P14)
Function
Serial data output
Serial data input
Transfer clock input
RxD0 (P15)
Internal/external clock select bit
(bit 3 at address 00A016 and
00A816) = “1”
Ports P16 and P36 direction
register (bit 6 at address 00E316
and 00E716) = “0”
TxD1 (P37)
RxD1 (P35)
RxD1 (P37)
CLKi (P16, P36)
Port P15 direction register
(bit 5 at address 00E116)= “0”
Port P35 direction register
(bit 5 at address 00E716)= “0”
RxD1 input pin select bit
(bit 6 at address 00B016)= “1”
Port P37 direction register
(bit 7 at address 00E716)= “0”
RxD1 input pin select bit
(bit 6 at address 00B016)= “0”
RxD1 input pin select bit
(bit 6 at address 00B016)= “1”
Port P14 cannot be used as an I/O port even when
performing only serial data input but not serial data output)
Port P37 cannot be used as an I/O port even when
performing only serial data input but not serial data output)
Port P15 can be used as an I/O port when performing only
serial data output but not serial data input)
Port P35 can be used as an I/O port when performing only
serial data output but not serial data input)
When setting Port P37 as RxD1, serial data output cannot
be performed.
Port P35 can be used as an I/O port.
Remarks
Ports P16 and P36 can be used as an I/O port when not
performing transfer clock input. In this case, set the
internal/external clock select bit to "0".
Table 1.15.4 lists the functions of the input/output pins during UART mode. Note that for a period from
when the UARTi operation mode is selected to when transfer starts, the TxDi pin outputs a “H”. (If the N-
channel open-drain is selected, this pin is in floating state.)
Table 1.15.4. Input/output pin functions in UART mode