
194
Specifications in this manual are tentative and subject to change
Clock-Synchronous Serial I/O
Mitsubishi microcomputers
M30240 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
2.4.2.3 Reception in clock-synchronous serial I/O mode
For receiving data in clock-synchronous serial I/O mode, select functions from those listed in
Table 2.16An example using the indicated options is described below.
Figure 2.51 shows the operation timing, and
Table 2.16:
Serial I/O reception in clock synchronous serial I/O mode functions
Note 1: This can be selected only when UART1 is used in combination with the internal clock. When this function is
selected, the CTS/RTS function cannot be utilized. Set the UART1 CTS/RTS disabled bit to “0”.
Note 2: UART2 only.
Operation
(1) Writing dummy data to the UARTi transmit buffer register, setting the receive enable bit to “1”, and
the transmit enable bit to “1”, makes the data receivable status ready. At this time, the output from the
RTSi pin goes to “L” level, which informs the transmission side that the data receivable status is ready
(output the transfer clock from the IC on the transmission side after checking that the RTS output has
gone to “L” level).
(2) In synchronization with the first rising edge of the transfer clock, the input signal to the RxDi pin is
stored in the highest bit of the UARTi receive register. Then, data is taken in by shifting right the con-
tent of the UARTi reception data in synchronization with the rising edges of the transfer clock.
(3) When 1-byte of data fills the UARTi receive register, the content of the UARTi receive register is
transmitted to the UARTi receive buffer register. The transfer clock stops at “H” level. At this time, the
receive complete flag and the UARTi receive interrupt request bit go to “1”.
(4) The receive complete flag goes to “0” when the lower-order byte of the UARTi buffer register is
read.
Item
Set-up
Item
Set-up
Transfer clock source
Internal clock (f1/f8/f32)
Continuous receive
mode
O
Disabled
O
External clcok (CLKi pin)
Enabled
RTS function
O
RTS function enabled
Output transfer clock to
multiple pins (Note 1)
O
Not selected
RTS function disabled
Selected
CLK polarity
O
Input reception data at the rising
edge of the transfer clock
Data logic select function
(Note 2)
O
No reverse
Input reception data at the falling
edge of the transfer clock
Reverse
Transfer clock
O
LSB first
TxD, RxD I/O polarity
reverse bit (Note 2)
O
No reverse
MSB first
Reverse