English
Language : 

PIC18F4321 Datasheet, PDF (216/396 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
PIC18F4321 FAMILY
FIGURE 18-1:
AUTOMATIC BAUD RATE CALCULATION
BRG Value
XXXXh
RX pin
0000h
Start
Edge #1
Bit 0 Bit 1
Edge #2
Bit 2 Bit 3
Edge #3
Bit 4 Bit 5
Edge #4
Bit 6 Bit 7
001Ch
Edge #5
Stop Bit
BRG Clock
Set by User
ABDEN bit
RCIF bit
(Interrupt)
Read
RCREG
SPBRG
XXXXh
SPBRGH
XXXXh
Note: The ABD sequence requires the EUSART module to be configured in Asynchronous mode and WUE = 0.
Auto-Cleared
1Ch
00h
FIGURE 18-2:
BRG OVERFLOW SEQUENCE
BRG Clock
ABDEN bit
RX pin
ABDOVF bit
BRG Value
XXXXh
Start
Bit 0
0000h
FFFFh
0000h
DS39689E-page 214
Preliminary
© 2007 Microchip Technology Inc.