Microchip Technology DV164136 Data Sheet

Page of 446
PIC18F8722 FAMILY
DS39646C-page 256
© 2008 Microchip Technology Inc.
FIGURE 20-1:
AUTOMATIC BAUD RATE CALCULATION
FIGURE 20-2:
BRG OVERFLOW SEQUENCE
BRG Value
RXx pin
ABDEN bit
RCxIF bit
Bit 0
Bit 1
(Interrupt)
Read
RCREGx
BRG Clock
Start
Auto-Cleared
Set by User
XXXXh
0000h
Edge #1
Bit 2
Bit 3
Edge #2
Bit 4
Bit 5
Edge #3
Bit 6
Bit 7
Edge #4
Stop Bit
Edge #5
001Ch
Note: The ABD sequence requires the EUSART module to be configured in Asynchronous mode and WUE =
0
.
SPBRGx
XXXXh
1Ch
SPBRGHx
XXXXh
00h
Start
Bit 0
XXXXh
0000h
0000h
FFFFh
BRG Clock
ABDEN bit
RXx pin
ABDOVF bit
BRG Value