This NB2-based example design demonstrates the use of the CANopenNode stack (available at
http://sourceforge.net/projects/canopennode. In this example, two stacks are running on two different processors. One of those is configured as a CANopen server device, the other as a CANopen client. The client enables hardware register values to be retrieved from any CANopen server device connected to the CAN bus. The register values read by the client are displayed textually on the Terminal instrument.
The design includes two TSK3000 processors, as well as Terminal Instrument, CAN Controller (B) and SRAM Controller components.
The associated embedded project for the CANopen server demonstrates the use of the CANopen Protocol Context.
The associated embedded project for the CANopen client demonstrates the use of the CANopen Protocol Context and the Serial I/O Context for serial input/output via the Terminal instrument. The CANopen client program will query OD entries from a remote CANopen server.
Altium Designer projects included in this download:
- CANopen.PrjFpg
- CANopen_Server.PrjEmb
- CANopen_Client.PrjEmb