Peak PCAN-Router FD User Manual

Universal, programmable converter for can fd and can
Hide thumbs Also See for PCAN-Router FD:

Advertisement

Quick Links

PCAN-Router FD
Universal, programmable Converter
for CAN FD and CAN
User Manual
Document version 1.0.1 (2017-01-27)

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Peak PCAN-Router FD

  • Page 1 PCAN-Router FD Universal, programmable Converter for CAN FD and CAN User Manual Document version 1.0.1 (2017-01-27)
  • Page 2 Copyright © 2017 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.
  • Page 3: Table Of Contents

    PCAN-Router FD – User Manual Contents Introduction Properties at a Glance Prerequisites for Operation Scope of Supply Connectors D-Sub Connectors (IPEH-002214) Screw terminal strip (IPEH-002215) Hardware Configuration 4-Bit Coding Supply of External Devices via the D-Sub Connector Two Additional Digital Inputs...
  • Page 4 PCAN-Router FD – User Manual Appendix A CE Certificate Appendix B Dimension Drawings...
  • Page 5: Introduction

    PCAN-Router FD – User Manual Introduction The PCAN-Router FD has two CAN channels that support the new CAN FD standard in addition to the conventional CAN 2.0 specifica- tion. The module behavior and the data exchange between the two channels are freely programmable. Thus, for example, a conversion of CAN to CAN FD and vice versa is possible and new CAN FD applications can be integrated into existing CAN 2.0 networks.
  • Page 6: Prerequisites For Operation

     CAN interface of the PCAN series for the computer (e.g. PCAN-USB)  Operating system Windows 10, 8.1, 7 (32-/64-bit) Scope of Supply PCAN-Router FD in aluminum casing (optionally with DIN rail mounting) IPEH-002215: mating connector (Phoenix) Windows development software (toolchain with GCC ARM...
  • Page 7: Connectors

    The two D-Sub connectors are used for the CAN FD channels CAN1 and CAN2. The CAN lines (CAN_H, CAN_L) are laid out correspon- ding to the CiA® 303-1 specification. The power supply of the PCAN-Router FD can be done via both D- Sub connectors. The supply connections U and U are connected internally in a non-reactive configuration.
  • Page 8 PCAN-Router FD – User Manual Pin distribution D-Sub connector CAN1 Identifier Function +5V opt. 5-Volt supply external device (optional, see below) CAN1_L CAN FD channel 1 Low Ground RxD (Din1) RS-232 RxD (alternative digital input Din1 Shield Shield Boot Activation CAN bootloader (High level)
  • Page 9: Screw Terminal Strip (Ipeh-002215)

    PCAN-Router FD – User Manual Screw terminal strip (IPEH-002215) Terminal Identifier Function Power supply 8 - 30 V DC Ground CAN1_L CAN FD channel 1 Low CAN1_H CAN FD channel 1 High CAN2_L CAN FD channel 2 Low CAN2_H CAN FD channel 2 High...
  • Page 10: Hardware Configuration

    Afterwards, assemble the components in reverse order. 4-Bit Coding The circuit board of the PCAN-Router FD has four coding solder fields (ID0 to ID3) in order to allocate a permanent status to the...
  • Page 11 ID is conceivable here. For a firmware upload via CAN the PCAN-Router FD is identified by a 4-bit ID which is determined by the solder jumpers (default setting: ID15, all solder fields open).
  • Page 12: Supply Of External Devices Via The D-Sub Connector

    Sub Connector Only product model IPEH-002214 (D-Sub connectors) On the circuit board of the PCAN-Router FD, a 5-Volt supply can optionally be routed to each pin 1 of the D-Sub connectors CAN1 and CAN2. Thus, devices with low power consumption (e.g. bus converters) can be directly supplied via the CAN connector.
  • Page 13: Two Additional Digital Inputs

    PCAN-Router FD – User Manual Two Additional Digital Inputs Instead of the preset serial RS-232 interface for the serial data transmission, two additional digital inputs (Din1, Din2) can be assigned to the corresponding pins or screw terminals . This is done by moving two 0-Ohm resistors (alternatively solder jumpers).
  • Page 14: Termination Of The Can Busses

    PCAN-Router FD – User Manual Termination of the CAN Busses If the PCAN-Router FD is connected to one end of a CAN bus and if there's no termination of the CAN bus yet, an internal termination with 120  between the lines CAN_H and CAN_L can be activated.
  • Page 15: Startup Procedure

    PCAN-Router FD – User Manual Startup Procedure The PCAN-Router FD is activated by applying the supply voltage to Connectors the respective connectors (see chapter 2 on page 7). The firmware in the flash memory is subsequently run. On delivery, the PCAN-Router FD is equipped with an example firmware which forwards CAN messages 1:1 between both CAN FD channels (CAN FD ISO, 500 kbit/s nominal, 4 Mbit/s data).
  • Page 16: Software

    Start the setup program for GCC ARM Embedded (gcc-arm-none-eabi-*.exe) and follow its instructions. Make sure that you enable the option Add path to environment variable on the last page. Afterwards, start the setup program for PEAK-System Make Utilities (PEAK-MakeUtils*.exe) and follow its instructions.
  • Page 17: Library

    Library The development of applications for the PCAN-Router FD is suppor- ted by the library libPCAN-Router_FD_*.a (* stands for version number), a binary file. You can access all resources of the PCAN- Router FD by means of this library.
  • Page 18: Compiling A Firmware Example

    PCAN-Router FD – User Manual 5.3.1 Compiling a Firmware Example Do the following to compile a firmware example under Windows: From the provided DVD, copy the subdirectory of the desired example from the Example directory to the local hard disk.
  • Page 19: Uploading Firmware Via Can

    Router FD with proper termination (120  on each end of the CAN bus) Operating system Windows 10, 8.1, 7 (32-/64-bit) If you want to update several PCAN-Router FD connected to the same CAN bus, you must assign a unique ID to each router. See 4-Bit Coding section 3.1...
  • Page 20 This measure later applies the “Boot” connection with a High level. Connect a CAN bus of the PCAN-Router FD with a CAN interface connected to the computer. Pay attention to the proper termination of the CAN cabling (2 x 120 ).
  • Page 21: Sending The Firmware

    PCAN-Router FD – User Manual Sending the Firmware The process of uploading new firmware to the PCAN-Router FD is as follows: Ensure that a connection is established between the “Boot” and “U ”, “U ”, or “U ” connections of the PCAN-Router FD (details: see above).
  • Page 22 PCAN-Router FD – User Manual Click on the … button next to the File name field in order to select the desired firmware file (*.bin) to be uploaded. Click on the OK button. Make sure that the PCAN-Flash program is connected with 500 kbit/s to the available CAN interface at the computer.
  • Page 23 Click the (Detect) button in order to detect the PCAN- Router FD connected to the CAN bus. An entry for the PCAN-Router FD appears in the main window. 10. Select the entry for the PCAN-Router FD.
  • Page 24 12. Disconnect the power supply from the PCAN-Router FD. 13. At the PCAN-Router FD, disconnect the connection between “Boot” and the power supply (“U ”, “U ”, or “U ”). You can now use the PCAN-Router FD with the new firmware.
  • Page 25: Technical Specifications

    PCAN-Router FD – User Manual Technical Specifications Functionality Microcontroller Microcontroller NXP LPC4078 (ARM Cortex M4 with FPU, 120 MHz) Add-on memory 4 kByte, EEPROM 4 MByte SPI Flash 2 x CAN FD (ISO, non-ISO, CAN 2.0) CAN bit rates Arbitration phase:...
  • Page 26 PCAN-Router FD – User Manual Environment Operating temperature -40 - +85 °C (-40 - +185 °F) Temperature for storage -40 - +100 °C (-40 - +212 °F) and transport Relative humidity 15 - 90 %, not condensing Directive 2014/30/EU EN 61326-1:2013-07...
  • Page 27 PCAN-Router FD – User Manual Appendix A CE Certificate...
  • Page 28 PCAN-Router FD – User Manual Appendix B Dimension Drawings The figures do not show the original size.

Table of Contents