FPGA CAN Engine Reference Example with Periodic Channels

Publish Date: Feb 28, 2012 | 6 Ratings | 3.33 out of 5 | Print | Submit your review


This FPGA CAN Engine Example is meant to simplify the use of the NI-985x module. It can be used to send/receive a list of channels from a .dbc or .ncd file. It can also be extremely useful for transmitting multiple messages periodically, at different rates. This example shows how to abstract the FPGA programming, and use simple RT VIs to configure, send and receive the CAN messages.

1. Introduction

The goal of the interface is that you have a fixed personality on the FPGA.  This FPGA will take care of all the low level CAN communication, including scheduling of periodic messages and buffering received messages.  A bitfile has been provided for many backplanes.  This bitfile should not have to be compiled again, considering the CAN Module is in Slot 1 and the name of the module is Mod1/CAN0.   You can always change these settings, but you will need to recompile the FPGA VI.  The goal of this example is that your entire CAN application can be developed in LabVIEW RT and launched on the host, without having to modify FPGA code. 

Please note that this example actually uses a different FPGA CAN Engine than the FPGA CAN Engine Reference Example with CANopen.  Therefore, the bitfiles supplies here cannot be used for the CANopen example.

The example makes extensive use of the CAN Frame to Channel Conversion Library.  Please download and install version 1.0.3 or later of the library before you work with this example.

Back to Top

2. Getting Started

To get started, download and extract the .zip file and open the Getting Started.pdf  from \CAN Engine Periodic Channels\Documentation. This manual explains how to get started. 

Back to Top

Bookmark & Share



Rate this document

Answered Your Question?
Yes No