To get first hand on experience with CANopen we offer a number of CANopen NMT slave examples for download. These versions are download files for different embedded platforms and embedded or PC operating systems.
All provided examples are tested with the latest version of CiA’s CANopen Conformance Test Tool. They are acting as an IO device according to CANopen profile CiA 401. The evaluation packages contain the application source code and the CANopen protocol stack as object library. The provided download demo archives contain the binary file, respective the binary executable, the Electronic Data Sheet (EDS) EDS-Datei and a detailed documentation describing installation and test of the example application. The instructions can be followed using a standard CAN tool. Even better if an CANopen Configuration Tool is available.
A simple CANopen evaluation project for the XMC4500 Actuator Board is available. The COM_ETH extension board contains the CAN transceiver and DSUB connector. For the provided project the new, introduced with Infineon DAVE 4, peripheral source code library XMC Lib is used. The object dictionary is available as source code and as emtas CANopen DeviceDesigner project. Also the main function is available as C source and can be changed to evaluate the CANopen API. The CANopen protocol stack is precompiled GCC object code (lib*.a). It is limited in the CANopen ressources implemented and it has additional a run time limitation. DAVE is only used as IDE for the GCC compiler. The project is therefore more or less independent of DAVE and can be used with other GCC (or object code compatible) based IDEs.
Download DAVE 4 Projektarchiv
An evaluation project for the XMC4200 Actuator Board implementing a CANopen device according CiA 401 is available. Not only CAN but all periphery used by the 401 implementation is controlled by DAVE Apps. The CANopen Object Dictionary and the 401 application code is available in source code. The CANopen protocol stack as object code library with run time restriction. Download DAVE 3.1.8 project archive
On request we are able to provide more DAVE projects Auf Anforderung können wir Ihnen weitere DAVE Projekte zur Verfügung stellen.
This project is realized using the freely available CooCox integrated development platform for Windows®. It is based on the STM32F4 Discovery board by ST Microelectronics and a base board containing the CAN transceiver and four mikroBUS sockets for click™ add-on boards.
The first project we offer is an EnergyBus battery implementation according CiA 454-6. Download CoIDE 1.7.5 Projektarchive
The example implements a CiA 401 slave with digital outputs controlled via /sys/class/gpio for the DAVE Embedded Systems BORA SoC module . Unzip and look at the Readme-bora for more information.
Download Package Linux BORA as *.tgz.
Here you can download the Rasperry example for Linux: Download Package Linux RaspberryPi
We provide a self extracting shell archive for Linux. It contains the application source code in C and CANopen object code libraries for different target systems. With this approach changes on the application and the object dictionary are possible. Libraries are provided for typical 32 and 64 bit systems for Intel and ARM controllers. Compilation is controlled by a Makefile. Download package for Linux Evaluation
These Examples are provided as is in Hex or Elf format. They can be downloaded or flashed to the target system and tested using standard CANopen or CAN tools.
FLASH image and EDS Files of an project realized with DAVE4 and XMCLib. The example is using a fixed bit rate of 250 Kbit/s and the node id is 16.
Download for XMC1400 Boot Kit
Download for BeagleBone Black with CAN cape.