Peak PCAN-PCI Express FD User manual

PCAN-PCI Express FD
User Manual
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH

Relevant Products
Product name Model Part number
PCAN-PCI Express FD Single Channel 1 CAN channel IPEH-004026
PCAN-PCI Express FD Double Channel 2 CAN channels IPEH-004027
PCAN-PCI Express FD Quad Channel 4 CAN channels IPEH-004040
The cover picture shows the product PCAN-PCI Express FDQuad Channel. Other product models have an
identical form factor but vary in equipment.
Imprint
PCAN is a registered trademark of PEAK-System Technik GmbH. CiA® is a registered community trade mark
of CAN in Automation e.V.
All other product names in this document may be the trademarks or registered trademarks of their
respective companies. They are not explicitly marked by ™ or ®.
© 2022 PEAK-System Technik GmbH
Duplication (copying, printing, or other forms) and the electronic distribution of this document is only
allowed with explicit permission of PEAK-System Technik GmbH. PEAK-System Technik GmbH reserves the
right to change technical data without prior announcement. The general business conditions and the
regulations of the license agreement apply. All rights are reserved.
PEAK-System Technik GmbH
Otto-Röhm-Straße 69
64293 Darmstadt
Germany
Phone: +49 6151 8173-20
Fax: +49 6151 8173-29
www.peak-system.com
Document version 2.0.0 (2022-02-17)
Relevant Products PCAN-PCI Express FD
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
2

Contents
Imprint 2
Relevant Products 2
Contents 3
1 Introduction 4
1.1 Properties at a Glance 5
1.2 System Requirements 6
1.3 Scope of Supply 6
2 Settings 7
2.1 Voltage Supply of External Devices 7
2.2 Internal Termination 9
2.3 Daisy Chain 11
3 Installation 15
3.1 Install Device Driver Setup 15
3.2 Installing the PCAN-PCI Express FD card 16
3.3 Check Operational Readiness 17
4 Connecting the CAN Bus 18
4.1 Connection over D-Sub connector 18
4.2 Cabling 19
4.3 Example Application under Windows 20
5 CAN Monitor PCAN-View 21
5.1 CAN interface initialize 22
5.2 Transmit CAN message 24
5.3 Additional Tabs 25
6 API PCAN-Basic 30
6.1 Features of PCAN-Basic 31
6.2 Principle Description of the API 32
7 Technical Specifications 33
Appendix A CE Certificate 35
Appendix B Dimension Drawing 36
Appendix C Quick Reference 37
Appendix D Linux 38
Contents PCAN-PCI Express FD
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
3

1 Introduction
The plug-in card PCAN-PCI Express FD enables the connection of a PC with PCI
Express slots to CAN FD and CAN networks. There is galvanic isolation of up to 500 V
between the computer and CAN sides. The card is available as a single, double, or
quad channel version.
The CAN FD standard (CAN with Flexible Data rate) is primarily characterized by
higher bandwidth for data transfer. The maximum of 64 data bytes per CAN FD frame
(instead of 8 so far) can be transmitted with bit rates up to 12 Mbit/s. CAN FD is
downward compatible to the CAN 2.0 standard, CAN FD nodes can be inserted into
already existing CAN networks without CAN FD extensions.
The monitor software PCAN-View and the programming interface PCAN-Basic for the
development of applications with CAN connection are included in the scope of
supply and support CAN FD.
Device drivers exist for different operating systems, so programs can easily access a
connected CAN bus.
This manual describes the use of the CAN interface with Windows.
Device drivers and application information for Linux:
www.peak-system.com/quick/DL-Driver-E
At the end of this manual you can find a Quick Reference with brief
information about the installation and operation of the CAN interface.
1 Introduction PCAN-PCI Express FD
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
4

