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
.
User manual CG-ARM7/ RMD
Document version: 2.00
Documentation date: June 22nd, 2005
No part of this document or the software described herein may
be reproduced in any form without prior written agreement
from EMS Dr. Thomas Wünsche.
For technical assistance 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 components.
CAN/CAN - Gateway CG-ARM7/RMD
ii User Manual
Table of contents
1 Overview .....................1
1.1 Features .....................1
1.2 General description................1
1.3 Ordering information ...............1
2 Handling .....................2
2.1 Connection ....................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
1 Overview
1.1 Features
• Connection of two physically separated
CAN networks
•
Filtering and mapping of identifiers
•
Bus activity displayed by LED
•
Gateway configuration via RS232 or CAN
•
Wiring using a multiway connector
1.2 General description
The CAN/CAN gateway CG-ARM7 connects
two physically divided CAN networks. The capability of having individual 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 format,
programming and administration is very easy.
1.3 Ordering information
12-20-401-10 CG-ARM7/RMD
CG-ARM7/RMD CAN/CAN - Gateway
User Manual 1
2 Handling
2.1 Connection
The CG-ARM7 possesses a multiway connector for flexible wiring of the CAN interfaces and
the power supply. The RS232 interface on the
device is used for programming and for the
output of diagnostic information. For normal
operation it is not required.
The connector assignment of the multiway
connector and the RS232 interface is located
in chapter “3.1 Pin assignment” 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 completed successfully, the green power LED lites up
permantly.
Important note: Ex factory the device offers
no configuration and must be configured before it is first run. Configuration instructions for
the gateway are located in chapter “2.3 Configuration”.
2.3 Configuration
The gateway configuration process consists of
two steps:
•
Creating a configuration file
CAN/CAN - Gateway CG-ARM7/RMD
2 User Manual
•
Storing the configuration file into the
gateway
2.3.1 Configuration file
The configuration file is a text file with the extension *.gcf. This file holds all data needed by
the gateway for operation. A complete sample
configuration is located in chapter “4.1 Configuration file”.
The values can either be entered in decimal or
hexadecimal notation. Using the hexadecimal
notation, put the character “x” directly before
the particular value.
There are two 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 identified.
In the following all parameters are listed and
described.
# comment
The configuration file can be provided with
comments. Comments are prefaced with the
character “#” and they end with the particular
line.
CG-ARM7/RMD CAN/CAN - Gateway
User Manual 3
Example:
# 1st comment
key = value # 2nd comment
version
version
The gateway requires a version number to
identify the programmed configuration. The
version number for the CG-ARM7 standard
version is 1. This key must exist in each configuration file.
Important: The version is not the version of
the configuration! The version display what
kind of configuration is 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 baudrate 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 baudrate settings. The basic can clock is 48 MHz.
Example:
# CAN channel 1: 1Mbit/s
btr1 = x00140005
# CAN channel 2: 500KBit/s
btr2 = x001C0005
CAN/CAN - Gateway CG-ARM7/RMD
4 User Manual