Advertisement

Quick Links

PCAN-M.2
User Manual
User Manual 2.0.1
© 2022 PEAK-System Technik GmbH

Advertisement

Table of Contents
loading

Summary of Contents for Peak PCAN-M.2

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

    Four CAN channels, galvanic isolation for CAN PCAN-M.2 Quad Channel IPEH-004085 connection The cover picture shows the product PCAN-M.2 Double Channel as format 2280 (left) and as format 2260 (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.
  • Page 3: Table Of Contents

    5 API PCAN-Basic 5.1 Features of PCAN-Basic 5.2 Principle Description of the API 6 Technical Data Appendix A CE Certificate Appendix B Dimension Drawings Appendix C Quick Reference Appendix D Linux Contents PCAN-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 4: Introduction

    1 Introduction The CAN interface PCAN-M.2 for an M.2 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.
  • Page 5: Properties At A Glance

    ■ 1.2 System Requirements Computer with: Operating system Windows® 11 (64 bit), 10 (32/64 bit) or Linux (32/64-bit) ■ M.2 2280 or M.2 2260 slot with PCIe lane ■ 1 Introduction PCAN-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 6: Scope Of Supply

    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-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 7: Installation

    2 Installation This chapter covers the software setup for the CAN interface PCAN-M.2 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.
  • Page 8: Connect 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 Installation PCAN-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 9: Check Operational Readiness

    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-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 10: Connecting The Can Bus

    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-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 11 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 support@peak-system.com. 3 Connecting the CAN Bus PCAN-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 12: Internal Termination

    The termination prevents interfering signal reflections and ensures the proper operation of the transceivers of the connected CAN nodes (CAN interfaces, control devices). 3.4.2 Example of a Connection 3 Connecting the CAN Bus PCAN-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 13: Example Application Under Windows

    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-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 14: 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. 4 CAN Monitor PCAN-View PCAN-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 15: 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. 4 CAN Monitor PCAN-View PCAN-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 16 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-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 17: 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. 4 CAN Monitor PCAN-View PCAN-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 18: Additional Tabs

    4.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. 4 CAN Monitor PCAN-View PCAN-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 19 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-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 20 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-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 21 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-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 22 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. 4 CAN Monitor PCAN-View PCAN-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 23: 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 24: Features Of Pcan-Basic

    Windows® 11 (64 bit), 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 ■...
  • Page 25: 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. 5 API PCAN-Basic PCAN-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 26: Technical Data

    Time stamp resolution 1 µs Galvanic isolation up to 300 V, separate for each CAN connector Not activated at delivery. Internal Termination Soldering manual on request: support@peak-system.com Not activated at delivery. Daisy Chain Soldering manual on request: support@peak-system.com Power supply Single Channel 450 mA Max.
  • Page 27 Relative humidity 15 to 90 %, not condensing Conformity Directive 2011/65/EU (RoHS 2) + 2015/863/EU RoHS DIN EN IEC 63000:2019-05;VDE 0042-12:2019-05 Directive 2014/30/EU EN 55024:2016-05;VDE 0878-24:2016-05 EN 55032:2016-02;VDE 0878-32:2016-02 6 Technical Data PCAN-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 28: Appendix A Ce Certificate

    Appendix A CE Certificate Appendix A CE Certificate PCAN-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 29: Appendix B Dimension Drawings

    Appendix B Dimension Drawings Dimensions in mm of PCAN-M.2 Single Channel and Double Channel. Dimensions in mm of PCAN-M.2 Quad Channel. * shortened length ** Formfactor not fulfilled on upper side Appendix B Dimension Drawings PCAN-M.2 User Manual 2.0.1 © 2022 PEAK-System Technik GmbH...
  • Page 30: Appendix C Quick Reference

    Install the driver before you install the CAN interface. Turn off the computer and insert the PCAN-M.2 into an available M.2 slot (using PCIe lane). If you do not have an M.2-2280 slot, you can shorten the card to 2260 format. To do this, carefully break the back of the card along the predetermined breaking point.
  • Page 31: Appendix D Linux

    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-004083Ipeh-004084Ipeh-004085

Table of Contents