background image

 

Universal, programmable Converter 
for CAN FD and CAN 

User Manual 

PCAN-Router FD 

Document version 1.0.1 (2017-01-27) 

Содержание PCAN-Router FD

Страница 1: ...Universal programmable Converter for CAN FD and CAN User Manual PCAN Router FD Document version 1 0 1 2017 01 27 ...

Страница 2: ... marked by and 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 The general business conditions and the regulations of the license agreement apply All ...

Страница 3: ...1 4 Bit Coding 10 3 2 Supply of External Devices via the D Sub Connector 12 3 3 Two Additional Digital Inputs 13 3 4 Termination of the CAN Busses 14 4 Startup Procedure 15 5 Software 16 5 1 Installing the GNU ARM Toolchain 16 5 2 Library 17 5 3 Firmware Examples 17 5 3 1 Compiling a Firmware Example 18 6 Uploading Firmware via CAN 19 6 1 System Requirements 19 6 2 Preparing Hardware and Software ...

Страница 4: ...PCAN Router FD User Manual 4 Appendix A CE Certificate 27 Appendix B Dimension Drawings 28 ...

Страница 5: ...or C and C a firmware is created and then transferred to the module via CAN On delivery the PCAN Router FD is using a demo firmware whose source code is contained as example in the scope of supply 1 1 Properties at a Glance Microcontroller NXP LPC4078 ARM Cortex M4 with FPU 120 MHz 4 kByte On Chip EEPROM 4 MByte SPI Flash Two CAN FD channels protocols CAN FD ISO CAN FD non ISO CAN 2 0 A B CAN bit ...

Страница 6: ...d via CAN interface 1 2 Prerequisites for Operation Power supply in the range of 8 to 30 V DC For uploading a new firmware via CAN CAN interface of the PCAN series for the computer e g PCAN USB Operating system Windows 10 8 1 7 32 64 bit 1 3 Scope of Supply PCAN Router FD in aluminum casing optionally with DIN rail mounting IPEH 002215 mating connector Phoenix Windows development software toolchai...

Страница 7: ...rnative to RS 232 must be configured via hardware see chapter 3 on page 10 Boot input for activation of the CAN bootloader for firmware upload see chapter 6 on page 19 The following subsections describe each connector assignment 2 1 D Sub Connectors IPEH 002214 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 3...

Страница 8: ...tloader High level 7 CAN1_H CAN FD channel 1 High 8 TxD Din2 RS 232 TxD alternative digital input Din21 9 Ub1 Power supply 8 30 V DC CAN2 Pin Identifier Function 1 5V opt 5 Volt supply external device optional see below 2 CAN2_L CAN FD channel 2 Low 3 GND GND 4 Not used 5 Shield Shield 6 Not used 7 CAN2_H CAN FD channel 2 High 8 Din0 Dout Digital input Din0 digital output Dout 600 mA 9 Ub2 Power s...

Страница 9: ...N1_H CAN FD channel 1 High 5 CAN2_L CAN FD channel 2 Low 6 CAN2_H CAN FD channel 2 High 7 Boot Activation CAN bootloader High level 8 Din0 Dout Digital input Din0 digital output Dout 600 mA 9 RxD Din1 RS 232 RxD alternative digital input Din12 10 TxD Din2 RS 232 TxD alternative digital input Din22 2 For the corresponding hardware configuration see section 3 3 on page 13 ...

Страница 10: ...ostatic discharge ESD can damage or destroy components on the circuit board Take precautions to avoid ESD when handling the circuit board 1 Remove the screws from both sides of the PCAN Router FD casing With the D Sub version in addition remove the screws besides one of the D Sub connectors 2 Pull the circuit board out of the casing profile 3 Set the solder jumper s on the circuit board according ...

Страница 11: ...he status at the corresponding ports of the microcontroller For example the activation of certain functions of the firmware or the coding of an 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 Solder field ID0 ID1 ID2 ID3 Binary digit 0001 0010 0100 1000 Decimal ...

Страница 12: ...ted 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 The current consumption may not exceed 100 mA per connector Position of the solder fields for the supply of external devices for D Sub connector CAN1 on the left for CAN2 on the right 5 Volt supply D Sub connector None Default Pin 1 CAN1 ...

