Can-Bus J1939
Can-Bus J1939
Version 1.0
02/05/2004
Application Note AN-ION-1-3100
Table of Contents
1.0 Overview
J1939 is used in the commercial vehicle area for communication in the engine compartment and between the
tractor and trailer. In this application note, the properties of J1939 should be described in brief.
Bridge Bridge
PGN = FE0116
>= F016
• Specific PGNs for parameter groups that are sent to particular devices (peer-to-peer). With these PGNs,
only the higher-value 8 bits (PDU format) are valid and the value must be smaller than 240. The lower-
value byte (PDU specific) is always 0.
PGN = ED0016
< F016 always 0
With this breakdown of the PGN, 240 + (16 * 256) = 8672 different parameter groups are possible. With the
transmission of a parameter group, the PGN is coded in the CAN identifier.
Sample of a parameter group definition:
Name: Engine temperature
Transmission rate: 1s
Data length: 8 bytes
Data page: 0
PDU format: 254
PDU specific: 238
Default priority: 6
PG Number: 65,262 (FEEE16)
Description of data:
Byte: 1 Engine coolant temperature
2 Fuel temperature
3,4 Engine oil temperature
5,6 Turbo oil temperature
7 Engine intercooler temperature
8 Not defined
1 Bit
Arbitrary
Address
Capable
21 bit 11 Bit 5 Bit 7 Bit
Identity Number Manufacturer Function Vehicle
Code Instance System
1 Bit 4 Bit
Reserved Vehicle
System
Instance
Since the function of a device is contained in the name, the address can be changed at will and the correct device
is always addressed that provides the required functionality.
With PDU format < 240 (peer-to-peer), PDU specific contains the target address. Global (255) can also be used as
target address. Then the parameter group is aimed at all devices. In this case, the PGN is formed only from PDU
format.
With PDU format >= 240 (broadcast), PDU format together with PDU specific forms the PGN of the transmitted
parameter group.
For peer-to-peer and broadcast transmission, there are two different protocols. For the transport protocols, there
are two special parameter groups available, which are used for the connection management (TP.CM) and the
transmission of the data (TP.DT).
For broadcast transmission, the BAM protocol is used. Here, after a BAM-PG (Broadcast Announce Message), the
transmitter sends all data PGs at a minimum interval of 50ms.
Transmitter Receiver
TP.CM_BAM
TP.DT
TP.DT
TP.DT
t
t
With the peer-to-peer transmission, the transmitter initiates the connection with a "request to send" message. The
receiver then controls the transport protocol with "clear to send" and "end of message acknowledge."
Transmitter Receiver
TP.CM_RTS
TP.CTS
TP.DT
TP.CTS
TP.DT
TP.EoMA
t t
6.0 Summary
With the specification of the parameter groups, CAN identifier scheme, and the network management, a
manufacturer-spanning cooperation of control units should be ensured.
J1939 describes, in addition to the mechanisms presented here, the physical properties, diagnostic functions, and
use of bus subsegments.
8.0 Contacts