Peak PCAN-miniPCIe FD User manual

PCAN-miniPCIeFD
User Manual
User Manual 2.0.1 © 2022 PEAK-System Technik GmbH

Relevant Products
Product name Model Part number
PCAN-miniPCIeFD SingleChannel One CAN channel, galvanic isolation for
CAN connection IPEH-004045
PCAN-miniPCIeFD DoubleChannel Two CAN channels, galvanic isolation for
CAN connection IPEH-004046
PCAN-miniPCIeFD QuadChannel Four CAN channels, galvanic isolation for
CAN connection IPEH-004047
The cover picture shows the products PCAN-miniPCIeFD DoubleChannel and QuadChannel. The
SingleChannel model has an identical form factor like the DoubleChannel model but varies 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.1 (2022-04-21)
Relevant Products PCAN-miniPCIeFD
User Manual 2.0.1 © 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 5
1.3 Scope of Supply 6
2 Installation 7
2.1 Install Device Driver Setup 7
2.2 Connect the CAN interface 7
2.3 Check Operational Readiness 8
3 Connecting the CAN Bus 9
3.1 Connection over D-Sub Connector 9
3.2 Daisy Chain 9
3.3 Internal Termination 11
3.4 Cabling 11
3.5 Example Application under Windows 12
4 CAN Monitor PCAN-View 13
4.1 CAN interface initialize 14
4.2 Transmit CAN message 16
4.3 Additional Tabs 17
5 API PCAN-Basic 22
5.1 Features of PCAN-Basic 23
5.2 Principle Description of the API 24
6 Technical Data 25
Appendix A CE Certificate 27
Appendix B Dimension Drawings 28
Appendix C Quick Reference 30
Appendix D Linux 31
Contents PCAN-miniPCIeFD
User Manual 2.0.1 © 2022 PEAK-System Technik GmbH
3

1 Introduction
The CAN interfacePCAN-miniPCIeFD for an PCI Express Mini slot is available as a
version with one, two, or four channels. With its small format, the CAN interface is
ideal for embedded PCs, single board computers (SBC) and compact embedded
applications. Depending on the version, up to four CAN FD and CAN type fieldbuses
can be connected. Galvanic isolation up to 300 volts for each CAN channel protects
against the transmission of electrical interference peaks between the CAN channels
and the computer.
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.
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-miniPCIeFD
User Manual 2.0.1 © 2022 PEAK-System Technik GmbH
4

1.1 Properties at a Glance
■CAN interface for the PCI Express Mini slot with PCIe lane
■1, 2, or 4 High-speed CAN channels (ISO 11898-2)
■Form factor PCI Express Mini (only for single and dual channel versions due to the
height of the four-channel version)
■Complies with CAN specifications ISO 11898-1 for CAN and CAN FD
■CAN FD support for Non-ISO standard 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 connection cable and 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 300 V per CAN connection
■CAN termination can be activated optionally through solder jumpers, separately
for each CAN channel
■PCIe data transfer via bus master DMA
■DMA memory access operations with 32- and 64-bit adresses
■Measurement of bus load including error frames and overload frames on the
physical bus
■Induced error generation for incoming and outgoing CAN messages
■Extended operating temperature range from -40 to +85 °C (-40 to +185°F)
1.2 System Requirements
Computer with:
■Operating system Windows® 11 (64 bit), 10 (32/64 bit) or Linux (32/64-bit)
■PCI Express Mini slot with PCIe lane
1 Introduction PCAN-miniPCIeFD
User Manual 2.0.1 © 2022 PEAK-System Technik GmbH
5

1.3 Scope of Supply
■CAN interface PCAN-miniPCIeFD
■Connection cable, 20 cm, including D-Sub plug for each channel (40 cm or other
cable lengths on request)
Downloads
■Device drivers for Windows® 11 (64 bit), 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-miniPCIeFD
User Manual 2.0.1 © 2022 PEAK-System Technik GmbH
6

