Professional Documents
Culture Documents
An Introduction
V1.02 | 2018-10-11
Agenda
2
Why CAN FD?
CAN_H
CAN_L RT
3
Agenda
4
What is CAN FD?
6
What is CAN FD?
7
What is CAN FD?
Scenario 1
u Some nodes are not CAN FD capable:
u Communicate only with classic CAN messages or switch off the not-
capable nodes (e.g. during flashing)
> Partial network transceiver
> Sophisticated filter transceivers (e.g. NXP Shield Transceiver)
Scenario 2
u All nodes are CAN FD capable:
u Classic and FD messages can be mixed
8
What is CAN FD?
Receive
Transmit Classical FD
Classical
FD
9
Agenda
10
CAN FD Use Cases
11
Agenda
12
Automotive Application Domains
Driver MOST150
Assistance
Infotainment
FlexRay
Assistance &
CAN FD
X-by-wire
CAN HS
Powertrain &
chassis
CAN LS
Convenience
LIN
Sensors &
actuators Implementation cost
13
Automotive Application Domains
14
Agenda
15
CAN FD Frame
CAN FD Frame
RRS
IDE
BRS
ACK
ESI
SOF
FDF
res
CRC Delimiter
ACK Delimiter
Identifier DLC Data Stuff CRC EOF IFS
Count
1 11 1 1 1 1 1 1 4 0..512 4 17 / 21 1 1 1 7 3
CRC Delimiter
IDE
RRS
BRS
ACK
ESI
SRR
ACK Delimiter
SOF
FDF
res
11 1 1 18 1 1 1 1 1 4 0..512 4 17 / 21 1 1 1 7 3
1
16
CAN FD Frame
CAN FD Frame
RRS
IDE
BRS
ACK
ESI
SOF
CRC Delimiter
ACK Delimiter
FDF
res
1 11 1 1 1 1 1 1 4 0..512 4 17 / 21 1 1 1 7 3
Frame Frame
17
CAN FD Frame
Start of Frame
u CAN and CAN FD use the same SOF – a single “dominant” bit
CAN frame
Recessive
IDE
r0
RTR
SOF
Identifier DLC Data
Bit state
1 11 1 1 1 4 0..64
Dominant
CAN FD frame
Recessive
IDE
r0
BRS
r1
ESI
SOF
FDF
Bit state
1 11 1 1 1 1 1 1 4 0..512
Dominant
18
CAN FD Frame
Arbitration Field
1 11 1 1 1 4 0..64
RRS
BRS
IDE
ESI
SOF
FDF
res
CAN FD frame
1 11 1 1 1 1 1 1 4 0..512
19
CAN FD Frame
Control Field
RRS
IDE
BRS
ESI
SOF
FDF
res
Identifier DLC Data
1 11 1 1 1 1 1 1 4 0..512
20
CAN FD Frame
1000 = 8 1100 = 24
1001 = 12 1101 = 32
1010 = 16 1110 = 48
1011 = 20 1111 = 64
ACK
RRS
IDE
BRS
ESI
FDF
CRC Delimiter
ACK Delimiter
SOF
res
1 11 1 1 1 1 1 1 4 0..512 4 17 / 21 1 1 1 7 3
21
CAN FD Frame
Data Field
ACK Delimiter
BRS
ACK
ESI
SOF
FDF
res
CRC Delimiter
Identifier DLC Data Stuff CRC EOF IFS
0-8, 12, 16, 20, 24 Count
32, 48, or 64 bytes
1 11 1 1 1 1 1 1 4 0..512 4 17 / 21 1 1 1 7 3
22
CAN FD Frame
ACK
ACK Delimiter
CRC Delimiter
Data Stuff CRC EOF IFS
Count
0..512 4 17 / 21 1 1 1 7 3
Bit 1
Parity
Bit 2
Bit 0
1 1 1 1
ACK
CRC Delimiter
ACK Delimiter
Data Stuff CRC EOF IFS
Count
0..512 4 17 / 21 1 1 1 7 3
24
CAN FD Frame
ACK Field
ACK
CRC Delimiter
ACK Delimiter
Data Stuff CRC EOF IFS
Count
0..512 4 17 / 21 1 1 1 7 3
25
CAN FD Frame
26
Agenda
27
CAN FD Controller
u Error Frame:
u Identical to CAN error frame
u Error frame is always sent with arbitration bit rate
u Controller switches automatically to arbitration bit rate
28
CAN FD Controller
u Remote Frame:
u Remote frame in CAN base format
u Remote frame in CAN extended format
u Remote frames are undefined in CAN FD format
u RTR bit removed from CAN FD bit-stream
u Overload Frame:
u Identical to CAN overload frame
u Overload frame is always send with arbitration bit rate
29
Agenda
30
CAN FD Performance
Frame Type No. Data Bytes Arb. Bit-Rate Opt. Bit-Rate Avg. Bit-Rate Frame Duration
31
CAN FD Performance
32
Agenda
33
CAN FD Devices
CAN Controller
u MCUs with full CAN FD support available (ISO)
u Freescale, ST, Renesas, Spansion, Infineon …
CAN Transceiver
u Typical bit rates of automotive transceivers for CAN FD
u Functional messages: 2 Mbit/s
u Reprogramming: 5 Mbit/s
34
Agenda
35
CAN FD Standardization
J1939
u CAN FD upgrade ongoing
36
CAN FD Standardization
CANopen
u CiA SIG CANopen is updating the CiA 301 application layer to support
the CAN FD data link layer
37
CAN FD Standardization
Escape Sequence
Escape Sequence
38
Agenda
39
Summary
40
Agenda
41
References
u Paper “CAN with Flexible Data Rate” – Florian Hartwich, Robert Bosch
GmbH;CAN in Automation, iCC 2012, March 2012
u Presentation “CAN FD CAN with Flexible Data Rate” – Florian Hartwich,
Robert Bosch, GmbH; Feb. 15, 2012
u http://www.bosch-semiconductors.com/ip-modules/can-ip-modules/m-can
u M_CAN Controller Area Network User’s Manual
u http://www.bosch-semiconductors.com/ip-modules/can-ip-modules/can-fd
u Papers about bit timing requirements and robustness of CAN FD
networks
u Press Articles from Vector:
u https://www.vector.com/de/de/know-
how/technologien/netzwerke/can/#c42688
u https://www.vector.com/int/en/know-
how/technologies/networks/can/#c9439
42
For more information about Vector
and our products please visit
www.vector.com
Author:
Vector Germany
43 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.02 | 2018-10-11