Peak PCAN-USB User Manual
Hide thumbs Also See for PCAN-USB:

Advertisement

PCAN-USB
User Manual
User Manual 3.0.0
© 2022 PEAK-System Technik GmbH

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PCAN-USB and is the answer not in the manual?

Questions and answers

Summary of Contents for Peak PCAN-USB

  • Page 1 PCAN-USB User Manual User Manual 3.0.0 © 2022 PEAK-System Technik GmbH...
  • Page 2: Imprint

    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.
  • Page 3: Table Of Contents

    4.1 Connection over D-Sub Connector 4.2 Cabling 4.3 Example Application under Windows 5 Operation 5.1 Status LED 5.2 Unplugging the USB Connection 5.3 Distinguishing several PCAN-USB Interfaces 6 CAN Monitor PCAN-View 6.1 CAN interface initialize 6.2 Transmit CAN message 6.3 Additional Tabs 7 API PCAN-Basic 7.1 Features of PCAN-Basic...
  • Page 4 Appendix C Quick Reference Appendix D Linux Contents PCAN-USB User Manual 3.0.0 © 2022 PEAK-System Technik GmbH...
  • Page 5: Introduction

    1 Introduction The PCAN-USB interface enables simple connection to CAN networks. Its compact plastic casing makes it suitable for mobile applications. The opto-decoupled version guarantees galvanic isolation of up to 500 Volts between the PC and the CAN side. 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.
  • Page 6: Properties At A Glance

    5-Volt supply to the CAN connection can be connected 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) ■ 1 Introduction PCAN-USB User Manual 3.0.0 © 2022 PEAK-System Technik GmbH...
  • Page 7: System Requirements

    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-USB User Manual 3.0.0 © 2022 PEAK-System Technik GmbH...
  • Page 8: Settings

    5 V DC, such as the PCAN-TJA1054 bus converter for Low-speed CAN. Pin 1 and pin 9 are not assigned at delivery and with the PCAN-USB opto-decoupled only pin 1 is available up to S/N 199999. The opto-decoupled model of the CAN interface contains an interconnected DC/DC converter.
  • Page 9 2. Remove the circuit board. 3. Set the solder bridges according to the model of the PCAN-USB on the intended position on the circuit board (see below). 4. For assembly, place the circuit board on the upper half of the housing. The strain relief and the LED must be in the corresponding recesses.
  • Page 10 PCAN-USB opto-decoupled (IPEH-002022) to S/N 199999, solder field R11 PCAN-USB opto-decoupled (IPEH-002022) from S/N 200000, solder field JP3 PCAN-USB model Solder field 5 V supply on the D-Sub connector Without Pin 1 Pin 9 Pin 1 and (default) Pin 9...
  • Page 11 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). 2 Settings PCAN-USB User Manual 3.0.0 © 2022 PEAK-System Technik GmbH...
  • Page 12: Internal Termination

    2. Remove the circuit board. 3. Set the solder bridges according to the model of the PCAN-USB on the intended position on the circuit board (see below). 4. For assembly, place the circuit board on the upper half of the housing. The strain relief and the LED must be in the corresponding recesses.
  • Page 13 PCAN-USB (IPEH-002021) to S/N 199999, solder fields for the CAN bus termination PCAN-USB opto-decoupled (IPEH-002022) from S/N 200000, solder fields for the CAN bus termination PCAN-USB model Termination High-speed CAN bus 120 Ω Without (default) Activated IPEH-002021 from S/N 200000 IPEH-002022 (opto-dec.)
  • Page 14: Installation

    3 Installation This chapter covers the software setup for the PCAN-USB interface under Windows and the connection of the CAN interface to the computer. Note: For installation on Linux, see Appendix D Linux. Install the driver before you connect the CAN interface.
  • Page 15: Connecting The Can Interface

    2. Check the LED on the CAN interface. If the LED is on, then 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.
  • Page 16: Connecting The Can Bus

    For more information see section 2.1 Voltage Supply of External Devices. Tip: Connect a CAN bus with a different transmission standard via a bus converter. PEAK-System offers different bus converter modules like the PCAN-TJA1054 for a Low-speed CAN bus according to ISO 11898-3. 4 Connecting the CAN Bus PCAN-USB User Manual 3.0.0...
  • Page 17: Cabling

    CAN nodes (CAN interfaces, control devices). The PCAN-USB interface to S/N 199999 does not have an internal termination. From S/N 200000 it has an optional internal termination with 120 Ω. See the previous section 2.2 Internal Termination for information about activation.
  • Page 18: Example Application Under Windows

    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-USB User Manual 3.0.0 © 2022 PEAK-System Technik GmbH...
  • Page 19: Operation

    In Windows, the interface is not listed under "Safely Remove Hardware". 5.3 Distinguishing several PCAN-USB Interfaces You can operate several PCAN-USB interfaces on a single computer at the same time. The supplied program PCAN-View allows the assignment of device IDs in order to distinguish the CAN interfaces in a software environment.
  • Page 20: Can Monitor Pcan-View

    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. 6 CAN Monitor PCAN-View PCAN-USB User Manual 3.0.0 © 2022 PEAK-System Technik GmbH...
  • Page 21: Can Interface Initialize

    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. 6 CAN Monitor PCAN-View PCAN-USB User Manual 3.0.0 © 2022 PEAK-System Technik GmbH...
  • Page 22 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. 6 CAN Monitor PCAN-View PCAN-USB User Manual 3.0.0 © 2022 PEAK-System Technik GmbH...
  • Page 23: Transmit Can Message

    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. 6 CAN Monitor PCAN-View PCAN-USB User Manual 3.0.0 © 2022 PEAK-System Technik GmbH...
  • Page 24: Additional Tabs

    6.3.1 Trace Tab 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. 6 CAN Monitor PCAN-View PCAN-USB User Manual 3.0.0 © 2022 PEAK-System Technik GmbH...
  • Page 25 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. 6 CAN Monitor PCAN-View PCAN-USB User Manual 3.0.0 © 2022 PEAK-System Technik GmbH...
  • Page 26 6.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. 6.3.4 Error Generator Tab 6 CAN Monitor PCAN-View PCAN-USB User Manual 3.0.0 © 2022 PEAK-System Technik GmbH...
  • Page 27 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 ■ 6 CAN Monitor PCAN-View PCAN-USB User Manual 3.0.0 © 2022 PEAK-System Technik GmbH...
  • Page 28 4. Determine the Number of Frames to destroy. 5. Confirm the entries with Apply to activate the error generator. 6. Stop destroying further CAN frames with Disable. 6 CAN Monitor PCAN-View PCAN-USB User Manual 3.0.0 © 2022 PEAK-System Technik GmbH...
  • Page 29: Api Pcan-Basic

    The programming interface (API) PCAN-Basic provides basic functions for the connection of own programs to the CAN-Interface 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).
  • Page 30: Features Of Pcan-Basic

    ■ Windows 11, 10 (32/64-bit) ■ Linux (32/64-bit) ■ Multiple PEAK-System applications and your own can be operated on a physical ■ channel at the same time Single DLL (Win) / SO (Linux) for all supported hardware types ■ Use of up to 16 channels for each hardware type ■...
  • Page 31: Principle Description Of The Api

    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. 7 API PCAN-Basic PCAN-USB User Manual 3.0.0 © 2022 PEAK-System Technik GmbH...
  • Page 32: Technical Specifications

    75 x 43 x 22 mm Size (w/o cable) PCAN-USB opto: 87 x 43 x 22 mm Length (connection cable) approx. 0.75 m PCAN-USB: 78 g Weight (with cable) PCAN-USB opto: 83 g 8 Technical Specifications PCAN-USB User Manual 3.0.0 © 2022 PEAK-System Technik GmbH...
  • Page 33 IP20 Conformity RoHS EU Directive 2011/65/EU (RoHS 2) + 2015/863/EU DIN EN IEC 63000:2019-05; VDE 0042-12:2019-05 EU Directive 2014/30/EU DIN EN 55024:2016-05; VDE 0878-24:2016-05 DIN EN 55032:2016-02; VDE 0878-32:2016-02 8 Technical Specifications PCAN-USB User Manual 3.0.0 © 2022 PEAK-System Technik GmbH...
  • Page 34: Appendix A Ce Certificate

    Appendix A CE Certificate Appendix A CE Certificate PCAN-USB User Manual 3.0.0 © 2022 PEAK-System Technik GmbH...
  • Page 35: Appendix B Dimension Drawings

    Appendix B Dimension Drawings PCAN-USB PCAN-USB opto-decoupled Appendix B Dimension Drawings PCAN-USB User Manual 3.0.0 © 2022 PEAK-System Technik GmbH...
  • Page 36 The LED on the interface then is lit. Check the operational readiness. Open the Windows Start menu. Type Peak Settings and press |Enter|. The window PEAK Settings appears. The connected USB interface is displayed under CAN Hardware. Getting Started under Windows Run the CAN monitor PCAN-View from the Windows Start menu as a sample application for accessing the CAN interface.
  • Page 37 Appendix D Linux Depending on the Kernel version, device drivers for the CAN interfaces from PEAK- System are already included in the operating system. The CAN interfaces are treated as network devices (SocketCAN, netdev). You can find the documentation for SocketCAN under: https://www.kernel.org/doc/Documentation/networking/can.txt...

This manual is also suitable for:

Ipeh-002021Ipeh-002022

Table of Contents