2 Installation
This chapter covers the software setup for the CAN interface PCAN-miniPCIeFD in
Windows and the installation of the CAN interface in the computer.
Note: For installation on Linux, see Appendix D Linux.
Install the driver before you install the CAN interface.
2.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.
2.2 Connect the CAN interface
Attention! Electrostatic discharge (ESD) can damage or destroy
components on the card. Take precautions to avoid ESD.
CAN ports: on the left QuadChannel, on the right
DoubleChannel.
DoubleChannel with connection cables.
2 Installation PCAN-miniPCIeFD
User Manual 2.0.1 © 2022 PEAK-System Technik GmbH
7

1. Shut down the computer.
2. Disconnect the computer’s power supply.
3. Open the computer case.
4. Insert the CAN interface into an empty PCI Express Mini slot.
5. For each CAN channel, mount a D-Sub connector of the connection cable in a
suitable recess of the computer housing.
6. For each CAN channel interconnect the SUR socket connector of the connection
cable and the SUR header on the CAN interface.
7. Close the computer case.
8. Reconnect the computer power supply.
9. Turn on the computer and start Windows.
Windows detects the new hardware and completes the driver installation.
2.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.
2 Installation PCAN-miniPCIeFD
User Manual 2.0.1 © 2022 PEAK-System Technik GmbH
8

3 Connecting the CAN Bus
3.1 Connection over D-Sub Connector
After the connection cable has been connected to 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:
CAN interface Connection cable
SUR header
Type: SM05B-SURS-TF
SUR socket
Type: 05SUR-32S
D-Sub plug, 9-pin
Assignment
3 3 3, 6 CAN_GND
4 4 7 CAN_High
5 5 2 CAN_Low
1, 2 1, 2 1, 4, 5, 8, 9 None
3.2 Daisy Chain
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.
3 Connecting the CAN Bus PCAN-miniPCIeFD
User Manual 2.0.1 © 2022 PEAK-System Technik GmbH
9

3.2.1 Connection example and assignment
For cabling, the cables and connectors must be assembled accordingly.
D-Sub plug on
PCAN interface
D-Sub socket on
cable
Assignment
1 CAN_Low Daisy Chain
2 CAN_Low
3, 6 GND
7 CAN_High
8 CAN_High Daisy Chain
4, 5, 9 None
Note: The activation of the daisy chain is optional. The manual is
available on request from our customer support. Please contact
3 Connecting the CAN Bus PCAN-miniPCIeFD
User Manual 2.0.1 © 2022 PEAK-System Technik GmbH
10

3.3 Internal Termination
For each CAN channel a termination can be activated via solder bridges on the board.
This switches a resistor of 120 Ω between CAN_High and CAN_Low. The conversion is
done for an additional improvement of the CAN signal as split termination.
Note: The activation of the internal termination is optional. The manual
is available on request from our customer support. Please contact
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.
3.4 Cabling
3.4.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).
3.4.2 Example of a Connection
3 Connecting the CAN Bus PCAN-miniPCIeFD
User Manual 2.0.1 © 2022 PEAK-System Technik GmbH
11

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.
3.4.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.
3.5 Example Application under Windows
As an example application for accessing the CAN interface, run the CAN monitor
PCAN-View from the Windows Start menu.
3 Connecting the CAN Bus PCAN-miniPCIeFD
User Manual 2.0.1 © 2022 PEAK-System Technik GmbH
12

4 CAN Monitor PCAN-View
The CAN monitor PCAN-View is a Windows software for viewing, sending, and
recording CAN and CAN FD messages. The software is installed with the installation
of the device driver package under Windows.
In the following the initialization of a CAN interface is described as an example.
Detailed information about using PCAN-View can be found in the program window
under the menu item Help.
4 CAN Monitor PCAN-View PCAN-miniPCIeFD
User Manual 2.0.1 © 2022 PEAK-System Technik GmbH
13

