CMT2380F17
Rev0.1 | 242/347
www.cmostek.com
19.7
S1 Baud Rate Generator for S0
In the Mode 1 and Mode 3 operation of the UART0, the software can select Timer 1 as the Baud Rate
Generator by clearing bits TCLK and RCLK in T2CON register. At this time, if URTS bit (S0CFG.7) is set, then
Timer 1 overflow signal will be replaced by the overflow signal of the UART1 Baud Rate Generator (S1BRG).
In other words, the user can adopt S1BRG as the Baud Rate Generator for Mode 1 or Mode 3 of the UART0
as long as RCLK=0, TCLK=0 and URTS=1. In this condition, Timer 1 is free for other application. Of course, if
UART1 (Mode 1 or Mode 3) is also operated at this time, these two UARTs will have the same baud rates.
Figure 19
–9. Additional Baud Rate Source for the UART0
When S1BRG is used as the baud rate generator of S0, the baud rate is as follows.
19.8
Serial Port 1 Register
The following special function registers are related to the operation of the UART1:
S1CON
:
Serial port 1 Control Register
SFR Page
= 1 only
SFR Address = 0x98
Bit
7
6
5
4
3
2
1
0
Name
SM01
SM11
SM21
REN1
TB81
RB81
TI1
RI1
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset Value
0
0
0
0
0
0
0
0
Bit 7: SM01, Serial port 1 mode bit 0.
Bit 6: SM11, Serial port 1 mode bit 1.
SM31
SM01
SM11
Mode
Description
Baud Rate
0
0
0
0
shift register
SYSCLK/12 or SYSCLK/4
0
0
1
1
8-bit UART
variable
0
1
0
2
9-bit UART
SYSCLK/64, /32 or /192, /96
0
1
1
3
9-bit UART
variable
Summary of Contents for CMT2380F17
Page 27: ...CMT2380F17 Rev0 1 27 347 www cmostek com 1 25 Phase Noise...
Page 177: ...CMT2380F17 Rev0 1 177 347 www cmostek com Figure 17 3 PCA Interrupt System...
Page 246: ...CMT2380F17 Rev0 1 246 347 www cmostek com SnMIPS S0MI S1MI 1 P3 3 P4 7...