Freescale Semiconductor PowerQUICC MPC885 Reference Manual page 646

Powerquicc family
Table of Contents

Advertisement

Serial Interface
20.4.3
UART Baud Rate Examples
For synchronous communication using the internal BRG, the BRGO output clock must not exceed the
system frequency divided by 2. So, with a 25-MHz system frequency, the maximum BRGO rate is 12.5
MHz. Program the UART to 16× oversampling when using the SCC as a UART. Rates of 8× and 32× are
also available. Assuming 16× oversampling is chosen in the UART, the maximum data rate is 25 MHz ÷
16 = 1.5625 Mbps. Keeping the above in mind, use the following formula to calculate the bit rate based
on a particular BRG configuration for a UART:
async baud rate = (BRGCLK or CLK2 or CLK6) ÷ (1 or 16 according to BRGCx[DIV16]) ÷ (clock
divider + 1) ÷ (8, 16, or 32 according to GSMR_L[TDCR, RDCR] in the general SCC mode register
low)
Table 20-14
lists typical bit rates of asynchronous communication. Notice that here the internal clock rate
is assumed to be 16× the baud rate; that is, GSMR_L[TDCR] = GSMR_L[RDCR] = 0b10.
Table 20-14. Typical Baud Rates for Asynchronous Communication
Baud
Rate
Div16
CD
50
1
1561
75
1
1040
150
1
520
300
1
259
600
0
2082
1200
0
1040
2400
0
520
4800
0
259
9600
0
129
19200
0
64
38400
0
32
57600
0
21
115200
0
10
For synchronous communication, the internal clock is identical to the baud rate output. To get the preferred
rate, select the system clock according to the following:
sync baud rate = (BRGCLK or CLK2 or CLK6) ÷ (1 or 16 according to BRGCx[DIV16]) ÷ (clock divider
+ 1)
For example, to get a rate of 64 kbps, the system clock can be 24.96 MHz, DIV16 = 0, and the clock
divider = 389.
20-40
20 MHz
Actual
Div16
Frequency
50.02
1
75.05
1
149.954
1
300.48
1
600.09
0
1200.7
0
2399.2
0
4807.7
0
9615.4
0
19231
0
37879
0
56818
0
113636
0
MPC885 PowerQUICC Family Reference Manual, Rev. 2
System Frequency
25 MHz
Actual
CD
Frequency
1952
50
1301
75
650
150
324
300.5
2603
600
1301
1200
650
2400.1
324
4807.69
162
9585.9
80
19290
40
38109
26
57870
13
111607
24.5760 MHz
Actual
Div16
CD
Frequency
1
1919
50
1
1279
75
1
639
150
1
319
300
0
2559
600
0
1279
1200
0
639
2400
0
319
4800
0
159
9600
0
79
19200
0
39
38400
0
26
56889
0
12
118154
Freescale Semiconductor

Advertisement

Table of Contents
loading

This manual is also suitable for:

Powerquicc mpc870Powerquicc mpc880Powerquicc mpc875

Table of Contents