Страница 13: ...ing pins or screw terminals3 This is done by moving two 0 Ohm resistors alternatively solder jumpers Position of the solder fields for switching between RS 232 and Din pre equipped with 0 Ohm resistors Function for pins screw terminals Positions of the solder jumpers or 0 Ohm resistors RS 232 RxD RS 232 TxD Default Din1 Din2 3 D Sub connectors see section 2 1 on page 7 Screw terminal strip see sec...

Страница 14: ... termination of the CAN bus yet an internal termination with 120 between the lines CAN_H and CAN_L can be activated Termination is possible independently for both CAN channels Position of the solder fields for the termination of the CAN bus CAN1 on the left CAN2 on the right CAN Channel Without termination Default With termination CAN1 CAN2 ...

Страница 15: ... 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 An inco ming CAN message causes a change between green and orange of the LED status indication for the respective CAN channel The source code for the example firmware 1_ROUTING and further examples is included on the supplied DVD in the following directory ...

Страница 16: ...ompu ter The toolchain is collection of tools to develop applications for ARM processors and corresponding microcontrollers on Windows platforms The collection includes a compiler for C and C as well as Make utilities System requirement Windows 10 8 1 7 32 64 bit Proceed as follows to install the toolchain 1 From the directory branch on the provided DVD mentioned above change to the Compiler subdi...

Страница 17: ...D by means of this library Die library is documented in the header files h which are located in the inc subdirectory of each example directory 5 3 Firmware Examples On the DVD the Example subdirectory contains source code for several firmware examples that you can use and test directly and that you can reuse for custom firmware On delivery the PCAN Router FD is equipped with the example firmware 1...

Страница 18: ...y combination R and enter cmd exe as program to be executed 3 At the command prompt change to the previously copied directory 4 Execute the following command in order to clean up the target directories e g out from files that have been generated earlier make clean 5 Execute the following command to compile the firmware example make all If the compiler has finished without errors Errors none you ca...

Страница 19: ...ed with new firmware CAN interface of the PCAN series for the computer e g PCAN USB CAN cabling between the CAN interface and the PCAN 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 section 3 1 4 Bit Coding on page 1...

Страница 20: ...bling 2 x 120 Attention Risk of short circuit A CAN cable with D Sub connectors must not have a connection on pin 6 as it can be seen on 1 1 cables for example At other CAN nodes e g a CAN interface of the PCAN series this line may be applied to the mass Damage or destruction of the electronics is a possible consequence Perform the following steps for preparation of the software 1 On the supplied ...

Страница 21: ...Switch on the PCAN Router FD by applying a supply voltage Due to the High level at the Boot connection the PCAN Router FD starts the CAN bootloader This can be deter mined by the status LEDs LED State Color CAN1 quickly blinking orange CAN2 on orange 3 Run the program PcanFlash exe under Windows from the local hard drive 4 Click on the Options button in order to call up the dialog box 5 From the H...

Страница 22: ...ield in order to select the desired firmware file bin to be uploaded 7 Click on the OK button 8 Make sure that the PCAN Flash program is connected with 500 kbit s to the available CAN interface at the computer PCAN Flash Display of a connection in the status bar on the bottom ...

Страница 23: ...utton in order to change the selection in the according dialog box 9 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 ...

Страница 24: ...us indication at the bottom of the window The process was successful if the last message to appear is Flashing of module s finished 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 Ub1 Ub2 or Ub You can now use the PCAN Router FD with the new firmware ...

Страница 25: ...al inputs Din Low active max level Ub Digital output Dout Low side max 600 mA Status indication 2 duo LEDs Connectors IPEH 002214 2 x D Sub connector 9 pin assignment according to specification CiA 303 1 IPEH 002215 1 x screw terminal strip 10 pole pitch 3 81 mm Phoenix Contact MC 1 5 10 ST 3 81 1803659 Power supply Supply voltage Ub 8 30 V DC Current consumption max 150 mA at 8 V max 100 mA at 12...

Страница 26: ... 26 Environment Operating temperature 40 85 C 40 185 F Temperature for storage and transport 40 100 C 40 212 F Relative humidity 15 90 not condensing EMC Directive 2014 30 EU EN 61326 1 2013 07 Ingress protection IEC 60529 IP20 ...

Страница 27: ...PCAN Router FD User Manual 27 Appendix A CE Certificate ...

Страница 28: ...PCAN Router FD User Manual 28 Appendix B Dimension Drawings The figures do not show the original size ...

Отзывы: