English
Language : 

M16C62_N Datasheet, PDF (357/621 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
Clock-Synchronous Serial I/O
Mitsubishi microcomputers
M16C / 62 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
2.4.4 Operation of Serial I/O (reception in clock-synchronous serial I/O mode)
In receiving data in clock-synchronous serial I/O mode, choose functions from those listed in Table 2.4.3.
Operations of the circled items are described below. Figure 2.4.13 shows the operation timing, and Fig-
ures 2.4.14 and 2.4.15 show the set-up procedures.
Table 2.4.3. Choosed functions
Item
Set-up
Item
Set-up
Transfer clock
source
Internal clock (f1 / f8 / f32)
O External clock (CLKi pin)
Continuous receive
mode
O Disabled
Enabled
RTS function
CLK polarity
Transfer clock
O RTS function enabled
RTS function disabled
Input reception data at
O the rising edge of the
transfer clock
Input reception data at
the falling edge of the
transfer clock
O LSB first
MSB first
Output transfer clock O Not selected
to multiple pins
(Note 1)
Selected
CTS / RTS
separation function
(Note 2)
Data logic select
function
(Note 3)
O Pin shared by CTS and RTS
CTS and RTS separated
O No reverse
Reverse
TXD, RXD I/O
polarity reverse bit
(Note 3)
O No reverse
Reverse
Note 1: This can be selected only when UART1 is used in combination with the internal clock. When this function is
_______ _______
_______ _______
selected, neither UART1 CTS/RTS function, nor UART0 CTS/RTS separation function can be utilized. Set the
_______ _______
UART1 CTS/RTS disable bit to “1”.
_______ _______
Note 2: UART0 only. (UART1 CTS/RTS function cannot be used when this function is selected.)
Note 3: 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 content of the UARTi reception data in synchronization with the rising edges of the
transfer clock.
(3) When 1-byte data lines up in 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 goes
to “1”.
(4) The receive complete flag goes to “0” when the lower-order byte of the UARTi buffer register
is read.
342