Peak PCAN-USB Pro FD User manual

PCAN-USBProFD
User Manual
User Manual 2.0.0 © 2023 PEAK-System Technik GmbH

Relevant Product
Product name Part number
PCAN-USBProFD IPEH-004061
Imprint
PCAN and PLIN are registered trademarks 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
Document version 2.0.0 (2023-08-18)
Relevant Product PCAN-USBProFD
User Manual 2.0.0 © 2023 PEAK-System Technik GmbH
2

Contents
Imprint 2
Relevant Product 2
Contents 3
1 Introduction 5
1.1 Properties at a Glance 6
1.2 System Requirements 7
1.3 Scope of Supply 8
2 Configuration 9
2.1 Open the Casing 10
2.2 Voltage Supply of External Devices 11
2.3 Internal Termination 13
3 Installation 15
3.1 Install Device Driver Setup 15
3.2 Connection 16
3.3 Check Operational Readiness 16
3.4 Connecting the CAN and LIN Bus 16
3.5 CAN Cabling 17
3.6 Example Application under Windows 18
4 Operation 19
4.1 Status LEDs 19
4.2 Unplugging the USB Connection 20
4.3 Distinguishing several interfaces 20
5 CAN Monitor PCAN-View 21
5.1 Initialize CAN interface 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 LIN Monitor PLIN-View Pro 33
7.1 Features 34
7.2 StartandInitializePLIN-ViewPro 35
Contents PCAN-USBProFD
User Manual 2.0.0 © 2023 PEAK-System Technik GmbH
3

7.3 Receive / Transmit Tab 37
7.4 Transmit a LIN Frame 37
7.5 Trace Tab 40
7.6 Scripting Tab 41
7.7 LIN Interface Tab 42
8 PLIN-API 43
8.1 Features 44
9 Technical Data 45
Appendix A CE Certificate 47
Appendix B UKCA Certificate 48
Appendix C Dimension Drawings 49
Appendix D Quick Reference 50
Appendix E Linux 53
Appendix F Disposal 54
Contents PCAN-USBProFD
User Manual 2.0.0 © 2023 PEAK-System Technik GmbH
4

1 Introduction
The PCAN-USBProFD interface enables the connection of CAN FD and LIN
networks to a computer via USB. Two field buses can be connected at the same
time, up to four with appropriate adapter cables (2 x CAN FD, 2 x LIN). Each CAN FD
channel is separately isolated against USB and LIN with a maximum of 500 Volts. Its
robust aluminum casing makes the PCAN-USBProFD interface suitable for mobile
applications.
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 the standard CAN FD. The monitor application PLIN-View Pro as
well as the PLIN programming interface are also included in the scope of supply.
This manual describes the use of the CAN interface with Windows.
CAN 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 interface.
1 Introduction PCAN-USBProFD
User Manual 2.0.0 © 2023 PEAK-System Technik GmbH
5

1.1 Properties at a Glance
Common
■Interface for High-speed USB 2.0 (compatible to USB 1.1 and USB 3.0)
■Transmitting and receiving of CAN FD and LIN messages using 2 D-Sub
connections (both with pin assignment for the CAN FD and LIN bus)
■Time stamp resolution 1 µs
■5-Volt supply at the D-Sub connector can be activated through a solder jumper,
e.g., for external bus converter
■Voltage supply via USB
■Extended operating temperature range from -40 to +85 °C (-40 to +185 °F)
CAN
■Complies 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
■Each CAN FD channel is separately opto-decoupled against USB and LIN
up to 500 V
■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
1 Introduction PCAN-USBProFD
User Manual 2.0.0 © 2023 PEAK-System Technik GmbH
6

LIN
■Bit rates from 1 kbit/s up to 20 kbit/s
■TJA1028 LIN transceiver
■Compliant with all LIN specifications (up to version 2.2)
■Both LIN channels (common ground) are opto-decoupled against USB and CAN
FD
■Can be used as a LIN master or slave (1 ms master task resolution)
■Automatic bit rate, frame length, and checksum type recognition
■Autonomous scheduler with support for unconditional, event, and sporadic
frames
■Hardware can work through a schedule table (up to 8 schedule tables can be
configured with a total of 256 slots)
1.2 System Requirements
Computer with:
■Operating system Windows11(x64/ARM64), 10 (x64), or Linux
■a vacant USB port (USB 1.1, USB 2.0, or USB 3.0) or
■a vacant USB port at a self-powered USB hub
LIN
Per channel a supply voltage between 8 and 18 V for the LIN transceiver
1 Introduction PCAN-USBProFD
User Manual 2.0.0 © 2023 PEAK-System Technik GmbH
7

