PCAN-USB-X6 UserMan Eng
PCAN-USB-X6 UserMan Eng
PCAN-USB-X6 UserMan Eng
User Manual
The cover picture shows the products PCAN-USB X6 with M12 connectors (left) and with D-Sub
connectors (right).
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 ®.
© 2023 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
info@peak-system.com
Document version 2.1.0 (2023-08-31)
Contents PCAN-USB X6 3
User Manual 2.1.0 © 2023 PEAK-System Technik GmbH
7 Technical Data 33
Appendix A CE Certificate 35
Appendix B UKCA Certificate 36
Appendix C Dimension Drawings 37
PCAN-USB X6 with D-Sub Connectors 37
PCAN-USB X6 with M12 Connectors 38
Appendix D Quick Reference 39
Appendix E Linux 41
Appendix F Disposal 42
Contents PCAN-USB X6 4
User Manual 2.1.0 © 2023 PEAK-System Technik GmbH
1 Introduction
The PCAN-USB X6 is a CAN FD interface for the USB port which allows the
connection of up to 6 CAN FD or CAN busses. The device is therefore best suited for
working with multiple CAN networks like the use in test benches with hardware-in-
the-loop (HIL) simulations for motor vehicles or in the product line testing of CAN-
based products.
The PCAN-USB X6 is installed in an aluminum profile casing and is shipped in
versions with D-Sub connectors or M12 circular connectors. Especially the M12
version is suitable for use in harsh environments. In addition, a galvanic isolation of
up to 300 Volts between the PC and the CAN side is guaranteed for the decoupled
versions.
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 A/B standard, thus CAN FD nodes can be
used in existing CAN networks. However, in this case the CAN FD extensions are not
applicable.
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 the standard 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-USB X6 5
User Manual 2.1.0 © 2023 PEAK-System Technik GmbH
1.1 Properties at a Glance
■ CAN interface for High-speed USB 2.0 (compatible to USB 1.1 and USB 3.0)
■ 6 High-Speed CAN channels (ISO 11898-2)
■ Comply with CAN specifications 2.0 A/B 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 bit rates from 25 kbit/s up to 1 Mbit/s
■ FPGA implementation of the CAN FD controller
■ NXP TJA1044GT CAN transceiver
■ Alternative pluggable transceiver modules on request
■ Galvanic isolation on the CAN connection up to 300 V
(only for IPEH-004063 and IPEH-004064)
■ Time stamp resolution 1 μs
■ Status LEDs for CAN channels, USB upstream, and power supply
■ CAN connection via D-Sub, 9-pin or M12 circular connectors, 5-pin
(pin assignment of both connectors in accordance with CiA® 106)
■ Aluminum casing with increased Ingress Protection IP64 (only for IPEH-004063)
■ High-speed USB 2.0 downstream port (only for IPEH-004062 and IPEH-004064)
■ CAN termination can be activated through solder jumpers, separately for each
CAN channel
■ 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 from 8 to 30 V
■ Extended operating temperature range from -40 to +85 °C (-40 to +185 °F)
1 Introduction PCAN-USB X6 6
User Manual 2.1.0 © 2023 PEAK-System Technik GmbH
1.2 System Requirements
■ Voltage supply in the range of 8 to 30 V DC
Computer with:
■ Operating system Windows 11 (x64/ARM64), 10 (x64), or Linux
■ A vacant USB port (USB 1.1, USB 2.0 or USB 3.0) or a self-powered USB hub
Note: The scope of supply does not contain a power supply unit for
the device. There is no supply via the USB connection to the PC.
Downloads
■ Device drivers for Windows 11 (x64/ARM64), 10 (x64), and Linux
■ 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
■ Manual in PDF format
1 Introduction PCAN-USB X6 7
User Manual 2.1.0 © 2023 PEAK-System Technik GmbH
2 Connectors
2.1 PCAN-USB X6 with D-Sub Connectors
GND 2
2 Connectors PCAN-USB X6 8
User Manual 2.1.0 © 2023 PEAK-System Technik GmbH
2.1.2 CAN Connection
The pin assignment for CAN corresponds to the specification CiA® 106:
2 Connectors PCAN-USB X6 9
User Manual 2.1.0 © 2023 PEAK-System Technik GmbH
2.2 PCAN-USB X6 with M12 Connectors
M12 female panel connector M12 male cable connector on Pin Assignment
„Power“ power cable
1 V+
2 None
3 GND
4 None
2 Connectors PCAN-USB X6 10
User Manual 2.1.0 © 2023 PEAK-System Technik GmbH
2.2.2 CAN Connection
The pin assignment of the six M12 male panel connectors corresponds to the
specification CiA® 106:
M12 male panel connectors M12 female cable connector Pin Assignment
(CAN connectors 1 to 6) on CAN bus
1 Shield
2 None
3 CAN_GND
4 CAN_High
5 CAN_Low
2 Connectors PCAN-USB X6 11
User Manual 2.1.0 © 2023 PEAK-System Technik GmbH
Recommendations for Suitable M12 Female Cable Connectors
The M12 male panel connector for CAN on PCAN-USB X6 are from the manufacturer
Phoenix, type "Speedcon". With the associated M12 female cable connector, the
connection is made with a quick-release fastener. Cable connectors of other types
are screwed on. Among others, the following assembled M12 female cable
connectors with free cable end are suitable:
Further notes on termination with terminating resistors can be found in chapter 2.4
Cabling.
2 Connectors PCAN-USB X6 12
User Manual 2.1.0 © 2023 PEAK-System Technik GmbH
2.3.1 Activate Internal Termination
1. Loosen the four Torx screws of the front panel of the case.
2. Remove the front panel including the mainboard .
3. Remove the transceiver module(s) to reach the desired solder field(s). Loosen
the screw and pull off the transceiver module.
The following figure shows the position of the transceiver modules and the
solder fields.
4. Set the solder bridge(s) according to the desired settings.
The following table contains the possible settings.
5. Plug on the transceiver modules and fix each transceiver with the corresponding
screw.
6. Insert the board including the mainboard carefully back into the case.
PCAN-USB X6 with M12 connectors: Make sure that the seal is correctly seated.
7. Fasten the front panel with the four Torx screws.
2 Connectors PCAN-USB X6 13
User Manual 2.1.0 © 2023 PEAK-System Technik GmbH
Top view on the solder fields (red)
and transceiver modules (dark grey)
of the mainboard
Solder fields:
CAN1: JP1, JP2
CAN2: JP3, JP4
CAN3: JP5, JP6
CAN4: JP7, JP8
CAN5: JP9, JP10
CAN6: JP11, JP12
2 Connectors PCAN-USB X6 14
User Manual 2.1.0 © 2023 PEAK-System Technik GmbH
D-Sub/M12 Solder fields Internal termination
connectors
Without (standard) Aktive
2.4 Cabling
2.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,
control devices).
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.
2 Connectors PCAN-USB X6 15
User Manual 2.1.0 © 2023 PEAK-System Technik GmbH
2.4.3 Maximum Bus Length
The maximum bus length depends primarily on the bit rate:
The listed values have been calculated on the basis of an idealized system and can
differ from reality.
2 Connectors PCAN-USB X6 16
User Manual 2.1.0 © 2023 PEAK-System Technik GmbH
3 Installation
This chapter covers the software setup for the CAN interface PCAN-USB X6 under
Windows and its connection to the computer.
Note: For installation on Linux, see Appendix E Linux.
Install the driver before you connect the CAN interface.
3 Installation PCAN-USB X6 17
User Manual 2.1.0 © 2023 PEAK-System Technik GmbH
3.3 Connect the PCAN-USB X6
1. Connect the power supply to the PCAN-USB X6.
2. Connect the PCAN-USB X6 to a USB port on the computer or to a USB hub.
Windows detects the new hardware and completes the driver installation.
3. Check the LEDs of the CAN channels on the PCAN-USB X6.
If the LEDs are green, then the driver was initialized successfully.
3 Installation PCAN-USB X6 18
User Manual 2.1.0 © 2023 PEAK-System Technik GmbH
4 Operation
4.1 Status LEDs
CAN channels
The status LEDs of the six CAN channels can assume the following states:
Status Meaning
Green on There's a connection to a driver of the operating system.
Green slow blinking A software application is connected to the CAN channel.
Green quick blinking Data is transmitted via the connected CAN bus.
Red blinking An error is occurring during the transmission of CAN data.
Orange quick blinking Identification of a channel by the PCAN-View software.
USB Upstream
Note: The status LED of the USB upstream is only lit, when it is
connected to a USB 2.0 port or higher.
The status LEDs of the USB upstream can assume the following states:
Status Meaning
Green on A power supply and a connection via the USB upstream exist. The device
is ready for use.
Orange on There is only a connection via the USB upstream. The device is not ready
for use.
4 Operation PCAN-USB X6 19
User Manual 2.1.0 © 2023 PEAK-System Technik GmbH
power Supply
The status LED of the power supply can assume the following states:
Status Meaning
Green on A power supply is connected.
4 Operation PCAN-USB X6 20
User Manual 2.1.0 © 2023 PEAK-System Technik GmbH
5 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.
CAN 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.
To transmit periodically enter a value greater than 0.
To transmit only manually enter the value 0.
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.
The tracer (data logger) records the communication of the CAN bus in linear or
ring buffer mode. The trace data can be saved to a file.
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.
The Bus Load tab displays the current bus load, its time history and statistical
information of the connected CAN channel.
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.
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
The programming interface (API) PCAN-Basic provides basic functions for the
connection of own programs to the CAN and CAN FD Interfaces of PEAK-System.
PCAN-Basic is the interface between the program and the device driver. In Windows
operating systems this is a DLL (Dynamic Link Library) and in Linux operating
systems an SO (Dynamic Shared Object). PCAN-Basic is designed to be cross-
operating system compatible. Software projects can be ported between supported
systems with little effort.
With the installation of the device driver package under Windows the DLL files of
the API PCAN-Basic are placed in the system folder. Examples for all common
programming languages as well as libraries and help files are available as a
download package at: www.peak-system.com/quick/DL-Develop-E
Initialization
A CAN channel must be initialized before using it. This is done by the simple call of
the function CAN_Initialize for CAN and CAN_InitializeFD for CAN FD.
Depending on the type of the CAN hardware, up to 16 CAN channels can be opened
at the same time. After a successful initialization the CAN channel is ready. No
further configuration steps are required.
Interaction
For receiving and transmitting messages the functions CAN_Read and CAN_
Write as well as CAN_ReadFD and CAN_WriteFD are available depending on
the initialization mode. Additional settings can be made, such as setting up
message filters to confine to specific CAN IDs or setting the CAN controller to
Listen-only mode.
When receiving CAN messages, events are used for an automatic notification of an
application (client). This offers the following advantages:
■ The application no longer needs to check for received messages periodically
(no polling).
■ The response time at reception is reduced.
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.
CAN
Protocols CAN and CAN FD according to ISO 11898-1; non-ISO CAN FD
Physical transmission ISO 11898-2 (High-speed CAN)
Transceiver NXP TJA1044GT
CAN bit rates Nominal: 25 kbit/s up to1 Mbit/s
CAN-FD bit rates Nominal: 25 kbit/s up to 1 Mbit/s
Data: 25 kbit/s up to 12 Mbit/s
Controller FPGA implementation
Time stamp resolution 1 µs
Galvanic isolation up to 300 V, separate for each CAN connector
(IPEH-004063/-64 only)
Internal Termination via solder bridges, disabled at delivery
Measures
Size (W x L x H) with D-Sub connectors: 170 x 93 x 65 mm (without cable)
with M12 connectors: 170 x 103 x 65 mm
USB upstream cable length with D-Sub connectors: 1.5 m
with M12 connectors: 2m
Power supply cable length 5m
(IPEH-004063 only)
Weight (without cable) 550 g
Environment
Operating temperature -40 to +85 °C (-40 to +185 °F)
Temperature for storage and
-40 to +100 °C (-40 to +212 °F)
transport
Relative humidity 15 to 90 %, not condensing
Ingress protection (IEC 60529) IP20 for IPEH-004062 and IPEH-004064
IP64 for IPEH-004063
Conformity
RoHS EU Directive 2011/65/EU (RoHS 2) + 2015/863/EU
DIN EN IEC 63000:2019-05
EMC EU Directive 2014/30/EU
DIN EN 55032:2022-08
DIN EN 55035:2018-04
EU Declaration of Conformity
This declaration applies to the following product:
Product name: PCAN-USB X6
Item number(s): IPEH-004062, IPEH-004063, IPEH-004064
Manufacturer: PEAK-System Technik GmbH
Otto-Röhm-Straße 69
64293 Darmstadt
Germany
UK Declaration of Conformity
This declaration applies to the following product:
Product name: PCAN-USB X6
Item number(s): IPEH-004062, IPEH-004063, IPEH-004064
The Restriction of the Use of Certain Hazardous Substances in Electrical and Electronic
Equipment Regulations 2012
DIN EN IEC 63000:2019-05
Technical documentation for the assessment of electrical and electronic products with respect
to the restriction of hazardous substances (IEC 63000:2016);
German version of EN IEC 63000:2018
After that, you connect the PCAN-USB X6 to a power supply and to a USB port of
the computer. Windows detects the new hardware and initializes the driver. The
CAN LEDs of the adapter light green now.
Power supply
Note: The status LED of the USB upstream is only lit, when it is
connected to a USB 2.0 port or higher.
Whether the required driver for the PCAN interface is present and loaded can be
checked with the following command:
If the initialization was successful, the response line starts with peak_usb.
You can find a recent list of which PCAN interface is supported from which kernel
version onwards on our Linux website.
If the required drivers are not listed, install the "Driver Package for Proprietary
Purposes". The download and documentation for the driver can also be found on:
www.peak-system.com/linux
This driver package is also needed to use the APIs based on the chardev driver, for
example PCAN-Basic, libpcan, or libpcanfd.