English
Language : 

M32C8A Datasheet, PDF (214/372 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M32C/80 Series
M32C/8A Group
17. Serial Interfaces
17.1 UART0 to UART4
Figure 17.1 shows a UART0 to UART4 block diagram. Figures 17.2 to 17.10 show the registers associated with
UART0 to UART4. Refer to the tables listing for register and pin settings in each mode.
RXDi
CLK1 and CLK0
f1 00
f8 01
CKDIR
0
F2n(1) 10
1
UiBRG
register
1/(m+1)
CLKi
CTSi / RTSi
CLKi input
Function Select
Register(2)
CLKi output
CKPOL
Polarity
switching
Polarity
switching
RTSi output
CTSi input
Function Select
Register(3)
CRD
CRS
SMD2 to SMD0
1/16 100, 101, 110
Receive
001
control circuit
1/16 100, 101, 110
001
CKDIR
1/2
0
1
Transmit
control circuit
Receive
clock Transmit/
receive
unit
Transmit
clock
TXDi
m = Setting value of the UiBRG register
NOTES:
1. Bits CNT3 to CNT0 in the TCSPR register select no division (n = 0) or divide-by-2n (n = 1 to 15).
2. Select either Input/output port (CLKi input) or CLKi output in the Function Select Registers. (Refer to Programmable I/O Port.)
3. Select either Input/output port or RTSi output in the Function Select Registers. (Refer to Programmable I/O Port.)
RXDi
0 IOPOL
1
STPS
0
SP
SP
1
PRYE 001
0
PAR
1
100
101
SMD2 to SMD0 110
001
101
b8
110
100
b7
001
101
110
UARTi receive shift register
b6 b5 b4 b3 b2 b1 b0
0 0 0 0 0 0 0 D8
D7 D6 D5 D4 D3 D2 D1 D0 UiRB register
Logic inverse circuit + MSB/LSB conversion circuit
High-order bits of data bus
Low-order bits of data bus
Logic inverse circuit + MSB/LSB conversion circuit
D8
D7 D6 D5 D4 D3 D2 D1 D0 UiTB register
STPS
0
PRYE
0
001
SP
SP
1
PAR
1
100
101
SMD2 to SMD0 110
001
101
b8
110
100
b7
001
101
110
i = 0 to 4
SP: Stop bit
PAR: Parity bit
SMD2 to SMD0, STPS, PRYE, IOPOL, and CKDIR: bits in the UiMR register
CLK1 and CLK0, CKPOL, CRD, and CRS: bits in the UiC0 register
UiERE: bit in the UiC1 register
Figure 17.1 UART0 to UART 4 Block Diagram
b6 b5 b4 b3 b2 b1 b0
UARTi transmit shift register
Error signal
output circuit
UiERE
0
1
IOPOL
0
1
TXDi
Rev.1.00 Jul 15, 2007 Page 197 of 352
REJ09B0385-0100