Fujitsu MB96300 series Hardware Manual page 600

F2mc-16fx 16-bit
Hide thumbs Also See for MB96300 series:
Table of Contents

Advertisement

CHAPTER 22 CAN CONTROLLER
22.5.4
Bit Timing Register (BTRn)
The Bit Timing Register (BTRn) enables controlling of the CAN bus controller bit timing.
■ Bit Timing Register (BTRn)
Figure 22.5-4 Configuration of the Bit Timing Register (BTRn)
Bit Timimg Register high byte
Address : Base + 0x07
Bit Timing Register low byte
Address : Base + 0x 06
■ Function of the Bit Timing Register (BTRn)
[bit15]
res
[bit114 - bit12]
TSEG2
0x0-0x7
[bit11 - bit8]
TSEG1
0x01-0x0F
[bit7 - 6]
SJW
0x0-0x3
[bit5 - bit0]
BRP
0x00-0x3F
Note:
With a peripheral clock CLKP2 frequency of 8 MHz, the reset value of 0x2301 configures the CAN for a
bit rate of 500 kBit/s. The registers are only writable if bits CCE and INIT in the CAN Control Register
592
15
14
res
H
Read/write ⇒
(R) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W)
(X)
(0)
Default value⇒
7
6
SJW
H
Read/write ⇒
(R /W ) (R/W) (R/W) (R/W) (R/W) (R/W) (R /W ) (R /W )
(0)
(0)
Default value⇒
Reserved bit
Always write "0". Read value is not defined. Read-Modify-Write is not affected.
The time segment after the sample point
Valid values for TSEG2 are [ 0 ... 7 ]. The actual interpretation by the hardware of this value is such that one more
than the value programmed here is used.
The time segment before the sample point
Valid values for TSEG1 are [ 1 ... 15 ]. The actual interpretation by the hardware of this value is such that one more
than the value programmed here is used
(Re)Synchronisation Jump Width
Valid programmed values are 0-3. The actual interpretation by the hardware of this value is such that one more
than the value programmed here is used.
Baud Rate Prescaler
The value by which the peripheral clock CLKP2 frequency is divided for generating the bit time quanta. The bit time
is built up from a multiple of this quanta. Valid values for the Baud Rate Prescaler are[0 ... 63]. The actual interpre-
tation by the hardware of this value is such that one more than the value programmed here is used.
MB96300 Super Series Hardware Manual
13
12
11
10
TSEG2
TSEG1
(1)
(0)
(0)
(0)
5
4
3
2
BRP
(0)
(0)
(0)
(0)
⇐ Bit no.
9
8
BTRHn
(1)
(1)
⇐ Bit no.
1
0
BTRLn
(0)
(1)

Advertisement

Table of Contents
loading

Table of Contents