1.3 Scope of Supply
■PCAN-USBProFD in aluminum casing
Downloads
■Device driver setup for Windows11(x64/ARM64), 10 (x64) including:
■CAN FD device driver
■LIN device driver
■CAN monitor PCAN-View
■LIN monitor PLIN-View Pro
■Device driver for Linux
■Programming interface PCAN-Basic for developing applications with CAN
connection
■Programming interface PLIN-API for developing applications with LIN
connection
■Programming interfaces for standardized protocols from the automotive sector
■Manual in PDF format
Optional accessories
Pre-configured cable set for PCAN-USBProFD and PLIN-USB (IPEK-003013)
1 Introduction PCAN-USBProFD
User Manual 2.0.0 © 2023 PEAK-System Technik GmbH
8

2 Configuration
The following describes the configuration for the power supply of external devices
and the internal termination. If you do not need any of these options, skip this
chapter.
The interface must be opened for the configuration.
Risk of short circuit! Soldering on the 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.
2 Configuration PCAN-USBProFD
User Manual 2.0.0 © 2023 PEAK-System Technik GmbH
9

2.1 Open the Casing
1. Remove the three screws at the back of the casing.
2. Remove the two outer screws next to the D-Sub connectors at the front of the
casing.
3. Remove the casing cover.
4. Lift the back of the case and slide the circuit board in direction of the front over
the lower part of the casing.
5. When you have finished the configuration, close the interface.
Close interface
1. Slide the circuit board back into the lower part of the casing.
2. Close the casing cover.
3. Tighten the screws at the front and back side.
2 Configuration PCAN-USBProFD
User Manual 2.0.0 © 2023 PEAK-System Technik GmbH
10

2.2 Voltage Supply of External Devices
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. Consider that some
computers still supply the USB ports with power even when they are
turned off (standby operation).
Optionally, an external power supply can be connected via the D-Sub connector
using 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. The power supply is not activated at delivery. The current
output is limited to 50mA.
For PCAN-USBProFD from S/N 24548
Set the solder bridge(s) according to the desired configuration.
D-Sub connector Solder field 5-Volt supply at Pin 1
Without
(Standard)
Active
CAN 1 5V ext.
CAN 2 5V ext.
2 Configuration PCAN-USBProFD
User Manual 2.0.0 © 2023 PEAK-System Technik GmbH
11

For PCAN-USBProFD to S/N 24547
Set the solder bridge(s) according to the desired configuration.
D-Sub connector Solder field 5-Volt supply at Pin 1
Without
(Standard)
Active
CAN 1 JP4
CAN 2 JP7
2 Configuration PCAN-USBProFD
User Manual 2.0.0 © 2023 PEAK-System Technik GmbH
12

2.3 Internal Termination
The termination can be activated by solder jumpers on the circuit board, to
terminate one end of the CAN bus. At delivery the termination is not activated.
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.
For PCAN-USBProFD from S/N 24548
Set the solder bridges corresponding to the desired settings.
D-Sub connector Solder field Termination
Without
(Standard)
Active
CAN 1 Term.
CAN 2 Term.
2 Configuration PCAN-USBProFD
User Manual 2.0.0 © 2023 PEAK-System Technik GmbH
13

For PCAN-USBProFD to S/N 24548
Set the solder bridges corresponding to the desired settings.
D-Sub connector Solder field Termination
Without
(Standard)
Active
CAN 1 JP1 and JP2
CAN 2 JP5 and JP6
2 Configuration PCAN-USBProFD
User Manual 2.0.0 © 2023 PEAK-System Technik GmbH
14

3 Installation
This chapter covers the software setup for the interface PCAN-USBProFD under
Windows and the connection of the interface to the computer.
Note: For an installation of the CAN interface under Linux read
Appendix E Linux.
Install the driver package before you connect the PCAN-USBProFD.
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. Confirm the Start and the License agreements.
5. Follow the instructions. When getting to the Components Selection, add the LIN
Driver.
3 Installation PCAN-USBProFD
User Manual 2.0.0 © 2023 PEAK-System Technik GmbH
15

