![](http://datasheet.mmic.net.cn/30000/M30102F3TFP_datasheet_2358625/M30102F3TFP_104.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
103
Clock synchronous serial I/O 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
SLEP
0 : Internal clock
1 : External clock (Note)
Bit name
Function
Bit symbol
W
R
b7 b6 b5 b4 b3 b2 b1 b0
0 (Must always be “0” in clock synchronous serial I/O mode)
01
0
SMD0
SMD1
SMD2
Serial I/O mode select bit
0 0 1 : Clock synchronous serial
I/O mode
b2 b1 b0
0
Invalid in clock synchronous serial I/O mode
Note : Set the corresponding port direction register to “0”.
(When transfer clock output from multiple pins is not selected)
Pin name
Method of selection
TxD0 (P14)
Function
Serial data output
Serial data input
Transfer clock output
Transfer clock input
RxD0 (P15)
CLKi (P16, P36) Internal/external clock select bit
(bit 3 at addresses 00A016 and
00A816) = “0”
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
Table 1.15.2. Input/output pin functions in clock synchronous serial I/O mode
Table 1.15.2 lists the functions of the input/output pins during clock synchronous serial I/O mode. This
table shows the pin functions when the transfer clock output from multiple pins is not selected. Note that
for a period from when the UARTi operation mode is selected to when transfer starts, the TxDi pin outputs
an “H”. (If the N-channel open-drain is selected, this pin is in floating state.)
Figure 1.15.6. UARTi transmit/receive mode register in clock synchronous serial I/O mode