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.
Table 2.4.5. Choosed functions
Item
Transfer clock
source
RTS function
Data logic select
function
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.
Note
• Set RxDi pin's port direction register to "0".
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Set-up
O
Internal clock (f
External clock (CLKi pin)
O
RTS function enabled
RTS function disabled
O
No reverse
Reverse
_______
page 68 of 354
Item
/ f
/ f
)
1
8
32
T
D, R
D I/O
X
X
polarity reverse bit
Bus collision
detection function
2. UART
Set-up
No reverse
O
Reverse
Not selected
O
Selected