Serial Control and Comunication CAN
Serial Control and Comunication CAN
Literature on
Controller Area Network,
CANopen and SAE J1939
Page 2
What is SAE J1939 – General Aspects
Page 4
SAE J1939 Applications
Page 5
What is CAN – General Aspects
• Maximum reliability
• Excellent error detection & fault confinement
• Collision-free bus arbitration
J1939 Specifics:
J1939 Specifics:
Page 8
SAE J1939 – Standards Collection
Page 9
SAE J1939 – Standards Collection
J1939
Recommended Practice for a Serial Control and Communications Vehicle Network
J1939-01
Recommended Practice for Control And Communications Network for On-Highway Equipment
J1939-02
Agricultural and Forestry Off-Road Machinery Control and Communication Network
J1939-11
Physical Layer - 250k bits/s, Twisted Shielded PairJ1939-13Off-Board Diagnostics Connector
J1939-15
Reduced Physical Layer, 250k bits/sec, Un-Shielded Twisted Pair (UTP)
J1939-21
Data Link Layer
J1939-31
Network Layer
J1939-71
Vehicle Application Layer
J1939-73
Application Layer – Diagnostics
J1939-74
Application - Configurable Messaging
J1939-75
Application Layer - Generator Sets and Industrial
J1939-81
Network Management
Page 10
( )
SAE J1939 – Message Format (J1939/21)
21 Bit PGN
Page 12
SAE J1939 – Parameter Group Number
Priority
R
• Reserved for future purposes
• Should always be set to 0 when transmitting messages
Page 14
SAE J1939 – Parameter Group Number
DP – Data Page
• Page selector for PDU (Protocol Data Unit) Format (PF) field
• Currently at 0, pointing to Page 0
• Page 1 for future purposes
Page 15
Example: Sending RPM
Page 16
Example: Receiving RPM
Page 17
SAE J1939 – Source Address
8 Bit
Source
Address
Page 18
SAE J1939 – Source Address
Note: The CAN standard in itself does not support node (ECU)
addresses, only message IDs.
Page 19
SAE J1939 – Network Management
Page 20
SAE J1939 – Address and NAME
Page 21
SAE J1939 – Address Claiming
Page 22
SAE J1939 – Address Claiming
Page 23
SAE J1939 – Communication Methods
Destination Specific Communications:
• Use PDU1 (PF values 0 to 239)
• Destination address required
Broadcast Communications:
• Use PDU2 (PF values 240 to 255)
• Sending a message from single or multiple sources to single
destination.
• Sending a message from single or multiple sources to multiple
destinations.
Proprietary Communications*:
• Use either PDU1 or PDU2
• CAN be either Destination Specific or Broadcast
• Use proprietary PGNs
* According to SAE J1939:
“Where it is important to communicate proprietary information.” Duh!
Page 24
SAE J1939 – Network Topology
Page 25
SAE J1939 – Network Topology
Page 26
J1939/13 Off-Board Diagnostic Connector
Page 27
Literature
Literature on
Controller Area Network,
CANopen and SAE J1939
Page 28