3.2 Connection
Attention! Do not use a USB extension cable to connect the interface
to the computer. Extension cables do not comply with the USB
specification.
1. Connect the interface to a USB port of the computer or of a connected USBhub.
Windows detects the new hardware and completes the driver installation.
2. Check the LEDs on the interface. If the LED „USB“ is blinking and the other LEDs
light up green, the driver was initialized successfully.
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.
4. Select LIN Hardware.
The connected LIN interface is displayed.
3.4 Connecting the CAN and LIN Bus
The two connectors CAN1/LIN1 and CAN2/LIN2 can each be connected
simultaneously to a CAN and a LINbus. Depending on the actual application, the D-
Subsockets on the busside must be assigned accordingly. The assignment for CAN
corresponds to the specification CiA®106.
For each CAN connection there is galvanic isolation up to 500 V against USB and
LIN.
Both LIN connections have a common galvanic isolation up to 500 V against USB
and CAN. The LIN connections are not galvanically isolated against each other.
The transceiver of the LIN interface requires a power supply between 8 and
18VDC. This must be connected via pin 9 at the D-Sub connector. Both LIN
connections need their own supply.
3 Installation PCAN-USBProFD
User Manual 2.0.0 © 2023 PEAK-System Technik GmbH
16

Pin Assignment D-Sub socket
1 CAN_V+ (external, optional)
2 CAN_Low
3 CAN_GND
4 LIN
5 LIN_GND
6 LIN_GND
7 CAN_High
8 Not assigned
9 LIN_VBat
PEAK System offers a pre-configured LIN connection cable
(IPEK-003013), wich allows the tapping of individual lines. The LIN and
the supply lines are lead directly out to separate plugs and the CAN
lines are forwarded to a D-Sub plug.
3.5 CAN Cabling
3.5.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.5.2 Example of a Connection
3 Installation PCAN-USBProFD
User Manual 2.0.0 © 2023 PEAK-System Technik GmbH
17

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.5.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.6 Example Application under Windows
As an example application for accessing the interface, run the CAN monitor
PCAN-View and/or the LIN monitor PLIN-ViewPro from the Windows Start menu.
3 Installation PCAN-USBProFD
User Manual 2.0.0 © 2023 PEAK-System Technik GmbH
18

4 Operation
4.1 Status LEDs
For indication of operating conditions the PCAN-USBProFD interface has several
LEDs:
USB
Status Meaning
Green on High-speed USB is connected (≥USB 2.0)
Green blinking Communication via High-speed USB
Orange on Full-speed USB is connected (USB 1.1)
The PCAN-USBProFD interface is in suspend
mode (only voltage supply via USB cable, e.g.
during computer standby).
Green on Communication via Full-speed USB
CAN1 and CAN2
Status Meaning
Green on The CAN interface is initialized. 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 quick blinking An error is occurring during the transmission of
CAN data.
LIN1 and LIN2
Status Meaning
Green on There's a connection to a driver of the
operating system.
Green slow blinking The LIN channel is initialized with a valid bit
rate. A software application is connected to the
LIN channel.
Green quick blinking Data is transmitted via the connected LIN bus.
4 Operation PCAN-USBProFD
User Manual 2.0.0 © 2023 PEAK-System Technik GmbH
19

4.2 Unplugging the USB Connection
The interface can be disconnected from the computer without further actions. In
Windows, the interface is not listed under "Safely Remove Hardware".
4.3 Distinguishing several interfaces
You can operate several interfaces on a single computer at the same time. For this
purpose, the device ID for CAN and the hardware ID for LIN can be determined in
order to distinguish the interfaces in a software environment. The ID's are
permanently stored in the interface.
PCAN-View / PLIN-View Pro
To set the device ID in PCAN-View or PLIN-View Pro:
1. Open the tab PCAN-USBProFD of the respective program.
2. Enter a hexadecimal number with suffix “h” as the new hardware ID.
3. Confirm the entry with Set.
PEAK-Settings
To set the device ID in PEAK-Settings:
1. Click on CANHardware or LINHardware.
The connected hardware is displayed.
2. Enter a hexadecimal number with suffix “h” as the new hardware ID.
3. Confirm the entry with Set.
4 Operation PCAN-USBProFD
User Manual 2.0.0 © 2023 PEAK-System Technik GmbH
20
Table of contents
Other Peak Adapter manuals

Peak
Peak PCAN-Optoadapter User manual

Peak
Peak PCAN-PC/104-Plus User manual

Peak
Peak PCAN-Optoadapter User manual

Peak
Peak PCIe-miniPCIe User manual

Peak
Peak PCAN-USB Hub User manual

Peak
Peak PCAN-LIN Series User manual

Peak
Peak RS-232 User manual

Peak
Peak PCAN-USB X6 User manual

Peak
Peak PCAN-Optoadapter User manual

Peak
Peak PLIN-USB User manual