Datasheet

MSCAN Controller (MSCAN08)
MC68HC908AZ60A • MC68HC908AS60A • MC68HC908AS60E Data Sheet, Rev. 6
290 Freescale Semiconductor
23.13.4 MSCAN08 Bus Timing Register 1
SAMP — Sampling
This bit determines the number of serial bus samples to be taken per bit time. If set, three samples per
bit are taken, the regular one (sample point) and two preceding samples, using a majority rule. For
higher bit rates, SAMP should be cleared, which means that only one sample will be taken per bit.
1 = Three samples per bit
(1)
0 = One sample per bit
TSEG22–TSEG10 — Time Segment
Time segments within the bit time fix the number of clock cycles per bit time and the location of the
sample point. Time segment 1 (TSEG1) and time segment 2 (TSEG2) are programmable as shown in
Table 23-8.
The bit time is determined by the oscillator frequency, the baud rate prescaler, and the number of time
quanta (T
q
) clock cycles per bit as shown in Table 23-8).
NOTE
The CBTR1 register can only be written if the SFTRES bit in the MSCAN08
module control register is set.
Address: $0503
Bit 7654321Bit 0
Read:
SAMP TSEG22 TSEG21 TSEG20 TSEG13 TSEG12 TSEG11 TSEG10
Write:
Reset:00000000
Figure 23-18. Bus Timing Register 1 (CBTR1)
1. In this case PHASE_SEG1 must be at least 2 time quanta.
Table 23-8. Time Segment Values
TSEG13 TSEG12 TSEG11 TSEG10
Time
Segment 1
TSEG22 TSEG21 TSEG20
Time
Segment 2
0 000
1 T
q
Cycle
(1)
1. This setting is not valid. Please refer to Table 23-4 for valid settings.
000
1 T
q
Cycle
(1)
0 001
2 T
q
Cycles
(1)
001
2 T
q
Cycles
0 010
3T
q
Cycles
(1)
... .
0 011
4 T
q
Cycles
... .
. ... . 111
8T
q
Cycles
. ... .
1 111
16 T
q
Cycles
Bit time=
Pres value
f
MSCANCLK
• number of Time Quanta