M16C/62P Group (M16C/62P, M16C/62PT)
17. Serial Interface
Rev.2.41
Jan 10, 2006
Page 177 of 390
REJ09B0185-0241
Figure 17.1
UART0 Block Diagram
RXD0
1 / (n0+1)
1/16
1/16
1/2
U0BRG
register
Clock synchronous type
(when internal clock is selected)
Clock synchronous
type
Clock synchronous type
(when internal clock is selected)
Clock synchronous
type
(when external clock is
selected)
CLK0
Clock source selection
CTS0 /
RTS0
f1SIO or f2SIO
f8SIO
f32SIO
Internal
External
RTS0
CTS0
TXD0
Transmit/
receive
unit
(UART0)
CLK1 to CLK0
00h
01h
10h
CKDIR
CKPOL
UART reception
UART transmission
Clock synchronous type
CKDIR
1
0
RXD polarity
reversing circuit
1
0
RCSP
1
VSS
0
1
PCLK1
f1SIO or f2SIO
1/2
Main clock, PLL clock, or on-chip oscillator clock
1/2
1/8
f8SIO
f32SIO
f1SIO
f2SIO
0
1
SMD2 toSMD0
010, 100, 101, 110
001
010, 100, 101, 110
001
0
1
CRS
0
CRD
1/4
Receive
clock
Transmit
clock
Reception
control circuit
Transmission
control circuit
TXD
polarity
reversing
circuit
CTS/RTS disabled
CTS/RTS disabled
CTS/RTS selected
CTS0 from UART1
CLK
polarity
reversing
circuit
n0: Values set to the U0BRG register
PCLK1: Bit in the PCLKR register
SMD2 to SMD0, CKDIR: Bits in U0MR register
CLK1 to CLK0, CKPOL, CRD, CRS: Bits in U0C0 register
CLKMD0, CLKMD1, RCSP: Bits in UCON register
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655