Renesas M16C/60 Series Hardware Manual page 159

Hide thumbs Also See for M16C/60 Series:
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N5 Group
(1) Example of transmit timing (when internal clock is selected)
Transfer clock
"1"
UiC1 register
"0"
TE bit
"1"
UiC1 register
TI bit
"0"
"H"
CTS
i
"L"
CLK
i
TxD
i
"1"
UiC0 register
TXEPT bit
"0"
SiTIC register
"1"
IR bit
"0"
The above timing diagram applies to the case where the register bits are set as follows:
UiMR register CKDIR bit = 0 (internal clock)
UiC0 register CRD bit = 0 (CTS/RTS enabled), CRS bit = 0 (CTS selected)
UiC0 register CKPOL bit = 0 (transmit data output at the falling edge and receive data taken in at the rising edge of the transfer clock)
UiRS bit = 0 (an interrupt request occurs when the transmit buffer becomes empty): U0IRS bit is the UCON register bit 0, U1IRS bit is the UCON
(2) Example of receive timing (when external clock is selected)
"1"
UiC1 register
"0"
RE bit
"1"
UiC1 register
"0"
TE bit
"1"
UiC1 register
TI bit
"0"
"H"
RTSi
"L"
CLKi
RxDi
"1"
UiC1 register
RI bit
"0"
"1"
SiRIC register
IR bit
"0"
The above timing diagram applies to the case where the register bits are set
as follows:
UiMR register CKDIR bit = 1 (external clock)
UiC0 register CRD bit = 0 (CTS/RTS enabled), CRS bit = 1 (RTS selected)
UiC0 register CKPOL bit = 0 (transmit data output at the falling edge and receive
f
: frequency of external clock
EXT
Figure 1.15.9 Transmit and Receive Operation
Rev.1.00
2003.05.30
page 145
Tc
Write data to the UiTB register
Transferred from UiTB register to UARTi transmit register
T
CLK
D
D
D
D
D
D
D
D
0
1
2
3
4
5
6
7
Set to "0" when interrupt request is accepted, or set to "0" in a program
Write dummy data to UiTB register
Transferred from UiTB register to UARTi transmit register
1 / f
EXT
Receive data is taken in
D
D
D
D
D
D
D
0
1
2
3
4
5
6
Transferred from UARTi receive register
to UiRB register
Set to "0" when interrupt request is
accepted, or set to "0" in a program
data taken in at the rising edge of the transfer clock)
Serial I/O (Clock Synchronous Serial I/O Mode)
Stopped pulsing because CTS
= H
i
D
D
D
D
D
D
D
D
0
1
2
3
4
5
6
7
Tc = T
= 2(n + 1) / fj
CLK
fj: frequency of UiBRG count source (f
n: value set to UiBRG register
i = 0 to 2
register bit 1, and U2IRS bit is the U2C1 register bit 4
Even if the reception is completed, the RTS
does not change. The RTS becomes "L"
when the RI bit changes to "0" from "1".
D
D
D
D
D
D
D
7
0
1
2
3
4
5
Read out from UiRB register
Make sure the following conditions are met when input
to the CLKi pin before receiving data is high:
UiC1 register TE bit = 1 (transmission enabled)
UiC1 register RE bit = 1 (reception enabled)
Write dummy data to the UiTB registe r
Stopped pulsing because the TE bit = 0
D
D
D
D
D
D
D
D
0
1
2
3
4
5
6
7
, f
, f
, f
1SIO
2SIO
8SIO
32SIO
)

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6n5

Table of Contents