Operation Of Serial I/O (Reception In Uart Mode) - Renesas M16C Series User Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

M30245 Group

2.4.3 Operation of Serial I/O (reception in UART mode)

In receiving data in UART mode, choose functions from those listed in Table 2.4.5. Operations of the
circled items are described below. Figure 2.4.10 shows the operation timing, and Figures 2.4.11 and
2.4.12 show the set-up procedures.
www.DataSheet4U.com
Operation
Note
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Table 2.4.5. Choosed functions
Item
Transfer clock
O
Internal clock (f
source
External clock (CLKi pin)
O
RTS function
RTS function enabled
RTS function disabled
Data logic select
O
No reverse
function
Reverse
(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.
• Set RxDi pin's port direction register to "0".
page 68 of 354
Set-up
Item
/ f
/ f
)
T
D, R
D I/O
1
8
32
X
X
polarity reverse bit
Bus collision
detection function
2. UART
Set-up
O
No reverse
Reverse
Not selected
O
Selected

Advertisement

Table of Contents
loading

Table of Contents