News Center

The relationship between CAN2.0 and J1939 protocol

www.premier-cable.net


The relationship between CAN2.0 and J1939 protocol

 

 

CAN2.0 is a bus specification and a data link layer technology. 

 


J1939 is a CAN bus-based specification defined by SAE (American Automobile Association), which aims to solve the compatibility issues of different engine manufacturers and different ECU manufacturers.

 


1. The relationship between J1939 and CAN2.0

 


J1939 is a reinterpretation of the 29-bit ID of the arbitration field on the basis of CAN2.0B; the other parts are exactly the same.

 


The 29-bit ID is divided into: 3-bit priority, 8-bit PF (frame format), 8-bit PS (frame extension), 8-bit SA (source address), 1-bit DP (Data Page), 1 bit is reserved.

 


Among them, 1-bit DP, 8-bit PF, and 8-bit PS form the PGN;

 


PGN is Parameter Group Number; it is a list of parameter groups.

 


In J1939, the message is divided into two formats, PDU1 and PDU2.

 


The message in PDU1 format is sent to the ECU with a specific address, and the address is recorded with 8-bit PS; the message in PDU2 format is sent to all ECUs, and the 8-bit PS is used for expansion.

 


When the value of PF is 0-239, it means that the message is in PDU1 format, and PS is DA (destination address).

 


When the value of PF is 240-255, it means that the message is in PDU2 format, and PS is the extended address.
 

Related News


What is a terminal block used for?

While there are many factors to consider when designing an overall system, terminal blocks are an optimal solution for complex electrical system connections. With a variety of color options and configurations, Premier Cable’ terminal blocks offer a range of options to meet your design challenges.


CANBus Applications

CAN-bus has been widely used in various automation control systems. For example, CAN-bus has incomparable advantages in various fields such as automotive electronics, automatic control, smart buildings, power systems, and security monitoring.


Introduction to M12 connector pin coding

M12 encoding types are A encoding, B encoding, D encoding and X encoding. A-code, B-code and X-code are some of the earliest developed and longest-available M12 connectors. The latest M12 coding types currently under development are K coding for AC and L coding for PROFINET DC.


Cables – What are the correct cable sizes for an NMEA 2000 network?

The three different sizes of NMEA 2000 certified DeviceNet standard cabling are "micro," "mid," and "mini."


What are the advantages of NMEA 2000?

The Premier Cable Starter Kits provide everything you need to get to create a basic NMEA 2000 network from scratch.


The role of DeviceNet terminal resistor

DeviceNet_network is a fieldbus network protocol based on Controller Area Network (CAN). In the DeviceNet network, the terminal resistor plays the role of compensation and protection for signal transmission. The function of the terminal resistor is to eliminate signal reflection and interference and ensure the signal transmission quality.