1.1 Properties at a Glance
■PC plug-in card (PCIe x1) for PCI Express slots
■1, 2, or 4 High-speed CAN channels (ISO 11898-2)
■Complies with CAN specifications 2.0 and FD
■CAN FD support for ISO and Non-ISO standards switchable
■CAN FD bit rates for the data field (64 bytes max.) from 25 kbit/s up to 12 Mbit/s
■CAN nominal bit rates from 25 kbit/s up to 1 Mbit/s
■CAN bus connection via D-Sub, 9-pin (in accordance with CiA® 303-1)
■FPGA implementation of the CAN FD controller
■NXP TJA1044GT CAN transceiver
■Galvanic isolation up to 500 V per CAN connection
■CAN termination can be activated through a solder jumper, separately for each
CAN channel
■PCIe data transfer via bus master DMA
■DMA memory access operations with 32- and 64-bit addresses
■Measurement of bus load including error frames and overload frames on the
physical bus
■Induced error generation for incoming and outgoing CAN messages
■Power supply for external devices via CAN connection can be connected through a
solder jumper
■Extended operating temperature range from -40 to +85 °C (-40 to +185 °F)
1 Introduction PCAN-PCI Express FD
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
5

1.2 System Requirements
Computer with
■operating system Windows 11, 10 (32/64-bit) or Linux (32/64-bit)
■a vacant PCI Express slot (spezification 2.x)
■a vacant slot for the slot bracket (only quad channel)
1.3 Scope of Supply
■Plug-in card PCAN-PCI Express FD
■Slot bracket with D-Sub connectors for the CAN bus (only quad channel)
Downloads
■Device drivers for Windows 11, 10 (32/64-bit) and Linux (32/64-bit)
■CAN monitor PCAN-View for Windows
■Programming interface PCAN-Basic for developing applications with CAN
connection
■Programming interfaces for standardized protocols from the automotive sector
1 Introduction PCAN-PCI Express FD
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
6

2 Settings
The following describes the settings for the power supply of external devices, the
internal termination, and the activation of the daisy chain. If you do not need any of
these settings, skip this chapter.
Daisy chain and power supply of external devices cannot be used
simultaneously.
2.1 Voltage Supply of External Devices
Optionally, an external power supply can be connected separately for each CAN
channel via solder bridges at pin 1 on the D-Sub connector. This allows external
devices to be supplied with a voltage of 5 V DC, such as the PCAN-TJA1054 bus
converter for Low-speed CAN. Pin 1 is not assigned at delivery. The current output is
limited to 50 mA.
2.1.1 Activate Voltage Supply
Risk of short circuit! Soldering on the CAN interface may only be
performed by qualified electrical engineering personnel.
Attention! Electrostatic discharge (ESD) can damage or destroy
components on the card. Take precautions to avoid ESD.
Set the solder bridge(s) corresponding to the desired settings.
The following figure shows the solder field positions on the quad channel card. The
table below contains the possible settings.
2 Settings PCAN-PCI Express FD
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
7

Position of the solder fields on the bottom side of the card for a 5 V supply
D-Sub connector Solder field 5 V supply
Without
(default)
Active
(Pin1)
CAN 1 JP1
CAN 2 JP4
CAN 3 JP7
CAN 4 JP10
Attention! The voltage supply for external devices is not protected
separately. Therefore, turn off the computer before you connect and
disconnect CAN cables or peripheral systems.
2 Settings PCAN-PCI Express FD
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
8

2.2 Internal Termination
The termination can be activated by solder jumpers on the circuit board, to
terminate one end of the CAN bus.
Tipp: We recommend to do termination at the CAN cabling, for example
with the terminating resistors PCAN-Term (IPEK-003002) or
PCAN-MiniTerm (IPEK-003002-Mini). Thus, CAN nodes can be flexibly
connected to the bus.
2.2.1 Activate Internal Termination
Risk of short circuit! Soldering on the CAN interface may only be
performed by qualified electrical engineering personnel.
Attention! Electrostatic discharge (ESD) can damage or destroy
components on the card. Take precautions to avoid ESD.
Set the solder bridges corresponding to the desired settings.
Following figure on the next page shows the positions of the solder fields of the quad
channel card. The solder fields for the single and double channel card are located in
the same positions and can therefore also be taken from the figure. The table below
contains the possible settings.
2 Settings PCAN-PCI Express FD
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
9

