Datasheet
PIC18F2585/2680/4585/4680
DS39625C-page 312 Preliminary © 2007 Microchip Technology Inc.
REGISTER 23-53: BRGCON2: BAUD RATE CONTROL REGISTER 2
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
SEG2PHTS SAM SEG1PH2 SEG1PH1 SEG1PH0 PRSEG2 PRSEG1 PRSEG0
bit 7 bit 0
bit 7 SEG2PHTS: Phase Segment 2 Time Select bit
1 = Freely programmable
0 = Maximum of PHEG1 or Information Processing Time (IPT), whichever is greater
bit 6 SAM: Sample of the CAN bus Line bit
1 = Bus line is sampled three times prior to the sample point
0 = Bus line is sampled once at the sample point
bit 5-3 SEG1PH2:SEG1PH0: Phase Segment 1 bits
111 = Phase Segment 1 time = 8 x T
Q
110 = Phase Segment 1 time = 7 x T
Q
101 = Phase Segment 1 time = 6 x T
Q
100 = Phase Segment 1 time = 5 x T
Q
011 = Phase Segment 1 time = 4 x T
Q
010 = Phase Segment 1 time = 3 x T
Q
001 = Phase Segment 1 time = 2 x T
Q
000 = Phase Segment 1 time = 1 x T
Q
bit 2-0 PRSEG2:PRSEG0: Propagation Time Select bits
111 = Propagation time = 8 x TQ
110 = Propagation time = 7 x T
Q
101 = Propagation time = 6 x T
Q
100 = Propagation time = 5 x T
Q
011 = Propagation time = 4 x T
Q
010 = Propagation time = 3 x T
Q
001 = Propagation time = 2 x T
Q
000 = Propagation time = 1 x T
Q
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown