PIC16F7X7
TABLE 11-3: BAUD RATES FOR ASYNCHRONOUS MODE (BRGH = 0)
FOSC = 20 MHz
FOSC = 16 MHz
FOSC = 10 MHz
Baud
Rate
(K)
SPBRG
Value
(decimal)
SPBRG
Value
(decimal)
SPBRG
Value
(decimal)
%
Error
%
Error
%
Error
Kbaud
Kbaud
Kbaud
0.3
1.2
—
—
—
255
129
31
15
9
—
—
—
207
103
25
12
8
—
—
—
129
64
15
7
1.221
1.75
0.17
1.73
1.72
8.51
3.34
8.51
—
1.202
0.17
0.17
0.16
0.16
3.55
6.29
8.51
—
1.202
0.17
0.17
1.73
1.72
8.51
6.99
9.58
—
2.4
2.404
2.404
2.404
9.6
9.766
9.615
9.766
19.2
28.8
33.6
57.6
HIGH
LOW
19.531
31.250
34.722
62.500
1.221
19.231
27.778
35.714
62.500
0.977
19.531
31.250
31.250
52.083
0.610
4
8
6
4
4
3
2
255
0
255
0
255
0
312.500
—
250.000
—
156.250
—
FOSC = 4 MHz
FOSC = 3.6864 MHz
Baud
Rate
(K)
SPBRG
Value
(decimal)
SPBRG
Value
(decimal)
%
Error
%
Error
Kbaud
Kbaud
0.3
1.2
0.300
1.202
2.404
8.929
20.833
31.250
—
0
207
51
25
6
0.3
1.2
0
0
191
47
23
5
0.17
0.17
6.99
8.51
8.51
—
2.4
2.4
0
9.6
9.6
0
19.2
28.8
33.6
57.6
HIGH
LOW
2
19.2
28.8
—
0
2
1
0
1
—
0
—
0
—
0
62.500
0.244
62.500
8.51
—
57.6
0.225
57.6
255
0
—
—
255
0
—
TABLE 11-4: BAUD RATES FOR ASYNCHRONOUS MODE (BRGH = 1)
FOSC = 20 MHz
FOSC = 16 MHz
FOSC = 10 MHz
Baud
Rate
(K)
SPBRG
Value
(decimal)
SPBRG
Value
(decimal)
SPBRG
Value
(decimal)
%
Error
%
Error
%
Error
Kbaud
Kbaud
Kbaud
0.3
1.2
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
2.4
—
—
—
—
—
—
2.441
9.615
19.531
28.409
32.895
56.818
2.441
625.000
1.71
0.16
1.72
1.36
2.10
1.36
—
255
64
31
21
18
10
255
0
9.6
9.615
19.231
29.070
33.784
59.524
4.883
1250.000
0.16
0.16
0.94
0.55
3.34
—
129
64
42
36
20
255
0
9.615
19.231
29.412
33.333
58.824
3.906
1000.000
0.16
0.16
2.13
0.79
2.13
—
103
51
33
29
16
255
0
19.2
28.8
33.6
57.6
HIGH
LOW
—
—
—
FOSC = 4 MHz
FOSC = 3.6864 MHz
Baud
Rate
(K)
SPBRG
Value
(decimal)
SPBRG
Value
(decimal)
%
Error
%
Error
Kbaud
Kbaud
0.3
1.2
—
—
—
207
103
25
12
8
—
1.2
—
0
—
191
95
23
11
7
1.202
0.17
0.17
0.16
0.16
3.55
6.29
8.51
—
2.4
2.404
2.4
0
9.6
9.615
9.6
0
19.2
28.8
33.6
57.6
HIGH
LOW
19.231
27.798
35.714
62.500
0.977
19.2
28.8
32.9
57.6
0.9
0
0
6
2.04
0
6
3
3
255
0
—
—
255
0
250.000
—
230.4
DS30498C-page 136
2004 Microchip Technology Inc.