Position of the solder fields on the bottom side of the quad channel card
for the internal termination
D-Sub connector Solder fields Internal termination
Without
(default)
Active
CAN 1 JP2 and JP3
CAN 2 JP5 and JP6
CAN 3 JP8 and JP9
CAN 4 JP11 and JP12
2 Settings PCAN-PCI Express FD
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
10

2.3 Daisy Chain
Only quad channel card: The daisy chain can be activated via solder jumpers on the
board to connect a CAN-FD-optimized connection to an existing CAN bus. This makes
interference-free operation possible at higher CAN FD bit rates, because stubs and Y
distributions are avoided as far as possible.
2.3.1 Connection example and assignment
For cabling, the cables and connectors must be assembled accordingly.
The optional voltage supply for external devices can not be operated
simultaneously with the daisy chain.
When daisy chain is activated, the pin assignment is as follows:
2 Settings PCAN-PCI Express FD
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
11

10-pin connector on
plug-in card
9-pin D-Sub plug on
slot bracket
Assignment
1 1 CAN_Low Daisy Chain
2 6 CAN_GND
3 2 CAN_Low
4 7 CAN_High
5 3 CAN_GND
6 8 CAN_High Daisy Chain
7, 8, 9, 10 4, 5, 9 None
2.3.2 Activate Daisy Chain
Risk of short circuit! Soldering on the CAN interface may only be
performed by qualified electrical engineering personnel.
Attention! Electrostatic discharge (ESD) can damage or destroy
components on the card. Take precautions to avoid ESD.
Set the solder bridges corresponding to the desired settings.
Figure on the next page shows the solder field positions on the top of the quad
channel card. The table below contains the possible settings.
Figure on page14 shows the solder field positions on the bottom of the quad
channel card. The table below contains the possible settings.
2 Settings PCAN-PCI Express FD
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
12

Position of the solder fields on the top side of the card for the activation of the daisy chain
D-Sub connector Solder field Daisy chain
Without
(default)
Active
CAN 1 JP18
CAN 2 JP20
For CAN 1 and CAN 2, additional soldering fields on the bottom of the
card must be observed. See figure on the next page.
2 Settings PCAN-PCI Express FD
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
13

Position of the solder fields on the bottom side of the card for the activation of the daisy chain
D-Sub connector Solder field Daisy chain
Without
(default)
Active
CAN 1 JP17
CAN 2 JP19
CAN 3 JP13 and JP14
CAN 4 JP15 and JP16
For CAN 1 and CAN 2, additional soldering fields on the top of the card
must be observed. See figure on the previous page.
2 Settings PCAN-PCI Express FD
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
14

3 Installation
This chapter covers the software setup for the PCAN-PCI Express FD card in Windows
and the installation of the card in the computer.
Note: For installation on Linux, see Appendix D Linux.
Install the driver before you install the CAN interface.
3.1 Install Device Driver Setup
1. Download the device driver setup from our website:
www.peak-system.com/quick/DL-Driver-E
2. Unpack the file PEAK-System_Driver-Setup.zip
3. Double-click the file PeakOemDrv.exe
The driver setup starts.
4. Follow the program instructions.
3 Installation PCAN-PCI Express FD
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
15

3.2 Installing the PCAN-PCI Express FD card
Attention! Electrostatic discharge (ESD) can damage or destroy
components on the card. Take precautions to avoid ESD.
1. Shut down the computer.
2. Disconnect the computer’s power supply.
3. Open the computer case.
4. Insert the plug-in card into an available PCI Express slot and attach it to the slot.
5. Quad channel: Connect one cable per CAN connection from the slot bracket to a
10-pin male connector on the plug-in card (CAN 3 and CAN 4).
6. Quad channel: Insert the slot bracket and fasten it to the slot.
7. Close the computer case.
8. Reconnect the computer power supply.
3 Installation PCAN-PCI Express FD
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
16

