648
Chapter 19
CAN Controller (CAN)
Preliminary User’s Manual U17566EE1V2UM00
<4> Data field
The data field contains the amount of data (byte units) set by the control field.
Up to 8 units of data can be set.
Figure 19-9
Data field
Note
D: Dominant = 0
R: Recessive = 1
<5> CRC field
The CRC field is a 16-bit field that is used to check for errors in transmit data.
Figure 19-10
CRC field
Note
D: Dominant = 0
R: Recessive = 1
• The polynomial P(X) used to generate the 15-bit CRC sequence is
expressed as follows.
P(X) = X
15
+ X
14
+ X
10
+ X
8
+ X
7
+ X
4
+ X
3
+ 1
• Transmitting node:
Transmits the CRC sequence calculated from the
data (before bit stuffing) in the start of frame,
arbitration field, control field, and data field.
• Receiving node:
Compares the CRC sequence calculated using
data bits that exclude the stuffing bits in the receive
data with the CRC sequence in the CRC field. If the
two CRC sequences do not match, the node issues
an error frame.
R
D
D
a
t
a
0
(
8
b
it
s
)
M
S
B
→
L
S
B
D
a
t
a
7
(
8
b
it
s
)
M
S
B
→
L
S
B
D
a
t
a
field
(CRC field)
(Control field)
R
D
CRC
s
e
qu
ence
CRC delimiter
(1
b
it)
(15
b
it
s
)
CRC field
(ACK field)
(D
a
t
a
field or control field)
electronic components distributor