Page 1
PCAN-PCI Express PCI Express to CAN Interface User Manual V3.2.0...
Page 2
PCAN-PCI Express – User Manual Products taken into account Product Name Model Part Number Ser. No. PCAN-PCI Express Single One CAN channel IPEH-003026 Channel galv. isolated starting at 01000 PCAN-PCI Express Dual Two CAN channels IPEH-003027 Channel galv. Isolated PCAN-PCI Express Four Four CAN channels IPEH-003040 Channel galv.
PCAN-PCI Express – User Manual Contents Introduction Properties at a Glance System Requirements Scope of Supply Installing the Software and the Card Connecting the CAN Bus D-Sub connector Supplying External Devices via the CAN Connector Cabling 3.3.1 Termination 3.3.2 Example of a Connection 3.3.3 Maximum Bus Length Using the Software...
PCAN-PCI Express – User Manual Introduction The PCAN-PCI Express card enables the connection of a PC with PCI Express slots to CAN networks. The card is available as a single, dual, or four-channel version. Device drivers and programming interfaces exist for different operating systems, so programs can easily access a connected CAN bus.
PCAN-PCI Express – User Manual Extended operating temperature range from -40 to 85 °C (-40 to 185 °F) Note: This manual describes the use of the PCAN-PCI Express card with Windows. You can find device drivers for Linux and the corresponding application information on the provided DVD in the directory branch Develop and on our website under www.peak-system.com/linux.
PCAN-PCI Express – User Manual Installing the Software and the Card This chapter covers the software setup for the PCAN-PCI Express card (short: PCIe card) under Windows and the installation of the card in the computer. Setup the driver before installing the PCIe card. Do the following to install the driver: Make sure that you are logged in as user with administrator privileges (not needed for normal use of the PCIe card later...
Page 7
PCAN-PCI Express – User Manual Do the following to install the PCIe card into the computer: Attention! Electrostatic discharge (ESD) can damage or destroy components on the PCAN-PCI Express card. Take precautions to avoid ESD when handling the card. Four-channel version only: Connect the 10-pin connector of CAN ports 3 and 4 with a cable from the slot bracket.
Page 8
PCAN-PCI Express – User Manual Do the following to complete the initialization: Turn on the computer and start Windows. Make sure again that you are logged in as user with administrator privileges. Windows notifies that new hardware has been detected. Windows XP only: A Wizard dialog box appears.
PCAN-PCI Express – User Manual Connecting the CAN Bus D-Sub connector A High-speed CAN bus (ISO 11898-2) is connected to the 9-pin D-Sub connector. The pin assignment for CAN corresponds to the specification CiA® 102. Figure 2: Pin assignment of High-speed CAN connection (view onto a male connector on the PCAN-PCI Express card) With pin 1 devices with low power consumption (e.g.
Page 10
PCAN-PCI Express – User Manual The pin assignment between the D-Sub port and the 10-pin connec- tor on the PCAN-PCI Express Four Channel card for channel 3 and 4 is as follows: Figure 3: Numbering at the 10-pin connector Assignment Assignment D-Sub +5 V (optional)
PCAN-PCI Express – User Manual Supplying External Devices via the CAN Connector A 5-Volt supply can optionally be routed to pin 1 of a D-Sub connec- tor by setting solder bridges on the PCAN-PCI Express card (inde- pendently for each connector on the dual or four-channel version). Thus external devices with low power consumption (e.g.
Page 12
PCAN-PCI Express – User Manual Figure 4: Position of the solder fields on the board’s bottom side for a 5-Volt supply at the CAN connection 5-Volt supply → Jumper None Pin 1 CAN 1 JP100 CAN 2 JP200 CAN 3 JP300 CAN 4 JP400...
PCAN-PCI Express – User Manual Cabling 3.3.1 Termination A High-speed CAN bus (ISO 11898-2) must be terminated on both ends with 120 Ohms. Otherwise, there are interfering signal reflections and the transceivers of the connected CAN nodes (CAN- interface, control device) will not work. The PCAN-PCI Express card does not have an internal termination.
PCAN-PCI Express – User Manual 3.3.3 Maximum Bus Length High-speed CAN networks may have bit rates of up to 1 Mbit/s. The maximum bus length depends primarily on the bit rate. The following table shows the maximum possible CAN bus length at different bit rates: Bit rate Bus length...
PCAN-PCI Express – User Manual Using the Software This chapter covers the provided software PCAN-View and the programming interface PCAN-Basic. CAN Monitor PCAN-View for Windows PCAN-View for Windows is a simple CAN monitor for viewing, transmitting, and logging CAN messages. Figure 6: PCAN-View for Windows Do the following to start and initialize PCAN-View: If PCAN-View is already installed on the hard disk, open the...
Page 16
PCAN-PCI Express – User Manual If you haven’t installed PCAN-View together with the device driver, you can start the program directly from the supplied DVD. In the navigation program (Intro.exe), go to English > Tools, and under PCAN-View for Windows select the link Start.
PCAN-PCI Express – User Manual 4.1.1 Receive/Transmit Tab Figure 8: Receive/Transmit Tab The Receive/Transmit tab is the main element of PCAN-View. It contains two lists, one for received messages and one for the transmit messages. Representation of CAN data is in hexadecimal format.
Page 18
PCAN-PCI Express – User Manual Figure 9: Dialog box New transmit message Enter the ID and the data for the new CAN message. The field Cycle Time indicates if the message shall be transmitted manually or periodically. If you want to transmit the message periodically, you must enter a value greater than 0.
PCAN-PCI Express – User Manual 4.1.2 Trace Tab Figure 10: Trace Tab On the Trace tab the data tracer of PCAN-View is used for logging the communication on a CAN bus. During this process the CAN messages are cached in the working memory of the PC. Afterwards they can be saved to a file.
PCAN-PCI Express – User Manual 4.1.3 Status Bar Figure 11: Display of the Status Bar The status bar shows information about the current CAN connection, about error counters (Overruns, QXmtFull) and shows error messages. You can find further information about the use of PCAN-View in the help which you can invoke in the program via the menu Help or the F1 key.
PCAN-PCI Express – User Manual Linking Own Programs with PCAN-Basic Figure 12: PCAN-Basic On the provided DVD you can find files of the programming interface PCAN-Basic in the directory branch Develop. This API provides basic functions for linking own programs to CAN interfaces by PEAK-System and can be used for the following operating systems: Windows 7/Vista/XP (32/64-bit)
PCAN-PCI Express – User Manual 4.2.1 Features of PCAN-Basic Supports Windows 7/Vista/XP (32/64-bit) and Windows CE 6.x operating system Multiple PEAK-System applications and your own can be operated on a physical CAN channel at the same time Use of a single DLL for all supported hardware types Use of up to 8 channels for each hardware unit (depending on the PEAK CAN interface used) Simple switching between channels of a PEAK CAN interface...
PCAN-PCI Express – User Manual 4.2.2 Principle Description of the API The PCAN-Basic API is the interface between the user application and device driver. In Windows operating systems this is a DLL (Dynamic Link Library). The sequence of accessing the CAN interface is divided into three phases: 1.
PCAN-PCI Express – User Manual Completion To end the communication the function CAN_Uninitialize is called in order to release the reserved resources for the CAN channel, among others. In addition the CAN channel is marked as "Free" and is available to other applications. 4.2.3 Notes about the License Device drivers, the interface DLL, and further files needed for linking...
PCAN-PCI Express – User Manual Technical Specifications Connectors Computer PCI Express x1 (1 Lane), Specification 1.1 D-Sub (m), 9 pins Pin assignment according to specification CiA® 102 Specification ISO 11898-2, High-speed CAN 2.0A (standard format) and 2.0B (extended format) Bit rates 5 kbit/s - 1 Mbit/s Controller NXP SJA1000-compatible (FPGA implementation)
Page 26
PCAN-PCI Express – User Manual Environment Operating -40 - +85 °C temperature Temperature for -40 - +125 °C storage and transport Relative humidity 15 - 90 %, not condensing EN 55024:2003-10 EN 55022:2008-05 EC directive 2004/108/EG...
PCAN-PCI Express – User Manual Appendix B Dimension Drawing Figure 13: Dimension drawing PCAN-PCI Express The figure does not show the actual size of the product.
PCAN-PCI Express – User Manual Appendix C Quick Reference Software/Hardware Installation under Windows Before installing the PCAN-PCI Express card into the computer set up the corresponding software package from the supplied DVD (with administrator privileges). Afterwards, insert the PCIe card into a vacant PCI Express slot of the switched off computer.
Need help?
Do you have a question about the IPEH-003026 and is the answer not in the manual?
Questions and answers