Product category: Design and Development Hardware
News Release from: Computer Solutions | Subject: CAN and LIN bus interfaces
Edited by the Electronicstalk Editorial Team on 21 July 2005
Interfaces aid CAN and LIN development
An enhanced range of plug-in interfaces for CAN and LIN bus systems is now available from Computer Solutions
Some recent additions to the range include a CAN to PCMCIA interface, software for controlling and monitoring a CANopen network and a LIN/CAN gateway and interface. The Peak PCAN-PC interface provides a simple plug-in card that connects portables equipped with the PC bus interface (otherwise known as PCMCIA slots) and CAN networks.
This article was originally published on Electronicstalk on 21 July 2005 at 8.00am (UK)
Related stories
Debugger is upgraded at no extra cost
The BDI3000 supports GDB debugging and Flash programming for ColdFire, PowerPC, ARM, Xscale and MIPS processors
Software simplifies bus fleet management
The PCAN-FMS package, along with a CAN interface also available from Computer Solutions, simplifies the process of developing or debugging an FMS application
It supports both 11 and 29bit ID CAN specifications with a maximum speed of 1Mbaud.
Source code for programs to control the CAN bus is included, as is PCAN-View - a program which provides simple CAN control and diagnostics.
A more powerful CAN logging application, PCAN Explorer, is also available for use with the PCMCIA card and provides a macro-based control language, full message decoding and even strip-chart graphical displays of message values.
PCAN open Magic is a software package that provides simple control and monitoring of a CANopen network.
CANopen is a set of extensions to the CAN standard designed with control applications in mind, and is based on the full CAN (ISO11898-2) 5V bus.
Further reading
Tester checks next-generation USB compliance
Test generator and protocol analyser for tcompliance testing of USB systems includes the ability to handle the forthcoming USB 3.0 super-speed transfers at 5Gbit/s
Tools accelerate debug and programming
Debugging and programming tools are enhanced to exploit all the latest features of Freescale's families of microcontrollers
Compiler creates more compact PIC code
The Hi-Tech PIC18 Pro C compiler uses a new compilation technique known as OSG (Omniscient Code Generator)
It limits the number of nodes to 127 and allocates each node as ID.
Profiles have been specified for each type of CAN device by the CiA (CAN in Automation users and manufacturers group) to simplify using systems from multiple manufacturers.
Common network commands allow modules to be automatically identified for synchronised data reads and writes as well as for transferring large blocks of data.
The PCAN open Magic software provides network management of selected nodes or all nodes, data download and upload to or from a selected node, indication of the current state of a node, indication of the last emergency transmitted by a node, indication of the bus load, errors, transmit and receive activity as well as configuration of transmit messages.
A trace display shows current messages on the CAN bus along with corresponding CANopen interpretations of the messages, while an automated network scan feature allows all nodes on the network to be identified using a single mouse click and displayed in a network overview window.
The Peak PCAN-LIN interface and gateway module acts as a gateway between a CAN bus and a LIN bus.
The LIN (Local Interconnect Network) bus is simpler than CAN and is often used in automotive functions where performance is not critical but cost is.
In many applications LIN is used as a low-cost, low-performance, local data-collection or control bus with CAN being used to integrate the operation of multiple LIN subnetworks.
LIN is a single-master/multiple-slave system that uses a 12V single-wire physical layer with a UART/SDI and master-driven self-synchronisation.
It is capable of running at datarates of up to 20Kbit/s over a maximum distance of 40m.
A software package is provided with the PCAN-LIN interface that can set it up in one of a number of modes: CAN to LIN, serial to CAN or serial to LIN.
In the CAN to LIN mode, the module acts as a LIN master and sends incoming CAN packets to LIN and LIN to CAN (with configurable offsets).
For simple interfacing between a PC and a LIN bus, PCAN-LIN can be used as a bus convertor in conjunction with a peak parallel or USB CAN interface.
In this way, full advantage may be taken of the free software included with the CAN interface to view the contents of the LIN bus and to control it from the PC.
• Computer Solutions: contact details and other news
• Email this article to a colleague
• Register for the free Electronicstalk email newsletter
• Electronicstalk Home Page