4.1 CAN interface initialize
1. Open the program PCAN-View via the Windows Start menu.
Depending on the CAN interface the Connect dialog is displayed with or without
settings for CAN FD.
CAN CAN FD
CAN interface List entry in Available Hardware
USB Interface, 1-channel see example above
USB Interface, 2-channel
PCIe Interface, 2-channel
2. If there are several CAN interfaces, select the desired interface. For multiple
channels, select the desired channel from the list.
3. Enter the bit rate(s) and other settings according to the connected CAN bus.
4 CAN Monitor PCAN-View PCAN-miniPCIeFD
User Manual 2.0.1 © 2022 PEAK-System Technik GmbH
14

4. Confirm the entries with OK. The main window appears and displays the Receive /
Transmit tab.
5. For initializing another channel or CAN interface, open another instance of PCAN-
View.
4 CAN Monitor PCAN-View PCAN-miniPCIeFD
User Manual 2.0.1 © 2022 PEAK-System Technik GmbH
15

4.2 Transmit CAN message
1. Select the menu command Transmit / New Message.
Depending on the CAN interface, the dialog box New Transmit Message is
displayed with or without settings for CAN FD.
CAN CAN FD
1. Enter the ID,Length and Data of the message. Other settings can be made
according to the connected CAN bus.
2. Enter a value into the Cycle Time field to choose manually or periodically message
transmission.
Enter a value greater than 0 to transmit periodically.
Enter the value 0 to transmit only manually.
3. Confirm the entries with OK.
The created transmit message appears on the Receive / Transmit tab.
4. To send the message manually, select the menu command Transmit > Send or
press the |space|bar.
The manual transmission process is performed additionally for periodically
transmitted CAN messages.
4 CAN Monitor PCAN-View PCAN-miniPCIeFD
User Manual 2.0.1 © 2022 PEAK-System Technik GmbH
16

4.3 Additional Tabs
Depending on the CAN interface, additional tabs are available.
4.3.1 Trace Tab
The tracer (data logger) records the communication of the CAN bus in linear or
ringbuffer mode. The trace data can be saved to a file.
4 CAN Monitor PCAN-View PCAN-miniPCIeFD
User Manual 2.0.1 © 2022 PEAK-System Technik GmbH
17

4.3.2 CAN interface Tab
The CAN interface tab shows information about the hardware and the used Windows
device driver. In this case exemplary for the PCAN-miniPCIe FD. Depending on the
CAN interface, a hardware ID can be determined to distinguish several interfaces of
the same type. For interfaces with CAN FD a transmission according to "ISO" or
"Non-ISO" can be set as default of the hardware.
4 CAN Monitor PCAN-View PCAN-miniPCIeFD
User Manual 2.0.1 © 2022 PEAK-System Technik GmbH
18

4.3.3 Bus Load Tab
The Bus Load tab displays the current bus load, its time history and statistical
information of the connected CAN channel.
4.3.4 Error Generator Tab
4 CAN Monitor PCAN-View PCAN-miniPCIeFD
User Manual 2.0.1 © 2022 PEAK-System Technik GmbH
19

Via the Error Generator tab the communication on the CAN bus in test environments
or during the development of CAN buses can be disturbed in a controlled way by 6
consecutive dominant bits. This is a violation of the CAN protocol on the CAN bus
which must be recognized as an error by the connected CAN nodes.
Note: The Error Generator should only be used by experienced users
and in the development environment. For further information, please
You can destroy CAN frames with the error generator by one of two methods:
■once after activation
■repeatedly at specific intervals related to a CAN ID
4 CAN Monitor PCAN-View PCAN-miniPCIeFD
User Manual 2.0.1 © 2022 PEAK-System Technik GmbH
20
This manual suits for next models
3
Table of contents
Other Peak Computer Hardware manuals

Peak
Peak Rider 2 User manual

Peak
Peak PCAN-PCI/104-Express User manual

Peak
Peak PCAN-M.2 User manual

Peak
Peak PCAN-PC Card Series User manual

Peak
Peak CANopen User manual

Peak
Peak PCAN-Dongle User manual

Peak
Peak PCAN-PCI Express User manual

Peak
Peak PCAN-ExpressCard User manual

Peak
Peak PCAN-MicroMod FD User manual

Peak
Peak IPEH-002090 User manual