Can Configuration Registers - Renesas M32R/ECU Series User Manual

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

13

13.2.4 CAN Configuration Registers

CAN0 Configuration Register (CAN0CONF)
CAN1 Configuration Register (CAN1CONF)
b0
1
2
SJW
0
0
0
b
Bit Name
0–1
SJW
reSynchronization Jump Width setting bit
2–4
PH2
Phase Segment2 setting bit
5–7
PH1
Phase Segment1 setting bit
8–10
PRB
Propagation Segment setting bit
11
SAM
Sampling count select bit
12–15
No function assigned. Fix to "0".
Notes: • Do not change settings of the CAN Configuration Register (CAN0CONF or CAN1CONF) during CAN operation (CAN
Status Register CRS bit = "0").
• When setting the bits in this register, make sure the conditions given below are met:
• Number of Tq's for one bit: 8–25 Tq's
• SJW ≤ min (Phase Segment1, Phase Segment2)
• Phase Segment2 = max (Phase Segment1, IPT) where IPT = 1 for the internal CAN modules of the 32180
min() is the function that returns the smaller of two values; max() is the function that returns the maximum value.
3
4
5
6
PH2
PH1
0
0
0
0
13.2 CAN Module Related Registers
7
8
9
10
PRB
0
0
0
0
Function
00: SJW = 1Tq
01: SJW = 2Tq
10: SJW = 3Tq
11: SJW = 4Tq
000: Phase Segment2 = 1Tq
001: Phase Segment2 = 2Tq
010: Phase Segment2 = 3Tq
011: Phase Segment2 = 4Tq
100: Phase Segment2 = 5Tq
101: Phase Segment2 = 6Tq
110: Phase Segment2 = 7Tq
111: Phase Segment2 = 8Tq
000: Phase Segment1 = 1Tq
001: Phase Segment1 = 2Tq
010: Phase Segment1 = 3Tq
011: Phase Segment1 = 4Tq
100: Phase Segment1 = 5Tq
101: Phase Segment1 = 6Tq
110: Phase Segment1 = 7Tq
111: Phase Segment1 = 8Tq
000: Propagation Segment = 1Tq
001: Propagation Segment = 2Tq
010: Propagation Segment = 3Tq
011: Propagation Segment = 4Tq
100: Propagation Segment = 5Tq
101: Propagation Segment = 6Tq
110: Propagation Segment = 7Tq
111: Propagation Segment = 8Tq
0: Sampled one time
1: Sampled three times
13-22
CAN MODULE
<Address: H'0080 1006>
<Address: H'0080 1406>
11
12
13
14
SAM
0
0
0
0
<After reset: H'0000>
32180 Group User's Manual (Rev.1.0)
b15
0
R
W
R
W
R
W
R
W
R
W
R
W
0
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents