Site Information

 Loading... Please wait...

Blog

SAE J1939 Starter Kit With Diesel Engine Simulation Plus VIN Request Demo

Posted by Wilfried Voss on

SAE J1939 Starter Kit And Network Simulator

Our JCOM.J1939 Starter Kit And Network Simulator is designed to allow the experienced engineer as well as the beginner to experiment with SAE J1939 data communication without the need of connecting to a real-world SAE J1939 network, i.e. a diesel engine. It may sound obvious, but in order to establish a network, you need at least two nodes, and that fact applies especially to CAN/J1939 where the CAN controller will basically shut down after transmitting data without receiving a response. For that reason, our JCOM.J1939 Starter Kit And Network Simulator consists of two SAE J1939 nodes, namely our JCOM.J1939.USB, an SAE J1939 ECU Simulator Board With USB Port.

J1939 Starter Kit by Copperhill Technologies

As shown in both images above, I have connected both SAE J1939 boards to the PC's USB ports, and both CAN ports are connected to each other (CAN_H to CAN_H, CAN_L to CAN_L). Per default, Windows will assign COM3 to the gateway, however, with a second board present, it assigns the next free COM port number. Thus, it is necessary using the Device Manager to confirm the COM port designation. In our example, on board was assigned to the COM3 default, while the other is at COM32.

As demonstrated in the image, look for "Silicon Labs CP210x USB to UART Bridge" to gather the COM port assignment.

The next step is to open our free-of-charge JCOM1939 Monitor Software for each board individually:

On the board assigned to COM3 (left window), I loaded an application file according to our post SAE J1939 Simulator Generates Frequently Used SAE J1939 Signals (PGNs) For Diesel Engines (Use the link for a description of the app as well as downloading the .jom application file).

In the Transmit section, I disabled the display of PGNs (as shown below), just to keep the screen clear for demonstrating the request for a VIN (Vehicle Identification Number).

As you can see, the first line shows the request message for the VIN.

The Diesel Engine application assigns node address 128 to the board, i.e. we need to assign a different node address to the COM32 board. In this case, I chose the next higher address 129

     

In order to establish the communication between both SAE J1939 boards, we need to switch to "ECU Simulation Mode" and the claim the address. In case of the COM32 board, if you click "Pass All" in the Filter section, you will see the data stream originated from the COM3 board.

Now, on the COM32 board, we need to setup the response to a VIN PGN Request, as shown in the following image:

Note that the actual VIN Data represents just a quick mockup.

On the COM3 board, I prepared the Filter section as follows:

And now, we're finally able to send our request for a VIN. On the COM3 board side, go to the Transmit section, select the first line (VIN Request PGN) and click the Transmit command button.

In this example, I clicked twice for demonstration purposes. You see the result in the data list view.

Last, but not least, just for kicks and to demonstrate yet another feature of the Starter Kit, I scanned the network for existing SAE J1939 nodes:

To make it a point, of course, you can add more SAE J1939 nodes to the Starter Kit network.


SAE J1939 Starter Kit And Network Simulator

SAE J1939 Starter Kit And Network Simulator

Our JCOM.J1939 Starter Kit And Network Simulator is designed to allow the experienced engineer as well as the beginner to experiment with SAE J1939 data communication without the need of connecting to a real-world J1939 network, i.e. a diesel engine. It may sound obvious, but in order to establish a network, you need at least two nodes, and that fact applies especially to CAN/J1939 where the CAN controller will basically shut down after transmitting data without receiving a response. For that reason, our jCOM.J1939 Starter Kit And Network Simulator consists of two J1939 nodes, namely our jCOM.J1939.USB, an SAE J1939 ECU Simulator Board With USB Port.

The jCOM.J1939.USB gateway board is a high-performance, low-latency vehicle network adapter for SAE J1939 applications. The board supports the full SAE J1939 protocol according to J1939/81 Network Management (Address Claiming) and J1939/21 Transport Protocol (TP).

More Information...

Automotive ECU Development With ARM Cortex Processor Supporting Up To Eight CAN FD Interfaces

The UDE (Universal Debugging Engine) by PLS (Germany) provides debugging and analysis functions for NXP’s S32S247 and i.MX RT MCUs with up to eight CAN FD (Flexible Data Rate) interfaces. The S32S247 multi-core controller combines four 800-MHz Cortex-R52 processors with 64-MiB integrated flash memory. Designed for safety-related real-time applications up to ASIL-D (automotive safety integrity level), the device is suitable [...]

Read More »


Analog Signal Output Controller With CAN Bus And SAE J1939 Port

Axiomatic has announced its AX130770, an ECU System converting CAN Bus data to two analog or digital isolated signals and one relay output for rugged engine applications.The relay output converter connects to a CAN Bus vehicle network (SAE J1939, high-speed SAE J1939m, or CANopen). It accommodates two analog/digital isolated signal outputs, which can be configured as 0 [...]

Read More »


ECU CAN Bus Simulator for OBD-II Development

The OBDLink ScanTool ECUsim 2000 ECU CAN Simulator for OBD-II Development is a small diagnostic tool that is ideal for DIY testing and development of OBD services and software. The CAN Bus (ISO 15765) model supports a range of parameter IDs, diagnostic trouble codes (DTCs), freeze frames, and SAE J1979 modes: 1, 2, 3, 4, 7, 9, and [...]

Read More »


SAE J1939 Programming with Arduino - Address Claim And Preferred Address

This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. For the purpose of a quick address claiming process, each control application should maintain a preferred address. SAE J1939/81 recommends that the preferred address (i.e. the address the ECU/CA attempts to claim on power-up) should be re-programmable to permit the proper configuration of [...]

Read More »


Under Development: SAE J1708 to UART Breakout Board For Embedded Systems

SAE J1708 is a standard used for serial communications between ECUs on a heavy duty vehicle and also between a computer and the vehicle. With respect to Open System Interconnection model (OSI), J1708 defines the physical layer. Common higher layer protocols that operate on top of J1708 are SAE J1587 and SAE J1922. The protocol [...]

Read More »