Renesas M16C/64A Series User Manual page 513

Table of Contents

Advertisement

M16C/64A Group
(1) 8-bit Data Transmit Timing (with a Parity Bit and 1 Stop Bit)
Transmit/receive
clock
1
TE bit in the
UiC1 register
0
1
TI bit in the
UiC1 register
0
High
CTSi
Low
TXDi
1
TXEPT bit in the
UiC0 register
0
1
IR bit in the
SiTIC register
0
i = 0 to 2, 5 to 7
The above assumes the following:
• The PRYE bit in the UiMR register is 1 (parity enabled).
• The STPS bit in the UiMR register is 0 (1 stop bit).
• The CRD bit in the UiC0 register is 0 ( CTS / RTS enabled)
• The CRS bit in the UiC0 register is 0 ( CTS selected).
• The UiIRS bit in the UiC1 or UCON register is 1
(an interrupt request occurs when transmit completed)
(2) 9-bit Data Transmit Timing (with No Parity Bit and 2 Stop Bits)
Transmit/
receive clock
1
TE bit in the
UiC1 register
0
1
TI bit in the
UiC1 register
0
TXDi
1
TXEPT bit in the
UiC0 register
0
1
IR bit in the
SiTIC register
0
i = 0 to 2, 5 to 7
The above assumes the following:
• The PRYE bit in the UiMR register is 0 (parity disabled).
• The STPS bit in the UiMR register is 1 (two stop bit).
• The CRD bit in the UiC0 register is 1 ( CTS / RTS disabled)
• The UiIRS bit in the UiC1 or UCON register is 0
(an interrupt request occurs when transmit buffer becomes empty)
Figure 23.12 Transmit Timing in UART Mode
R01UH0136EJ0210 Rev.2.10
Jul 31, 2012
The transmit/receive clock stops once because a high-level signal is applied to
the CTS pin when the stop bit is verified. The transmit/receive clock resumes
Tc
running as soon as a low-level signal is applied to the CTS pin.
Set the data in the UiTB register.
Start bit
ST
D0
D1
D2
D3
D4
D5
Tc
Set the data in the UiTB register.
Start bit
ST
D0
D1
D2
D3
D4
D5
D6
Set to 0 by an interrupt request acknowledgment or by a program.
23. Serial Interface UARTi (i = 0 to 2, 5 to 7)
Data is transferred from the UiTB
register to the UARTi transmit register.
Parity
Stop
bit
bit
D6
D7
P
SP
ST
D0
D1
D2
Set to 0 by an interrupt request acknowledgment or by a program.
Tc = 16(n + 1)/fj or 16(n + 1)/fEXT
fj: Frequency of UiBRG count source (f1SIO, f2SIO,
f8SIO, f32SIO)
fEXT: Frequency of UiBRG count source (external clock)
n: Value set to UiBRG
Data is transferred from the UiTB register
to the UARTi transmit register.
Stop
Stop
bit
bit
D7
D8
SP
SP
ST
D0
D1
D2
TC = 16(n + 1)/fj or 16(n + 1)/fEXT
fj: Frequency of UiBRG count source (f1SIO, f2SIO,
f8SIO, f32SIO)
fEXT: Frequency of UiBRG count source (external clock)
n: Value set to UiBRG
Pulse stops because the TE
bit is 0.
D3
D4
D5
D6
D7
P
SP
D3
D4
D5
D6
D7
D8
SP SP
Page 480 of 800
ST
D0
D1
ST
D0
D1

Advertisement

Table of Contents
loading

Table of Contents