9. Turn on the computer and start Windows.
Windows detects the new hardware and completes the driver installation.
3.3 Check Operational Readiness
1. Open the Windows Start menu.
2. Type Peak Settings and press |Enter|.
The window PEAK Settings appears.
3. Select CAN Hardware.
The connected CAN interface is displayed.
3.3.1 Plug-in card is not listed
The PCAN-PCI Express FD card uses the PCIe standard 1.0. It may happen that the
card is not detected by the system. This may occur, when the PCIe standard on your
system is newer than "1.0" or when the card is in a PEG slot.
You can ensure correct recognition of the card by changing the settings in the
computer BIOS.
Make the following settings in the BIOS of your computer mainboard:
1. For the PCIe slot in use, set 1.0 for PCIe support.
Possible terms for the setting: Gen1, Legacy, 1.0
2. To use the card in a PEG slot, enable the “Early PCIe Delay” option.
The terms and availability of the above options may differ depending on
the mainboard used. Therefore, check the user manual of the
mainboard or contact the manufacturer.
3 Installation PCAN-PCI Express FD
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
17

4 Connecting the CAN Bus
4.1 Connection over D-Sub connector
After installation of the CAN interface a CAN bus can be connected to the D-Sub
connector. The pin assignment of the D-Sub connector corresponds to the
specification CiA® 303-1:
10-pin connector on the
plug-in card
D-Sub plug,
CAN 1 to 4
Assignment
1 1 +5 V (optional)
2 6 CAN_GND
3 2 CAN_Low
4 7 CAN_High
5 3 CAN_GND
6, 7, 8, 9, 10 4, 5, 8, 9 None
4 Connecting the CAN Bus PCAN-PCI Express FD
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
18

4.2 Cabling
4.2.1 Termination
The High-speed CAN bus (ISO 11898-2) must be terminated with 120 Ω on both ends.
The termination prevents interfering signal reflections and ensures the proper
operation of the transceivers of the connected CAN nodes (CAN interfaces,
controldevices).
The CAN interface PCAN-PCI Express FD does not have an internal termination. Use
the CAN interface on a terminated CAN bus.
4.2.2 Example of a Connection
This example shows a connection between the PCAN Interface and a control unit
(ECU). The upper example shows a connection with a cable which is terminated with
120 Ω at both ends. At the lower example the connection is made with termination
adapters.
4 Connecting the CAN Bus PCAN-PCI Express FD
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
19

4.2.3 Maximum Bus Length
The maximum bus length depends primarily on the bit rate:
Nominal bit rate Buslength
1 Mbit/s 40 m
500 kbit/s 110 m
250 kbit/s 240 m
125 kbit/s 500 m
50 kbit/s 1.3 km
25 kbit/s 2.5 km
The listed values have been calculated on the basis of an idealized system and can
differ from reality.
Note: For CAN FD, the same maximum bus lengths applys as for CAN,
despite the higher data bit rate of CAN FD. The dependency is based on
the bit rate during the arbitration, called nominal bit rate.
4.3 Example Application under Windows
As an example application for accessing the CAN interface, run the CAN monitor
PCAN-View from the Windows Start menu.
4 Connecting the CAN Bus PCAN-PCI Express FD
User Manual 2.0.0 © 2022 PEAK-System Technik GmbH
20
This manual suits for next models
3
Table of contents
Other Peak PCI Card manuals

Peak
Peak PCAN-PCI User manual

Peak
Peak PCAN-PCI Express User manual

Peak
Peak PCAN-PCI User manual

Peak
Peak PCAN-miniPCI User manual

Peak
Peak PCAN-cPCI User manual

Peak
Peak PCAN-PCI Express User manual

Peak
Peak IPEH-003026 User manual

Peak
Peak PCAN-PCI User manual

Peak
Peak IPEH-004026 User manual

Peak
Peak IPEH-003044 User manual