Datasheet
2010-2012 Microchip Technology Inc. DS41414D-page 311
PIC16(L)F1946/47
TABLE 25-4: REGISTERS ASSOCIATED WITH BAUD RATE GENERATOR
Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Reset
Values on
page
BAUD1CON
ABDOVF RCIDL — SCKP BRG16 — WUE ABDEN 309
BAUD2CON
ABDOVF RCIDL — SCKP BRG16 — WUE ABDEN 309
RC1STA SPEN
RX9 SREN CREN ADDEN FERR OERR RX9D 308
RC2STA SPEN
RX9 SREN CREN ADDEN FERR OERR RX9D 308
SP1BRGL EUSART1 Baud Rate Generator, Low Byte 310*
SP1BRGH EUSART1 Baud Rate Generator, High Byte 310*
SP2BRGL EUSART2 Baud Rate Generator, Low Byte 310*
SP2BRGH EUSART2 Baud Rate Generator, High Byte 310*
TX1STA
CSRC TX9 TXEN SYNC SENDB BRGH TRMT TX9D 302
TX2STA
CSRC TX9 TXEN SYNC SENDB BRGH TRMT TX9D 307
Legend: — = unimplemented, read as ‘0’. Shaded bits are not used by the BRG.
* Page provides register information.
TABLE 25-5: BAUD RATES FOR ASYNCHRONOUS MODES
BAUD
RATE
SYNC = 0, BRGH = 0, BRG16 = 0
F
OSC = 32.000 MHz FOSC = 18.432 MHz FOSC = 16.000 MHz FOSC = 11.0592 MHz
Actual
Rate
%
Error
SPxBRGL
value
(decimal)
Actual
Rate
%
Error
SPxBRGL
value
(decimal)
Actual
Rate
%
Error
SPxBRGL
value
(decimal)
Actual
Rate
%
Error
SPxBRGL
value
(decimal)
300—— — —— — —— — —— —
1200
—— —
1200 0.00 239 1202 0.16 207 1200 0.00 143
2400
2404 0.16 207
2400 0.00 119 2404 0.16 103 2400 0.00 71
9600 9615 0.16 51 9600 0.00 29 9615 0.16 25 9600 0.00 17
10417 10417 0.00 47 10286 -1.26 27 10417 0.00 23 10165 -2.42 16
19.2k 19.23k 0.16 25 19.20k 0.00 14 19.23k 0.16 12 19.20k 0.00 8
57.6k
55.55k -3.55 3 57.60k
0.00
7
—— —
57.60k
0.00 2
115.2k — — — — — — — — — — — —
BAUD
RATE
SYNC = 0, BRGH = 0, BRG16 = 0
F
OSC = 8.000 MHz
F
OSC = 4.000 MHz FOSC = 3.6864 MHz FOSC = 1.000 MHz
Actual
Rate
%
Error
SPxBRGL
value
(decimal)
Actual
Rate
%
Error
SPxBRGL
value
(decimal)
Actual
Rate
%
Error
SPxBRGL
value
(decimal)
Actual
Rate
%
Error
SPxBRGL
value
(decimal)
300 — — — 300 0.16 207 300
0.00
191 300 0.16 51
1200 1202 0.16 103 1202 0.16 51 1200 0.00 47 1202 0.16 12
2400 2404 0.16 51 2404 0.16 25 2400 0.00 23 — — —
9600 9615 0.16 12 — — — 9600 0.00 5 — — —
10417 10417 0.00 11 10417 0.00 5 — — — — — —
19.2k — — — — — — 19.20k 0.00 2 — — —
57.6k — — — — — —
57.60k
0.00 0 — — —
115.2k — — — — — — — — — — — —