NMEA2000 / J1939 Protocol Stack Kit

We can provide you with a kit that will help you on your way for the development quickly and easily.

Description

The kit comes with:

  • Protocol stack (C code)
  • Example HAL reference design (C code) for STM32 running on a Nucleo board with Cortex M4 microcontroller.  This will show you how to implement to 7 to 10 C functions of the embedded HAL and it will help you write your own HAL for your chosen micro
  • User documentation
  • X-Analyser Professional CAN, CANopen, J1939 and NMEA2000 analyser which is useful for your continual software development and also eases support to you from Warwick Control
  • Kvaser Leaf Light CAN to USB interface
  • HAL for Kvaser CAN interface (which includes support for running on a virtual CAN channel on the PC)
  • 1 year email support
  • The source code will be licensed to your company site and can be compiled and included in your products for no additional royalties.  You are not allowed to pass the source code on to a third party.

The overall aim for this kit is that it is ideal for customers wishing to port the stack onto their own target hardware and they can use the STM32 as a reference to help them.

The advantage of the Kvaser HAL is that the protocol stack can be built in a PC environment using the free Microsoft Visual Studio C compiler and run on a PC.  This is particularly useful when a customer does not have target hardware available or the hardware is not ready.  The stack can communicate with Warwick Control’s protocol analyser software X-Analyser (see www.xanalyser.co.uk) either via a real CAN bus using a Kvaser CAN interface or a simulated CAN bus using virtual CAN drivers.

Note:

  • You will need to download the free Atollic TrueStudio compiler and IDE for the STM32 if you wish to be able to rebuild the project for the Nucleo board.
  • For NMEA2000 product certification testing, the stack reference design on the Nucleo will pass with the current test tool out of the box. This means that once you have made your application changes, less work will be required to get your device to pass the NMEA2000 Product Certification
  • A diagnostic stack (UDS-light option) is available for vehicle based application with a basic ISO-TP and basic offering of UDS services

This protocol stack can also be ported to other microcontrollers as a custom engineering project.  Please contact us for further information.

NMEA2000 / J1939
Protocol Stack Feature Support
Feature NMEA2000 Stack Feature
STM32 Protocol Stack Kit
J1939 Stack Feature
Address Claim (PGN 60928 / EE00)
Tx on start startup
Yes
(Mandatory)
ISO Request / Request PGN (PGN 59904 / EA00) for Address Claimed (PGN 60928 / EE00) Address Claimed (EE00)
(Mandatory)
Other PGNs – user to implement
Yes
(Optional)
ISO Request / Request PGN (PGN 59904 / EA00) for Product Info (PGN 126996 / 1F014) Fully implemented.
Values need changing for target product
(Mandatory)
Yes
(Optional)
ISO Request / Request PGN (PGN 59904 / EA00) for Config Info (PGN 126998 / 1F016) Fully implemented.
Values need changing for target product
(Mandatory)
Not Required
ISO Request / Request PGN (PGN 59904 / EA00) for Tx/Rx PGN List (PGN 126464 / 1EE00) Fully implemented.
Values need changing for target product
(Mandatory)
Not Required
Commanded Address (FED8) (BAM) Mandatory Not Required
Broadcast Announcement Message (BAM) (EC00, EB00) Mandatory for Commanded Address Optional
Connected Management Data Transfer (CMDT) (EC00, EB00) Mandatory Optional
Fast Packet Protocol Mandatory Optional
Heartbeat (PGN 126993 / 1F011) Mandatory Not Required
Complex Request (PGN 126208 / 1ED00) for Address Claimed (PGN EE00) Address Claimed (EE00)
(Mandatory)
Other PGNs – user to implement
Not Required
Complex Command (PGN 126208 / 1ED00) Mandatory
Example implementation
Not Required
CAN Error Monitoring (Receive Error Counter and Bus State) Yes
(Optional)
Yes
(Optional)
Device Online Manager
(Track Devices Online)
Yes
(Optional)
Yes
(Optional)
UDS/ISO-TP Not Required Transport Protocol Implemented with Framework for Some Basic Services
J1939-73 Diagnostics Not Required Not implemented
User to use the stack’s BAM and ISO request services to implement DM01 etc.

(mandatory=mandatory for protocol, optional=optional protocol feature