background image

CAN/CAN-Gateway

CG-ARM7/RMD

User Manual

EMS

THOMAS WÜNSCHE

Sonnenhang 3
D-85304 Ilmmünster
Tel +49-8441-490260
Fax +49-8441-81860

.

Summary of Contents for CG-ARM7

Page 1: ...CAN CAN Gateway CG ARM7 RMD User Manual EMS THOMAS WÜNSCHE Sonnenhang 3 D 85304 Ilmmünster Tel 49 8441 490260 Fax 49 8441 81860 ...

Page 2: ...ance please contact EMS Dr Thomas Wünsche Sonnenhang 3 D 85304 Ilmmünster Tel 49 8441 490260 Fax 49 8441 81860 Our products are continuously improved Due to this fact specifications may be changed at any time and without announcement WARNING EMS hardware and software may not be used in applications where damage to life health or private property may result from failures in or caused by these compo...

Page 3: ...n 2 2 2 Operation 2 2 3 Configuration 2 2 3 1 Configuration file 3 2 3 2 Programming the device 9 2 4 Display 12 3 Technical specifications 14 3 1 Pin assignment 14 3 2 Limiting values 15 3 3 Nominal values 15 4 Appendix 16 4 1 Configuration file sample 16 4 2 Standard baudrates 17 CG ARM7 RMD CAN CAN Gateway User Manual iii ...

Page 4: ...ividual baudrates on both segments enables routing between them The filtering of single identifiers or ranges of identifiers lessens the busload The mapping of single or ranges of identifiers qualifies CG ARM7 to be used under difficult higher level protocol conditions The device is configured via serial interface or via CAN network Due to the intuitive structure of the configuration file in ASCII...

Page 5: ...nt in this manual or on your devices front panel 2 2 Operation To start up the gateway just connect the power supply the device starts automatically As soon as the automatic diagnostics is comple ted successfully the green power LED lites up permantly Important note Ex factory the device offers no configuration and must be configured befo re it is first run Configuration instructions for the gatew...

Page 6: ...o types of parameters general parameters and routing settings General parameters include operating information for the gateway Routing settings are used for mapping and filtering of identifiers Some parameters are optional If they are not defined the gateway uses default settings Simultaneous programming of several devices is not possible It must be guaranteed that each device can be clearly ident...

Page 7: ...s be loaded Example version 1 btr bit timing The bit timing key indicates the speed of the particular CAN channel BTR1 indicates the baud rate for CAN channel 1 BTR2 the baud rate for CAN channel 2 Both keys must exist in each configuration file This keys are directly related to the CANBTR registers of the used controller LPC2119 This allows most flexible customization of the baud rate settings Th...

Page 8: ... gateway The key pidout defines the identifier which the gate way uses to reply to the configuration software For CAN channel 1 and CAN channel 2 diffe rent PIDs can be set But it is also possible to program the gateway just via one CAN chan nel To set the wanted identifiers for CAN channel 1 use the keys pidin1 and pidout1 For CAN channel 2 use the keys pidin2 and pidout2 To use a 29 bit identifi...

Page 9: ...nfiguration deviceid device id During the configuration process via CAN the device has to be uniquely selected in the net work This process is based on the serial num ber of the device If there is the need to have the configuration process independent of the serial number a device id can be assigned Then the identifica tion of the device depends on the device id and not on the serial number Care m...

Page 10: ...is not defined or the value is set to 0 password protection is disabled The password is an up to 14 digit hexadecimal value The password protection supports two security levels For the highest security level the highest bit 56th bit of the password must be set to 1 This security level prevents any communicati on with the gateway if the device has not been unlocked with the correct password before ...

Page 11: ...e set within the filtering rules Key structure Different from the basic keys the routing key is constructed in a more complex way The key specifies 3 criteria inff fil channel outff 1 inff Defines the frame format for incoming messages The frame format for incoming messages spe cifies whether the filtering rule is applied to standard or extended messages If inff is set to s standard frame format i...

