Vector CANcaseXL Manual
Vector CANcaseXL Manual
CANcaseXL
CANcaseXL log
Version 5.1
English
The information and data given in this user manual can be changed without prior notice. No part of this manual may be reproduced in
any form or by any means without the written permission of the publisher, regardless of which method or which instruments, electronic
or mechanical, are used. All technical information, drafts, etc. are liable to law of copyright protection.
Copyright 2013, Vector Informatik GmbH. Printed in Germany.
All rights reserved.
Art. 80082
Table of contents
1 Introduction 3
1.1 About this User Manual 4
1.1.1 Certification 5
1.1.2 Warranty 5
1.1.3 Registered trademarks 5
3 CANcaseXL/log Accessories 17
3.1 Accessories 18
4 Common Features 19
4.1 Time Synchronization 20
4.1.1 General Information 20
4.1.2 Software Sync 22
4.1.3 Hardware Sync 23
5 Driver Installation 25
5.1 Minimum Requirements 26
5.2 Hints 26
5.3 Vector Driver Setup 27
5.4 Vector Hardware Configuration 29
5.5 Loop Tests 31
5.5.1 CAN 31
5.5.2 FlexRay 34
5.5.3 MOST 35
5.5.4 Ethernet 35
1 Introduction
To find information This user manual provides you with the following access help:
quickly At the beginning of each chapter you will find a summary of the contents
In the header you can see in which chapter and paragraph you are
Conventions In the two following charts you will find the conventions used in the user manual
regarding utilized spellings and symbols.
Style Utilization
bold Blocks, surface elements, window- and dialog names of the
software. Accentuation of warnings and advices.
[OK] Push buttons in brackets
File|Save Notation for menus and menu entries
Microsoft Legally protected proper names and side notes.
Source Code File name and source code.
Hyperlink Hyperlinks and references.
<CTRL>+<S> Notation for shortcuts.
Symbol Utilization
Here you can obtain supplemental information.
1.1.1 Certification
Certified Quality Vector Informatik GmbH has ISO 9001:2008 certification. The ISO standard is a
Management System globally recognized standard.
1.1.2 Warranty
Restriction of We reserve the right to change the contents of the documentation and the software
warranty without notice. Vector Informatik GmbH assumes no liability for correct contents or
damages which are resulted from the usage of the documentation. We are grateful for
references to mistakes or for suggestions for improvement to be able to offer you
even more efficient products in the future.
Registered All trademarks mentioned in this documentation and if necessary third party
trademarks registered are absolutely subject to the conditions of each valid label right and the
rights of particular registered proprietor. All trademarks, trade names or company
names are or can be trademarks or registered trademarks of their particular
proprietors. All rights which are not expressly allowed are reserved. If an explicit label
of trademarks, which are used in this documentation, fails, should not mean that a
name is free of third party rights.
Windows, Windows XP, Windows Vista, Windows 7 are trademarks of the
Microsoft Corporation.
2.1 Introduction
CANcaseXL The CANcaseXL is a USB interface with a powerful 32 bit 64MHz microcontroller from
ATMEL with ARM7 Core and two SJA1000 CAN controllers from Philips. It can
process CAN messages with either 11-bit or 29-bit identifiers. It is also possible to
receive and analyze Remote Frames without any limitations. The CANcaseXL is also
capable of generating and detecting Error frames on the bus.
CANcaseXL log The CANcaseXL log offers the same features as the CANcaseXL, but it can also be
used as a data logger for CAN and LIN messages. The logged data is saved on
industrial-grade SD cards (see section Memory Card on page 12).
Configuration The CANcaseXL/log can be configured with the Vector Hardware Config tool
(Windows | Start | Settings | Control Panel | Vector Hardware). Further details
about the tool can be found in the separate installation instructions at the end of this
manual.
Bus types Various transceivers are available to interface the CANcaseXL/log to a particular type
of bus. These CAN and LIN transceivers can be purchased as plug-in boards
(Piggybacks) and can be mounted inside the CANcaseXL/log. For information on
installing transceivers please refer to section Replacing Piggybacks on page 15. A
list of available Piggybacks is included in the accessories manual on the driver CD:
\Documentation\Accessories_for_Network_Interfaces.pdf
Note: Information on the driver installation process can be found in the separate
installation instructions at the end of this manual.
2.3 Connectors
Note: In Interface Mode, the SD card cannot be accessed if bus activities take
place or if an application accesses the device.
Description The CANcaseXL/log is connected to an USB port which also supplies the
CANcaseXL/log in Interface Mode.
Description If the USB port is not capable of supplying the required 500 mA operating current, the
CANcaseXL/log may be optionally supplied by an external power supply. The
CANcaseXL/log provides a 3-pin Binder connector for this purpose. Available power
supplies can be found in the accessories manual on the driver CD.
Pin Assignment
1 Voltage supply 7 V…33 V (recommended 12 V)
2 Synchronization line / external trigger input
3 Ground
Warning: It is recommended to connect the logger to the same voltage supply (e.g.
battery of the vehicle) as the vehicle or test equipment.
If two different voltage supplies are being used for logger and test equipment, the
ground (GND) pins of the two voltage supplies must be connected.
Description In Logging Mode, pin 2 of the 3-pin Binder connector acts as a trigger input. You can
initiate triggers by pulling down pin 2 to GND. The trigger input is low active, i.e. a
trigger occurs by a falling edge.
Warning: The external trigger input is designed for 5 V (TTL) and must not be tied to
12 V!
Description The CANcaseXL/log is connected to the CAN or LIN bus (Channel1 and Channel2)
via a 9-pin D-SUB socket. The pin assignments of the D-SUB9 connectors depend on
the Piggybacks being used. Further information can be found in the accessories
manual on the driver CD.
2.4 Synchronization
Description The CANcaseXL/log has three LEDs for each channel (Channel1 and Channel2). The
LEDs indicate the direction of the message and any error frame that occurs:
Rx Tx Err Meaning
(( )) - - Active if messages are being received.
- (( )) - Active if messages are being sent.
- - (( )) Active if error events occur on the bus.
Only in Logger Mode:
Blinking LED means that the related channel is not „on bus“.
Description The CANcaseXL log supports two operating modes which can be switched by using
the USB connection and power supply respectively:
Interface Mode In Interface Mode, the CANcaseXL log operates as a CAN/LIN interface between a
PC and the bus. Messages can be received and sent over both channels with suitable
tools.
Logger Mode The Logger Mode enables the PC independent usage of the CANcaseXL log and
allows the logging of CAN and LIN events. For this purpose the CANcaseXL log must
be unplugged from the USB connector of the PC and externally supplied via the
Binder connector.
Note: For the Logger Mode configuration, the additional tool XL log Config is
available on the driver CD: \Tools\CANcaseXL_log.
Warning: During logging, the CANcaseXL log may not be connected to the PC via
the USB cable, since the Logger Mode would otherwise be exited! However, the
CANcaseXL log must be in the Interface Mode to configure the Logger Mode.
Status and Data The CANcaseXL log has additional LEDs for Status and Data with the following
meaning:
Trigger event signals The CANcaseXL log has a piezo buzzer that acoustically alerts the user to internal
trigger events. Triggers may be defined using the XL log Config configuration tool
(driver CD: \Tools\CANcaseXL_log).
Inserting and The CANcaseXL log has a push-and-pull card holder in which the SD card is inserted
removing the and removed. To insert a SD card push it until it latches in place securely. To remove
SD card the SD card push it into the holder slot a little bit until it unlatches then let it go and it
will spring out of its latched position.
Warning: Do not pull the SD card from the card holder forcefully, since this could
cause mechanical damage!
Formatting the Before the SD card can be used it has to be formatted with the configuration tool
SD card XL log Config (driver CD: \Tools\CANcaseXL_log).
Memory A single CAN message needs up to 20 byte, a single LIN message needs up to 108
requirements bytes on the memory card.
CardFix Kit The standard delivery of the CANcaseXL log allows the user to insert and remove the
SD card from outside. In some situations, e.g. to prevent thefts, the inserted SD card
shall not be removable. The CardFix Kit is a good protection because the back side
plate with the SD card slot is replaced by a closed plate. Thus the SD card cannot be
removed so easily anymore. The CardFix Kit can be ordered at Vector (article number
07132).
Warning: The CANcaseXL log must be opened for this modification! A detailed
instruction is delivered with the kit. However, the modification of your CANcaseXL log
can be done by our service.
2.6.5 Battery
Lifetime The CANcaseXL log is supplied with a lithium battery that has a typical durability of 5
years. It is responsible for the correct timing of the integrated clock.
Warning: When performing this operation be sure not to touch the top or bottom of
the boards (CANcaseXL/log main board or Piggybacks).
1. First, loosen the CANcaseXL/log housing screws on the side with the D-SUB9
connector. This requires removing the two black decorative caps. Then carefully
pull the PC-board out of the housing.
2. You will find mounting location 1 (Channel 1) at the center of the PC-board and
mounting location 2 (Channel 2) at the edge of the PC-board.
3. Each of the two Piggybacks is fastened by a screw and retainer. Please loosen
the appropriate screw including the retainer and carefully remove the Piggyback
from the mounting location.
4. Insert the replacement Piggyback. When doing this please make sure that the
single and dual-row connectors are not laterally offset.
5. Secure the new Piggyback with the appropriate screw and retainer.
6. Place the CANcaseXL/log main board back in the housing verifying that it is
inserted properly. This operation involves placing the housing on a table with its
back side (side with the bar code) facing upward. Then the main board is inserted
into the upper guide rails with the Piggybacks facing upward.
7. It should be possible to slide the main board in the housing up to a few
millimeters from the end without forcing it in. Close the housing by applying light
pressure, and then secure it with the appropriate screw fasteners. The screws
should be secure but not excessively tight.
8. Please also attach the two black decorative caps.
3 CANcaseXL/log Accessories
3.1 Accessories
Reference: Further information about the available accessories can be found in the
separate accessories manual on the driver CD:
\Documentation\Accessories_for_Network_Interfaces.pdf
4 Common Features
Generating Each event which is sent or received by a Vector network interface has an accurate
time stamps time stamp. Time stamps are generated for each channel in the Vector network
interface. The base for these time stamps is a common hardware clock in the device.
If the measurement setup requires more than one Vector network interface, a
synchronization of all connected interfaces and their hardware clocks is needed.
Due to manufacturing and temperature tolerances, the hardware clocks may vary in
speed, so time stamps of various Vector devices drift over time.
Figure 3: Example of unsynchronized network interfaces. Independent time stamps drift apart.
To compensate these time stamp deviations between the Vector network interfaces,
the time stamps can be either synchronized by software or by hardware (see next
section).
Note: The accuracy of the software sync is typically in range of 100 µs.
Synchronization The software time synchronization is driver-based and available for all applications
by software without any restrictions. The time stamp deviations from different Vector network
interfaces are calculated and synchronized to the common PC clock. For this purpose
no further hardware setup is required.
Figure 4: Time stamps of devices are synchronized to the PC clock (accuracy in range of 100 µs).
The setting of the software time synchronization can be changed in the Vector
Hardware Config tool in General information | Settings | Software time
synchronization.
Synchronization A more accurate time synchronization of multiple devices is provided by the hardware
by hardware synchronization which has to be supported by the application (e. g CANalyzer,
CANoe). Therefor two Vector network interfaces can be connected with the
SYNCcableXL (see accessories manual, article number 05018).
Figure 6: SYNCcableXL to synchronize two devices over 3-pin connector (Binder type 711).
Figure 7: Time stamps are synchronized to the master clock (accuracy in range of 1 µs).
5 Driver Installation
5.2 Hints
Note: Many desktop PCs have power managers which block the CPU for a specific
time. This impairs accuracy of the time system. If your application has stringent timing
requirements (e. g. time-driven sending of messages or time-driven evaluations), you
have to deactivate these power managers. Power management settings may be con-
tained in the BIOS setup or on the Control Panel of Windows XP / Vista / Windows 7
(e. g. Power options).
No further mention will be made of the power manager in this document.
Info: Please note that you will need Administrator Rights for the following steps.
General information The Vector Driver Disk offers a driver setup which allows the installation or the
removal of Vector devices.
1. Execute the driver setup from the autostart menu or directly from
\Drivers\Setup.exe before the device is inserted or connected to the PC with
the included USB cable.
If you have already inserted or connected the device to the PC, the Windows
found new Hardware wizard appears. Close this wizard and then execute the
driver setup.
2. Click [Next] in the driver setup dialog. The initialization process starts.
Executing Vector After the successful installation you will find the configuration application Vector
Hardware Config Hardware in the Control Panel (see below). The tool gives you information on the
connected and installed Vector devices. There are also several settings that can be
changed.
The tool is split into two windows. The left window lets you access the installed Vector
devices, the right window displays the details of the selection. The following nodes
are available in the left window:
Hardware Each installed Vector device is shown in Hardware. Additional details of available
channels are shown in a tree view. Status information on the device components and
the channels are also shown in this dialog.
Application In Application, all available applications are shown with their configured channels. If
you click on an application, all of its channels are displayed in the right pane on the
screen.
General information The General information section contains general information on Vector devices and
applications.
License The License section contains information on all currently valid licenses.
Note: You will find a detailed description of Vector Hardware Config in the online
help (Help | Contents).
Operating test The test described here can be performed to check the functional integrity of the
driver and the device. This test is identical for Windows XP, Windows Vista,
Windows 7 and independent of the used application.
5.5.1 CAN
Device test The operating test for CAN can be executed with the following devices:
CANcardXL
CANcardXLe
CANcaseXL
CANcaseXL log
CANboardXL Family
VN1610
VN1630
VN1640
VN5610
VN7570
VN7600
Loop3.exe Either two High-Speed or two Low-Speed transceivers are necessary for this
functional test:
1. Connect two CAN channels with a suitable cable. If two High-Speed transceivers
are being used, we recommend our CANcable 1 (CANcable 0 for Low-Speed
transceivers).
2. Start \Drivers\Common\Loop3.exe from the driver CD.
This program accesses the Vector devices and transmits CAN messages.
3. Select the connected CAN channels of the device(s) to be tested.
4. Set the appropriate baudrate depending on the transceiver being used (High-
Speed max. 1,000,000 Bd, Low-Speed max. 125,000 Bd).
5. Click [Start].
6. You will see statistical data in the lower part of the window if the system has been
configured properly.
Loop3 application
5.5.2 FlexRay
Device test The operating test for FlexRay can be executed with the following devices:
VN3300
VN3600
VN7570
VN7600
5.5.3 MOST
Device test The operating test for MOST can be executed with the following devices:
VN2610
VN2640
MLoop.exe This functional test requires a MOST fiber optic cable and a fiber coupler for HFBR
connectors.
1. VN2610
Start \Drivers\Common\MLoop.exe from the driver CD
VN2640
Start \Drivers\Common\M150Loop.exe from the driver CD.
2. Select the VN2610/VN2640 to be tested from the list of detected devices.
3. Click [Twinkle] and check if the power LED of the VN2610/VN2640 is blinking at
least for one second.
4. Connect the MOST fiber optic cable with the VN2610/VN2640 device, select
Master mode and check if the program displays the status Unlock. Check if red
light comes out of the TX fiber of the MOST fiber optic cable.
5. Connect both ends of the fiber with one fiber coupler to a ring and check if the
program displays the status Lock.
6. Close MLoop.exe with [Exit].
5.5.4 Ethernet
Device test The operating test for Ethernet can be executed with the following devices:
VN5610
www.vector.com