English
Language : 

M16C62_N Datasheet, PDF (377/621 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
UART
Mitsubishi microcomputers
M16C / 62 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
2.5.3 Operation of Serial I/O (reception in UART mode)
In receiving data in UART mode, choose functions from those listed in Table 2.5.5. Operations of the
circled items are described below. Figure 2.5.11 shows the operation timing, and Figures 2.5.12 and
2.5.13 show the set-up procedures.
Table 2.5.5. Choosed functions
Item
Set-up
Item
Set-up
Transfer clock
source
(Note 2)
O Internal clock (f1 / f8 / f32)
External clock (CLKi pin)
Data logic select
function
(Note 3)
O No reverse
Reverse
RTS function
CTS / RTS
separation function
(Note 1)
Sleep mode
(Note 2)
O RTS function enabled
RTS function disabled
TXD, RXD I/O
polarity reverse bit
(Note 3)
O Pin shared by CTS and RTS Bus collision
CTS and RTS separate
detection function
(Note 3)
O Sleep mode off
Sleep mode selected
O No reverse
Reverse
O Not selected
Selected
_______ ________
Note 1: UART0 only. (UART1 CTS/RTS function cannot be used when this function is selected.)
Note 2: UART0, UART1 only.
Note 3: UART2 only.
Operation (1) Setting the receive enable bit to “1” readies data-receivable status. At this time, output from
________
the RTSi pin goes to “L” level to inform the transmission side that the receivable status is
ready.
(2) When the first bit (the start bit) of reception data is received from the RxDi pin, output from the
_______
RTS goes to “H” level. Then, data is received, bit by bit, in sequence: LSB, ····, MSB, and stop
bit(s).
(3) When the stop bit(s) is (are) received, the content of the UARTi receive register is transmitted
to the UARTi receive buffer register.
At this time, the receive complete flag goes to “1” to indicate that the reception is completed, the
_______
UARTi receive interrupt request bit goes to “1”, and output from the RTS pin goes to “L” level.
(4) The receive complete flag goes to “0” when the lower-order byte of the UARTi buffer register
is read.
362