Additional Information

Site Information

 Loading... Please wait...

Blog

Any CAN Bus, SAE J1939, NMEA 2000 Development Requires the Right Testing Tools

Posted by Wilfried Voss on

I want to reiterate a point made in a previous post ("A Beginner's Guide to SAE J1939 Embedded Software Development"): When developing and testing your CAN Bus application, may it be Classical CAN, CAN FD, CANopen, SAE J1939, or NMEA 2000, you need to connect your device to a functional network. One solitary node connected to your device will not do. On the other hand, a working network provides operation under stable conditions, i.e., the assurance that any possible communication problems have to do with your device (no pun intended; that's just in the nature of things).

Our Starter Kit and Network Simulator provides a solution for SAE J1939 testing but also ISOBUS and (to a certain degree) NMEA 2000. However, when vigorously testing new devices and their firmware, I add another device, a CAN analyzer that displays all CAN Bus traffic regardless of the protocol used. In the past, I used the ADFWeb.com USB-to-CAN converter. Their Windows software is easy to manage, which is crucial since I don't particularly appreciate going through significant learning curves.

Many such USB gateways are available in the market, and they vary in complexity and pricing. The top-of-the-line will be suitable if you are engaged in complex CAN Bus development, such as automobile or robotics applications. However, when it comes to SAE J1939 or NMEA 2000, there is no need for all top-notch features (e.g., sample point timing, oscillator frequency, etc.).

PCAN-USB Pro FD - CAN, CAN FD, and LIN Interface for High-Speed USB 2.0

When it was time to modernize my test hardware to Windows 11 (with all its nasty USB driver restrictions), I also updated the CAN Analyzer hardware. I opted for the PEAK PCAN-USB Pro, which supports two CAN and LIN Bus interfaces. As I mentioned, simple yet effective Windows software is essential to me, and PCAN-View does not disappoint. Setup was a breeze (besides the fact that Windows 11 does not recognize their USB port), and the software was created with great user-friendliness in mind, making reading the user manual an optional task.

The screenshot above demonstrates the data traffic between two devices, the PCAN-USB Pro and our SAE J1939 Simulator Board, which are connected through our CAN Bus Hub board (see test setup on top of the page). When testing new devices and firmware versions, I connect to the hub with the knowledge that any discrepancy must be originated in the new device, thus preventing any time-consuming shooting-in-the-dark scenario.


SAE J1939 to USB Gateway in Plastic Enclosure

SAE J1939 to USB Gateway in Plastic Enclosure

The SAE J1939 to USB Gateway utilizes our SAE J1939 ECU Simulator Board With USB Port and embeds it in an enclosure. The SAE J1939 gateway allows you to monitor, simulate, and record any PGN as defined in the SAE J1939-71 Standard but also including diagnostic messages according to SAE J1939-73.

The gateway supports the full SAE J1939 protocol according to J1939/81 Network Management (Address Claiming) and J1939/21 Transport Protocol (TP). It is also supported by an extensive programming interface for Windows and Linux/Ubuntu applications, including full C/C++/C# source code for short time-to-market developments.

More Information...

Agricultural Control Unit Supports Isobus, SAE J1939, and CANopen Connectivity

The EC44 Agri control unit by Epec (Finnland) supports Isobus communication for agriculture applications. In addition, the device can upgrade existing systems to Isobus connectivity when used as a gateway. The Isobus-compliant device allows plug-and-play compatibility between tractors and other agricultural equipment (e.g., seeders or fertilizers) from different manufacturers and brands. Legacy implementations operated via customized human-machine interfaces (HMI), i.e., [...]

Read More »


CAN Bus Analysis Software Supports SAE J1939 and CANopen Data Monitoring and Recording

The  CANexplorer 4 by Sontheim is a modular, efficient, intuitive field-bus analyzing software for CAN Bus. It represents years of experience working with complex machine and vehicle CAN Bus networks. The modular structure delivers all critical features for analyzing and logging CAN Bus network traffic, like classic text-based traces, graphs, bar-graphs, LEDs, filters, and triggers. Furthermore, the software [...]

Read More »


Position, Speed, Inclination Encoders With SAE J1939 And CANopen Interface

Siko (Germany) introduced their wire-actuated Pure.Mobile encoder family that measures position, speed, and inclination using an integrated single-axis inclination sensor. The encoders' sensor data utilizes serial protocols, including CANopen, CANopen safety, and SAE J1939. Mobile machines must always function as precisely and efficiently as possible, whether lifting platforms, mobile cranes or self-concrete pumps. Sensors are suitable for detecting [...]

Read More »


DIN Rail Ethernet to CAN/CAN FD Interface Supports SAE J1939, NMEA 2000, CANopen

Kvaser introduced their DIN Rail SE410S-X10 Ethernet-to-CAN(FD) multi-channel interface with additional I/O support through add-on modules.Kvaser supplies advanced CAN Bus solutions to engineers designing and deploying systems in areas as wide-ranging as trucks and buses, petrol-driven and electric cars, industrial automation, avionics, construction equipment, building automation, domestic appliances, marine, medical, military, railway, telecoms, textiles and more.The [...]

Read More »


Controller Area Network (CAN Bus) Tutorial - Higher Layer Protocols

The following is an excerpt from  A Comprehensible Controller Area Network by Wilfried Voss. Even though highly influential in automobiles and small applications, the CAN Bus technology alone is not suitable for machine automation since its communication between devices is limited to only 8 bytes.Consequently, higher layer protocols such as CANopen for machine control, DeviceNet for factory [...]

Read More »


USB Device For I/O Testing And Prototyping Supports, Classical CAN, CAN FD, CANopen

DAB-Embedded introduced its USB2IO interface explorer, a device that connects USB to various I/O interfaces for prototyping and functionality tests of electronic devices with CAN, CAN FD, and CANopen interfaces.The product combines a protocol analyzer, data-logger, communication interface, an embedded functional test platform, and basic signal generator. The device targets electrical engineers, firmware developers, enthusiasts, and [...]

Read More »


MCUXpresso Software Development Kit (SDK) Incorporates A Free Version Of Micro CANopen FD Library

The latest release of the MCUXpresso software development kit (SDK) from NXP incorporates a free version of the EmSA's (Embedded Systems Academy) Micro CANopen FD library.The MCUXpresso IDE provides embedded development engineers an easy-to-use Eclipse-based development environment for NXP MCUs based on ARM Cortex-M cores, including its general-purpose crossover and Bluetooth-enabled MCUs. The MCUXpresso IDE comes [...]

Read More »


Controller Area Network (CAN Bus) And Higher-Layer Protocols CANopen, SAE J1939, NMEA 2000

For the longest time, the major misconception about Controller Area Network (CAN) was that it merely applies to automobiles. The truth is, CAN, since its introduction in 1986, proved to be a robust, versatile, and straightforward technology and, consequently, the CAN Bus technology found its way into all areas of applications where microprocessors need to [...]

Read More »


Digital I/O Module For Operations In CANopen And CANopen FD Networks

Peak-System Technik and EmSA (Embedded Systems Academy) have joined forces and developed the PCAN-MicroMod FD DR CANopen Digital 1, an I/O device with eight digital inputs and eight outputs.  The I/O module comes in a DIN-rail mountable housing with screw terminal strips. The eight digital inputs and eight digital outputs are galvanically isolated from the power supply, [...]

Read More »