13
13-22
32180 Group User’s Manual (Rev.1.0)
CAN MODULE
13.2 CAN Module Related Registers
13.2.4 CAN Configuration Registers
CAN0 Configuration Register (CAN0CONF) <Address: H'0080 1006>
CAN1 Configuration Register (CAN1CONF) <Address: H'0080 1406>
b0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 b15
SAMPRBPH1PH2SJW
000000000000
<After reset: H’0000>
b Bit Name Function R W
0–1 SJW 00: SJW = 1Tq R W
reSynchronization Jump Width setting bit 01: SJW = 2Tq
10: SJW = 3Tq
11: SJW = 4Tq
2–4 PH2 000: Phase Segment2 = 1Tq R W
Phase Segment2 setting bit 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
5–7 PH1 000: Phase Segment1 = 1Tq R W
Phase Segment1 setting bit 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
8–10 PRB 000: Propagation Segment = 1Tq R W
Propagation Segment setting bit 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
11 SAM 0: Sampled one time R W
Sampling count select bit 1: Sampled three times
12–15 No function assigned. Fix to "0". 00
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.