LH75400/01/10/11 (Preliminary) User's Guide
22.3.2.7 Bus Timing Register 1
BTR1 is one of two CAN timing registers (BTR0 is the other). Together, these two registers
define the structure of the bit period.
The BTR1 Register defines the length of the bit period, the location of the sample point and
the number of samples to be taken at each sample point. This register can only be written
to in Reset Mode. In Operating Mode, it is Read Only.
BIT
FIELD
RESET
RW
BIT
FIELD
RESET
RW
ADDR
BITS
31:8
7
6:0
SYSTEM
CLOCK
CAN
Table 22-14. BTR1 Register
31
30
29
28
27
0
0
0
0
0
R
R
R
R
R
15
14
13
12
11
///
0
0
0
0
0
R
R
R
R
R
Table 22-15. BTR1 Register Definitions
NAME
///
Reserved Writing to these bits has no effect. Reading returns 0.
Sampling
0 = Bus will be sampled once. This is recommended for high-speed bus-
SAM
es (SAE class C).
1 = Bus will be sampled three times. This is recommended for low- and
medium-speed buses (class A or B).
TSEG1 and TSEG2 Determines the number of CAN clock cycles (time
quanta) per bit period and the location of the sample point, as given by
TSEG2.2 -
the parameters tSYNCSEG, tTSEG1, and tTSEG2 in Figure 22-2. Pro-
TSEG1.0
gram this value according to the number of CAN clock cycles minus 1.
For example, if the number of CAN clock cycles for TSEG1 is 6, program
TSEG1 with a value of 5.
SYNC.
TSEG1
SEG.
tSYNCSEG
tTSEG1
BIT PERIOD
Figure 22-2. General Structure of a Bit Period
26
25
24
23
///
0
0
0
0
R
R
R
R
10
9
8
7
0
0
0
0
R
R
R
R
0xFFFC5000 + 0x1C
DESCRIPTION
TSEG2
tTSEG2
SAMPLE POINT(s)
6/17/03
Controller Area Network
22
21
20
19
18
0
0
0
0
0
R
R
R
R
R
6
5
4
3
2
0
0
0
0
0
R
R
R
R
R
SYNC.
TSEG1
SEG.
17
16
0
0
R
R
1
0
0
0
R
R
LH754xx-26
22-15