English
Language : 

PIC18F2682 Datasheet, PDF (237/484 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with ECAN Technology, 10-Bit A/D and nanoWatt Technology
PIC18F2682/2685/4682/4685
FIGURE 18-1:
AUTOMATIC BAUD RATE CALCULATION
BRG Value
RX pin
XXXXh
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
SPBRGH
XXXXh
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
© 2007 Microchip Technology Inc.
Preliminary
DS39761B-page 235