Page 12: ...pplied to If a range of identifiers is defined sid is the start identifier If the prefix x is before the va lue the identifier is interpreted as a hexadeci mal number 2 eid Defines the end identifier for ranges of identifiers If no range of identifiers is used the value is not needed If the prefix x is before the value the identifier is interpreted as a hexadecimal number 3 mid Defines the mapping...

Page 13: ...0x01 xfil2x x1FFFFFFF x1 The via CAN channel 1 received standard identifiers in the range of 0x100 to 0x200 are sent via CAN channel 2 as standard identifiers in the range of 0x100 to 0x200 sfil1s x100 x200 2 3 2 Programming the device CG ARM7 is programmed by means of the configuration software It offers the possibility to configure the gateway via serial connection or via CAN For the configurati...

Page 14: ...ect to the CG ARM7 has to be chosen If you have selected RS232 as interface before you set up the COM interface here If you have chosen CAN you select your CAN interface here Speed can only be selected when a connecti on via CAN has been made Choose a stan dard baudrate compliant to the CiA or choose Custom to insert a user defined setting Your selected baudrate must be the same as the baudrate of...

Page 15: ...he configu ration you want to write to the gateway Remove configuration from device This process deletes the current confi guration on the CG ARM7 Afterwards the gateway is in delivery state again It is not needed to delete the configuration before a new one is programed as this is done automatically Read device information Here information about the gateway and the configuration within can be rea...

Page 16: ...cit identification If you use only one gateway in the network you can also ins cribe the value 0 here Never use the value 0 if there are more than one CG ARM7 gate ways in the network Starting the download To start the download process press start The operation may take a while do not disconnect the power supply to the device during the con figuration process At that time the routing functionality...

Page 17: ...g The device is in programming mode Routing of CAN messages is disabled CAN 1 Active On There is bus activity on CAN 1 CAN 2 Active On There is bus avtivity on CAN 2 CAN CAN Gateway CG ARM7 RMD 14 User Manual ...

Page 18: ...AN1 High Buswire 5 CAN1 L CAN1 Low Buswire 6 GND Ground 7 CAN2 H CAN2 High Buswire 8 CAN2 L CAN2 Low Buswire Internal connected Pin assignment RS232 Pin Signal Description 1 not connected 2 RxD Receive signal 3 TxD Transmit signal 4 not connected 5 GND Ground 6 not connected 7 RTS not used 8 CTS not used 9 not connected CG ARM7 RMD CAN CAN Gateway User Manual 15 ...

Page 19: ...pply voltage 100 30 V Note With respect to methods of measurement it is not possible to have ESD protection circuits at the CAN terminals ESD protection on this ter minals is determined by the ESD capability of the used CAN transceiver Philips 82C251 3 3 Nominal values Parameter Min Max Unit Supply voltage 10 30 V Baudrates 10 1000 kBit s CAN CAN Gateway CG ARM7 RMD 16 User Manual ...

Page 20: ... ID deviceid 120000 Set bus off recovery time to 1000 ms busoff 1000 Password protection security level normal password 11 AA 33 BC Configuration name name router Program identifier CAN channel 1 pidin1 x1 Standard identifier 0x01 xpidout1 x2 Extended identifier 0x02 Program identifier CAN channel 2 xpidin2 x10 Extended identifier 0x10 xpidout2 x20 Extended identifier 0x20 Filter settings CG ARM7 ...

Page 21: ...as extended identifiers to CAN channel 2 xfil1x x0 x1FFFFFFF All extended identifiers form CAN channel 2 are sent as extended identifiers to CAN channel 1 xfil2x x0 x1FFFFFFF 4 2 Standard baudrates Speeds recommended by CIA Baudrate Bit Timing Register 1000 kbps 0x00140005 800 kbps 0x00160005 500 kbps 0x001C0005 250 kbps 0x001C000B 125 kbps 0x001C0017 100 kbps 0x001C001D 50 kbps 0x001C003B 20 kbps...

Page 22: ...THIS PAGE INTENTIONALLY LEFT BLANK CG ARM7 RMD CAN CAN Gateway User Manual 19 ...

Reviews: