49
VN7640 FlexRay/CAN/LIN/Ethernet Interface Manual Version 1.2 | English

VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

  • Upload
    others

  • View
    64

  • Download
    0

Embed Size (px)

Citation preview

Page 1: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

VN7640 FlexRay/CAN/LIN/Ethernet InterfaceManual

Version 1.2 | English

Page 2: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

Imprint

Vector InformatikGmbHIngersheimer Straße 24D-70499 Stuttgart

The information and data given in this user manual can be changed without prior notice. No part of this manual may be reproduced in anyform or by any means without the written permission of the publisher, regardless of which method or which instruments, electronic ormechanical, are used. All technical information, drafts, etc. are liable to law of copyright protection.

© Copyright 2018, Vector InformatikGmbH. All rights reserved.

Page 3: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

Contents

VN7640 Manual Version 1.2 3

Contents

1 Introduction 51.1 About this User Manual 6

1.1.1 Certification 71.1.2 Warranty 71.1.3 Registered Trademarks 7

1.2 Important Notes 81.2.1 Safety Instructions and HazardWarnings 81.2.1.1 Proper Use and Intended Purpose 81.2.1.2 Hazards 91.2.1.3 Disclaimer 9

2 Device Description 102.1 Scope of Delivery 11

2.2 Introduction 11

2.3 Accessories 13

2.4 Use Cases 13

2.5 Connectors Bus Side 14

2.6 Connectors USB Side 15

2.7 LEDs 19

2.8 Bus Configuration 21

2.9 Replacing Piggybacks 23

2.10 Technical Data 26

3 Getting Started 283.1 Driver Installation 29

3.2 Device Configuration 33

3.3 Loop Tests 343.3.1 FlexRay 343.3.2 CAN 35

4 Vector Hardware Configuration 374.1 General Information 38

4.2 Tool Description 394.2.1 Introduction 394.2.2 Tree View 40

5 Time Synchronization 43

Page 4: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

Contents

VN7640 Manual Version 1.2 4

5.1 General Information 44

5.2 Software Sync 46

5.3 Hardware Sync 47

Page 5: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

1 Introduction

VN7640 Manual Version 1.2 5

1 IntroductionIn this chapter you find the following information:

1.1 About this User Manual 61.1.1 Certification 71.1.2 Warranty 71.1.3 Registered Trademarks 7

1.2 Important Notes 81.2.1 Safety Instructions and HazardWarnings 8

Page 6: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

1 Introduction

VN7640 Manual Version 1.2 6

1.1 About this User ManualConventions In the two following charts you will find the conventions used in the user manual

regarding utilized spellings and symbols.

Style Utilizationbold Blocks, surface elements, window- and dialog names of the soft-

ware. Accentuation of warnings and advices.[OK]File|Save

Push buttons in bracketsNotation for menus andmenu 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 UtilizationThis symbol calls your attention to warnings.

Here you can obtain supplemental information.

Here you can find additional information.

Here is an example that has been prepared for you.

Step-by-step instructions provide assistance at these points.

Instructions on editing files are found at these points.

This symbol warns you not to edit the specified file.

Page 7: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

1 Introduction

VN7640 Manual Version 1.2 7

1.1.1 CertificationCertified QualityManagement System

Vector Informatik GmbH has ISO 9001:2008 certification. The ISO standard is a glob-ally recognized standard.

1.1.2 WarrantyRestrictionof warranty

We reserve the right to change the contents of the documentation and the softwarewithout notice. Vector Informatik GmbH assumes no liability for correct contents ordamages which are resulted from the usage of the documentation. We are grateful forreferences tomistakes or for suggestions for improvement to be able to offer youevenmore efficient products in the future.

1.1.3 Registered TrademarksRegisteredtrademarks

All trademarks mentioned in this documentation and if necessary third partyregistered are absolutely subject to the conditions of each valid label right and therights of particular registered proprietor. All trademarks, trade names or companynames are or can be trademarks or registered trademarks of their particular pro-prietors. All rights which are not expressly allowed are reserved. If an explicit label oftrademarks, which are used in this documentation, fails, should not mean that a nameis free of third party rights.

Windows, Windows 7, Windows 8.1, Windows 10are trademarks of theMicrosoft Corporation.

Page 8: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

1 Introduction

VN7640 Manual Version 1.2 8

1.2 Important Notes

1.2.1 Safety Instructions and Hazard Warnings

Caution!In order to avoid personal injuries and damage to property, you have to read andunderstand the following safety instructions and hazard warnings prior to instal-lation and use of this interface. Keep this documentation (manual) always near theinterface.

1.2.1.1 Proper Use and Intended Purpose

Caution!The interface is designed for analyzing, controlling and otherwise influencing con-trol systems and electronic control units. This includes, inter alia, bus systems likeCAN, LIN, K-Line, MOST, FlexRay, Ethernet, BroadR-Reach and/or ARINC 429.

The interfacemay only be operated in a closed state. In particular, printed circuitsmust not be visible. The interfacemay only be operated (i) according to the instruc-tions and descriptions of this manual; (ii) with the electric power supply designedfor the interface, e.g. USB-powered power supply; and (iii) with accessories man-ufactured or approved by Vector.

The interface is exclusively designed for use by skilled personnel as its operationmay result in serious personal injuries and damage to property. Therefore, onlythose persons may operate the interface who (i) have understood the possibleeffects of the actions whichmay be caused by the interface; (ii) are specificallytrained in the handling with the interface, bus systems and the system intended tobe influenced; and (iii) have sufficient experience in using the interface safely.

The knowledge necessary for the operation of the interface can be acquired inwork-shops and internal or external seminars offered by Vector. Additional andinterface specific information, such as „Known Issues“, are available in the „VectorKnowledgeBase“ on Vector´s website at www.vector.com. Please consult the„Vector KnowledgeBase“ for updated information prior to the operation of the inter-face.

Page 9: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

1 Introduction

VN7640 Manual Version 1.2 9

1.2.1.2 Hazards

Caution!The interfacemay control and/or otherwise influence the behavior of control sys-tems and electronic control units. Serious hazards for life, body and property mayarise, in particular, without limitation, by interventions in safety relevant systems(e.g. by deactivating or otherwisemanipulating the enginemanagement, steering,airbag and/or braking system) and/or if the interface is operated in public areas(e.g. public traffic, airspace). Therefore, youmust always ensure that the interfaceis used in a safemanner. This includes, inter alia, the ability to put the system inwhich the interface is used into a safe state at any time (e.g. by „emergency shut-down“), in particular, without limitation, in the event of errors or hazards.

Comply with all safety standards and public regulations which are relevant for theoperation of the system. Before you operate the system in public areas, it shouldbe tested on a site which is not accessible to the public and specifically preparedfor performing test drives in order to reduce hazards.

1.2.1.3 Disclaimer

Caution!Claims based on defects and liability claims against Vector are excluded to theextent damages or errors are caused by improper use of the interface or use notaccording to its intended purpose. The same applies to damages or errors arisingfrom insufficient training or lack of experience of personnel using the interface.

Page 10: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

2 Device Description

VN7640 Manual Version 1.2 10

2 Device DescriptionIn this chapter you find the following information:

2.1 Scope of Delivery 11

2.2 Introduction 11

2.3 Accessories 13

2.4 Use Cases 13

2.5 Connectors Bus Side 14

2.6 Connectors USB Side 15

2.7 LEDs 19

2.8 Bus Configuration 21

2.9 Replacing Piggybacks 23

2.10 Technical Data 26

Page 11: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

2 Device Description

VN7640 Manual Version 1.2 11

2.1 Scope of DeliveryContents The delivery includes:

VN7640 FlexRay/CAN/LIN/Ethernet Interface Vector Power Supply 12 V / 1.25 A (part number 05024) USB2.0 cable (part number 05011)

2.2 IntroductionAbout the VN7640 The VN7640 interface is a flexible solution for FlexRay, CAN, LIN, K-Line and J1708

applications. Additionally, different use cases are supported for Ethernet.

Main use cases: Remaining bus simulation Bus analysis (full bus load, advanced analysis and stimulation features) Measurement and calibration via CAN/LIN/FlexRay Diagnostics ECU flash programming (high performance, sending with minimum delay, out of

spec baud rates, several parallel streams) Simple analog/digital IO tasks

Ethernet port based used cases (RJ45 connector): Ethernet as interface to calibration devices (xPOD, VX1131, VX1132, ...) Ethernet port as interface for DoIP Ethernet port as host interface to PC

An Ethernet Use CaseMatrix for Vector network interfaces can be found on theVN7640 page of the Vector homepage.

Figure 1: VN7640FlexRay/CAN/LIN/Ethernet Interface

Main features of the VN7640: 4x plug-in location for Piggybacks (see section Bus Configuration on page 21) Full featured support of

- FlexRay- CAN (FD)- LIN- K-Line

Page 12: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

2 Device Description

VN7640 Manual Version 1.2 12

IO port- Digital/analog in/out- DoIP Activation Line

Trigger-out (via pin 5 of FRpiggyC 1082cap) CAPL-On-Board for

- CAN (FD)- FlexRay- LIN- IO

Ethernet- IEEE802.3: 100BASE-TX and 1000BASE-T- BroadR-Reach (100MBit; physical layer not fully compliant to Automotive Ethernet / 100BASE-T1)

Support of customer applications via XL-Driver Library (XL-API) Multi-application support (simultaneous operation of different applications on one

channel, e. g. CANoe and CANape) High time stamp accuracy Time synchronization of multiple devices and with other bus systems (CAN, LIN,

FlexRay, MOST, Ethernet)- Software time synchronization (typ. 50 µs accuracy)- Hardware time synchronization (1 µs accuracy; Binder connector)

Connection to host PC via USB 2.0 or Ethernet LEDs indicating status and activities External power supply, galvanically isolated Robust Bopla housing

Bus types The bus types CAN, LIN and FlexRay are configurable via exchangeable plug-inboards (Piggybacks). The supported combinations are described in section Bus Con-figuration on page 21. A list of compatible Piggybacks can be found in the accessoriesmanual on the Vector Driver Disk.

Figure 2: Piggyback

Page 13: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

2 Device Description

VN7640 Manual Version 1.2 13

2.3 AccessoriesReferenceInformation on available accessories can be found in the separate accessoriesmanual on the Vector Driver Disk in \Documentation\Accessories.

2.4 Use CasesThe following picture shows possible use cases of the VN7640.

Host connection viaUSB

PC / Notebook

VN7640

USB

IO

LIN (K-Line)

J1708FlexRay

FRpi

ggy

CAN FD

CAN/LIN/J1708piggy

ETH

Por

t

ECU Activation Line

DoIP

ECU

VX SystemxPODs

Data transfer IEEE 802.3

SyncHW Sync

VNXXXXInterfaces

Figure 3: Connection via USB

Host connection viaEthernet

PC / Notebook

VN7640

Ethernet

IO

LIN (K-Line)

J1708FlexRay

FRpi

ggy

CAN FD

CAN/LIN/J1708piggy

SyncHW Sync

VNXXXXInterfaces

Figure 4: Connection via Ethernet

Page 14: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

2 Device Description

VN7640 Manual Version 1.2 14

2.5 Connectors Bus SideFront side

Figure 5: VN7640 with D-SUB9 connectors

D-SUB9 (CH1...4)The VN7640 has four D-SUB9 connectors, each assigned to a dedicated Piggy-back plug-in location. The pin assignments depend on the inserted Piggybacks. Alist of available Piggybacks and their D-SUB9 pin assignments can be found in theseparate accessories manual on the Vector Driver Disk in\Documentation\Accessories.

Page 15: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

2 Device Description

VN7640 Manual Version 1.2 15

2.6 Connectors USB SideBack side

Figure 6: Connectors on the USB side

Device connectors USBConnect your PC and the VN7640 via USB to install and to use the device withmeasurement applications (e. g. CANoe, CANalyzer). Use the USB2.0 compliantcable found in the delivery (USB extension cables may generate faults betweenthe PC and the device). Connect the device directly to USB at your PC or use aUSB hub.

D-SUB9 (CH5)The VN7640 has a D-SUB9 connector (CH5) for dedicated digital-analog input/out-put tasks. For DoIP (Diagnostics over Internet Protocol), pin 2 and pin 3 can beused as DoIP Activation Line according to ISO 13400-3:2011-12.

The pin assignment for CH5 is as follows:

Pin Assignment1 Analog input2 Digital input/output 03 Digital input/output 14 Digital input 05 Digital input 16 Analog GND7 Not connected8 Digital output9 Digital GND

5

4

3

2

16

7

8

9Digital input 1

Not connected

Digital output

Digital GND

Analog GND

Digital input 0

Digital in/out 1

Digital in/out 0

Analog input

ReferenceDetails on the internal interconnection of the input/ouput pins can be found onthe next page.

Page 16: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

2 Device Description

VN7640 Manual Version 1.2 16

Details on CH5 The internal interconnection of the input/ouput pins is as follows:

Internalinterconnection ofdigital in/out 0/1

Digital Input/Ouput

Isolation

455RRi

50R

50R

Vcc

GND_ISO

Passive NetworkFrom Processor

To Processor

GND_ISO

10k

Figure 7: Digital input /output

Internalinterconnection ofdigital input 0/1

To Processor

Digital GND

Vcc

Digital GND Digital GND

Digital Input 0/1

Isolation

20k

Vref

200k

OUT

IN-

IN+

33 V370 pF

Figure 8: Digital input 0/1

Internalinterconnection ofdigital output

From Processor

Digital Output

Digital GND

Isolation

33 V 370 pF

Figure 9: Digital output

Internalinterconnection ofanalog input

To Processor

Analog GND

Vcc

Analog Input

100k

1M

33 V370 pF

Analog GND

22 pFADC

15k

10k

Analog GND

OUT

IN+

IN-

Isolation

INOUT

Figure 10: Analog input

Page 17: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

2 Device Description

VN7640 Manual Version 1.2 17

Extendedmeasuringrange of theanalog input

In normal operation, voltages up to 18 V can be applied andmeasured at the ana-log input. The cutoff frequency fc (-3 dB) for AC voltages is approx. 7.2 kHz.

For measurements above 18 V (max. 50 V), an external series resistor has to beapplied to the analog input. The series resistor Rext depends on themaximuminput voltage Uinput to bemeasured and can be calculated as follows:

The cutoff frequency for AC voltages is also affected by the external series res-istor:

Examples 24 V 32 V 36 V 48 VRext 367 kΩ 856 kΩ 1100 kΩ 1833 kΩRext (E96) 374 kΩ

(24.12 V)866 kΩ(32.17 V)

1100 kΩ(36.00 V)

1870 kΩ(48.60 V)

fc (-3 dB) 1148 Hz 496 Hz 390 Hz 230 Hz

Device connectors(continued)

Ethernet (RJ45)RJ45 connector for IEEE802.3 (100BASE-TX/1000BASE-T) and BroadR-Reach(at pin 1 (P) and pin 2 (N), 100MBit; physical layer not fully compliant to Auto-motive Ethernet / 100BASE-T1). This port can be used for ECU communication orto connect the VN7640 to a host PC. LED description see section LEDs on page19.

NoteIf the Ethernet port is used to connect to a host PC, it cannot be used for meas-urments at the same time.

Page 18: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

2 Device Description

VN7640 Manual Version 1.2 18

2x Power/Sync (Binder connector)The VN7640 has two power/sync connectors (Binder type 711) which can be usedfor time synchronization of different Vector devices (see section Time Syn-chronization on page 43) or for power. It does not matter which connector is usedto supply the device. For proper operation of the VN7640, an external power sup-ply is required.

VCC

1

2

3

Power1

2

3

Sync

GND

Sync

GND

Power/Sync

Power/Sync

SYNC

GND

Power

Figure 11: Internalwiring of the power/sync connector

Pin Assignment1 Power supply2 Synchronization line3 Ground

312

Page 19: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

2 Device Description

VN7640 Manual Version 1.2 19

2.7 LEDs

Figure 12: Top LEDson VN7640

CH1 … CH4 (with CAN-/LINpiggies)Multicolored channel LEDs, each indicating the bus activity for CAN or LIN.Color DescriptionGreen Data frames have been sent or received correctly.

The flashing frequency varies according to themessage rate.Orange Error frames have been sent or received.

The flashing frequency varies according to themessage rate.Red Bus off.

CH1 (with FRpiggyC)Multicolored channel LED which indicates the sync state of FlexRay.Color DescriptionOff FlexRay Communication Controller offline.Green FlexRay Communication Controller synchronized.Orange On: FlexRay Communication Controller not synchronized.

Flashing: FlexRay error frames and normal frames have beenreceived.

Red On: FlexRay Communication Controller in halt state.Flashing: FlexRay error frames on bus.

ActivityLED illuminates if there is an Ethernet link or blinks if there is Ethernet activity atthe according channel.Color DescriptionGreen On: Link with 1 Gbit.

Flashing: Link with 1 Gbit and traffic.Orange On: Link with 100 MBit (BroadR-Reach or IEEE)

Flashing: Link with 100 Mbit and traffic.Off No Link.

MasterIlluminates if the device is configured as master.Color DescriptionGreen Channel is configured as master.Off Channel is not configured as master or not active.

Page 20: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

2 Device Description

VN7640 Manual Version 1.2 20

StatusMulticolored LED indicating the status.Color DescriptionGreen On: Runningmeasurement.

Flashing: Device is ready for operation.Orange On: Device start up.

Flashing: Device executes update.Red Error. Device not working.

RJ45 connectorMulticolored LEDs indicating the status of the Ethernet connection.ColorLeft Description

Green Configured as master.Off Not configured as master or unconfigured.

ColorRight Description

Green 1GBit link is active.Orange 10MBit / 100MBit link is active.

Page 21: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

2 Device Description

VN7640 Manual Version 1.2 21

2.8 Bus ConfigurationPiggybacks An advantage of the VN7640 are its four Piggyback plug-in locations (CH1…CH4).

Depending on requirements, electrically decoupled FlexRay, CAN High-Speed, CANLow-Speed, CAN SingleWire, J1708 or LIN transceivers may be used. CH5 isreserved for dedicated IO tasks.

CH1

FlexRayCANLIN

CH2

CANLIN

CH4

CANLIN

CH3

CANLIN

Figure 13: Piggybackplug-in locations for CH1…CH4

In the plug-in location for channel 1, an FRpiggyC can be inserted for a FlexRay chan-nel A and B connection. Alternatively, a CANpiggy or LINpiggy can be used. Chan-nels 2...4 are reserved for CANpiggies and LINpiggies. CANpiggies must bepopulated in ascending order; LINpiggies in descending order (see examples).J1708 should be handled like CAN.

Note Inserting order for FRpiggyC: CH1. Inserting order for LINpiggies: CH4…CH1. If an FRpiggyC is used, only one

LINpiggy can be used. Inserting order for CAN/J1708piggies: CH1…CH4, but after FRpiggyC and

before LINpiggies.

Page 22: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

2 Device Description

VN7640 Manual Version 1.2 22

Piggybackorder CH1 CH2 CH3 CH4

Piggyback

FlexRayor CAN1

or

LIN4

CAN2

or

LIN3

CAN3

or

LIN2

CAN4

or

LIN1/K-Line

Examples The following tables show examples of possible configurations:

4x CAN CH1 CH2 CH3 CH4CANpiggy 1 CANpiggy 2 CANpiggy 3 CANpiggy 4

1x FR3x CAN CH1 CH2 CH3 CH4

FRpiggyC CANpiggy 1 CANpiggy 2 CANpiggy 3

1x FR2x CAN1x LIN

CH1 CH2 CH3 CH4

FRpiggyC CANpiggy 1 CANpiggy 2 LINpiggy 1

3x CAN1x LIN CH1 CH2 CH3 CH4

CANpiggy 1 CANpiggy 2 CANpiggy 3 LINpiggy 1

1x CAN1x LIN CH1 CH2 CH3 CH4

CANpiggy 1 - - LINpiggy 1

1x CAN2x LIN CH1 CH2 CH3 CH4

CANpiggy 1 - LINpiggy 2 LINpiggy 1

Page 23: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

2 Device Description

VN7640 Manual Version 1.2 23

2.9 Replacing PiggybacksCaution!When performing this operation be sure not to touch the top or bottom of the boardto avoid damages due to electrical discharges.

Step by Step Procedure1. First, loosen the VN7640 housing screws on the side with the four D-SUB9 con-

nectors. This requires removing the two black decorative caps. Then carefullypull the PC-board out of the housing.

Figure 14: Opening the housing

2. You will find the plug-in location as follows:

CH1

FlexRayCANLIN

CH2

CANLIN

CH4

CANLIN

CH3

CANLIN

Figure 15: Piggybackplug-in locations

Page 24: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

2 Device Description

VN7640 Manual Version 1.2 24

3. Each Piggyback is fastened by a screw and retainer. Please loosen the appro-priate screw including the retainer and carefully remove the Piggyback from theplug-in location.

CH2CH4

CH1CH3

Figure 16: Unmount/mount Piggybacks

4. Insert the replacement Piggyback. When doing this pleasemake sure that thesingle and dual-row connectors are not laterally offset.

5. Secure the new Piggyback with the appropriate screw and retainer.

Page 25: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

2 Device Description

VN7640 Manual Version 1.2 25

6. Place the VN7640main board back in the housing. This operation involves pla-cing the housing with its back side (side with the bar code) facing upward. Thenthemain board with the Piggybacks facing upward is inserted into the firstguide rails.

Figure 17: First guide rails

7. It should be possible to slide themain board in the housing up to a few mil-limeters from the end without forcing it in. Close the housing by applying lightpressure and then secure it with the appropriate screw fasteners. The screwsshould be secure but not excessively tight.

8. Please also attach the two black decorative caps.

9. Connect the VN7640 and the PC via the USB cable and check the bus con-figuration inVector Hardware Config.

Figure 18: Check inserted Piggybacks

Page 26: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

2 Device Description

VN7640 Manual Version 1.2 26

2.10 Technical DataFlexRaycommunication-controller

AnalysisBosch E-Ray (FPGA)

StartupBosch E-Ray (FPGA)

FlexRay channel Max. 1 channel A and B at channel 1(configurable via Piggyback)

2MB memory for data transmissionCAN/CAN FD channels Max. 4 (configurable via Piggybacks)

CAN: up to 2Mbit/sCAN FD: up to 8Mbit/s

LIN channels Max. 4 (configurable via Piggybacks),up to 330 kbit/s

K-Line channels Max. 1 at channel 4(with LINpiggy 7269mag)

Ethernet Channels/transceiver

Physical layer

1 x BCM54811S

IEEE 802.3 (100BASE-TX/1000BASE-T) andBroadR-Reach (100MBit; physical layer notfully compliant to Automotive Ethernet /100BASE-T1)

Channel configurations Configurable with Piggybacks

1x FlexRay, 3 x CAN1x FlexRay, 2x CAN, 1x LIN (1x K-Line)

4x CAN3x CAN, 1x LIN (1x K-Line)2x CAN, 2x LIN (1x K-Line)1x CAN, 3x LIN (1x K-Line)

4x LIN (1x K-Line)

Additional:Digital/analog IO channelEthernet port

Analog input 10 bitInput 0 V...18 V (Ri = 1.1MΩ)Voltage tolerance up to 30 VDetails on the extendedmeasuring rangesee on page 17.

Digital input Range 0 V...32 VSchmitt trigger high 2.8 V, low 2.3 VInput frequencies up to 1 kHz

Digital output OpenDrainExternal supply up to 32 VOutput frequency up to 1 kHzCurrent max. 500mAShort circuit / over voltage protected

Page 27: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

2 Device Description

VN7640 Manual Version 1.2 27

Digital input/output Push/Pull mode (e.g. DoIP Activation Line) orPush-Mode only (e.g. Wake-up Triggers)Output high (no load): 13 VOutput high (load 346 Ω): 5.5 VOutput low: 0 VInput range: 0 V…16 VInput Schmitt trigger high: 3.4 VInput Schmitt trigger low: 2.5 VRout: approx. 500 Ω

Time stamps Resolution: 8 nsAccuracy (in device): 1 µsAccuracy software sync: typ. 50 µsAccuracy hardware sync: typ. 1 µs

PC interface USB 2.0 orEthernet (100BASE-TX, 1000BASE-T)

External power supply Power-up: min. 6 VContinuous operation: 5 V…36 V

Power consumption Typical 6...7 WTemperature range(ambient temp. of the device)

Operation: -40 °C ... +65 °CStorage: -40 °C ... +85 °C

Relative humidityof ambient air

15%...95%, non-condensing

Dimensions (LxWxH) Approx. 124mm x 111mm x 45mmWeight Approx. 500 gOperating system requirements Windows 7 SP1 (32 bit / 64 bit)

Windows 8.1 (32 bit / 64 bit)Windows 10 (64 bit)

Page 28: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

3 Getting Started

VN7640 Manual Version 1.2 28

3 Getting StartedIn this chapter you find the following information:

3.1 Driver Installation 29

3.2 Device Configuration 33

3.3 Loop Tests 343.3.1 FlexRay 343.3.2 CAN 35

Page 29: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

3 Getting Started

VN7640 Manual Version 1.2 29

3.1 Driver InstallationGeneralinformation

The Vector Driver Disk offers a driver setup which allows the installation or theremoval of Vector devices.

NotePlease note that you will needAdministrator Rights for the following steps.

Step by Step Procedure

1. Execute the driver setup from the autostart menu or directly from\Drivers\Setup.exe before the device is connected to the PC with theincluded USB cable.

If you have already connected the device to the PC, theWindows found newHardwarewizard appears. Close this wizard and then execute the driver setup.

2. Click [Next] in the driver setup dialog. The initialization process starts.

Page 30: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

3 Getting Started

VN7640 Manual Version 1.2 30

3. In the driver selection dialog, select your devices to be installed (or to be unin-stalled).

4. Click [Install] to execute the driver installation, or [Uninstall] to remove exist-ing drivers.

5. A confirmation dialog appears. Click [Close] to exit. After successful instal-lation, the device is ready for operation and can be connected to the PC withthe included USB cable.

Page 31: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

3 Getting Started

VN7640 Manual Version 1.2 31

If you want to connect your PC and the VN7640 via Ethernet instead of USB, thedevice has to be configured once.

6. Install theVector Network Enumerator from the Vector Driver Disk if not yetinstalled.

7. Open theVector Hardware Config (see section Vector Hardware Con-figuration on page 37) which has been installed with the drivers. For con-figuration, please be sure that the device is connected to your host via USB.

8. Select the device in the tree view.

9. On theDetails page on the right, double-click Device Configuration. A newdialog appears.

10. Change the Ethernet port mode toHost connection and enter a new IPaddress for the device that matches your network settings. Click [OK].

11. Remove the USB cable from your host and the device. Connect your host andthe device via an Ethernet cable. The device will be listed as not available (redicon).

Page 32: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

3 Getting Started

VN7640 Manual Version 1.2 32

12. In the tree view, select Network Devices and click onScan network on theright.

13. If found in your network, the device will be listed on theDetails page.

14. Click [Connect]. The device is available again now.

Page 33: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

3 Getting Started

VN7640 Manual Version 1.2 33

3.2 Device ConfigurationConfiguration Before the installed device can be used in an application, it must be properly con-

figured for the needed use case. This configuration is done with theVector HardwareConfig tool which comes with the driver installation. The tool can be found inWin-dows | Start | Settings | Control Panel | Vector Hardware andmanages allinstalled Vector devices.

ReferenceFurther details onVector Hardware Config can be found in the installation instruc-tions (see section Vector Hardware Configuration on page 37).

Page 34: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

3 Getting Started

VN7640 Manual Version 1.2 34

3.3 Loop TestsOperation test The test described here can be performed to check the functional integrity of the driver

and the device. This test is identical forWindows 7 / Windows 8.1 / Windows 10 andindependent of the used application.

3.3.1 FlexRayDevice test The operating test for FlexRay can be executed with the following devices:

VN3300 VN3600 VN7570 VN7572 VN7600 VN7610 VN7640 VN8911 with VN8970 VN8912A / VN8914 with VN8970 / VN8972

FRloop.exe This operating test requires an inserted FRpiggy (except for: VN7610).

Step by Step Procedure

1. Remove the FlexRay cable if it is connected.

2. Start \Drivers\Common\FRLoop.exe from the Vector Driver Disk.

3. Execute the test.

4. If no error messages occur, the operating test was successful.

Page 35: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

3 Getting Started

VN7640 Manual Version 1.2 35

3.3.2 CANDevice test The operating test for CAN can be executed with the following devices:

CANcardXL/XLe CANcaseXL/XL log CANboardXL Family VN1610 / VN1630A / VN1630 log / VN1640A VN5610A VN7570 / VN7572 / VN7600 / VN7640 VN8911 with VN8970 VN8912A / VN8914 with VN8970 / VN8972

Loop3.exe Either two high-speed or two low-speed transceivers are necessary for this functionaltest:

Step by Step Procedure

1. Connect two CAN channels with a suitable cable.If two high-speed transceivers are being used, we recommend ourCANcable1 (CANcable0 for low-speed transceivers).

2. Start \Drivers\Common\Loop3.exe from the Vector Driver Disk.This program accesses the Vector devices and transmits CAN messages.

3. Select the connected CAN channels of the device(s) to be tested.

Page 36: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

3 Getting Started

VN7640 Manual Version 1.2 36

4. Set the appropriate baudrate depending on the transceiver being used (high-speedmax. 1,000,000 Bd, low-speedmax. 125,000 Bd).

5. Click [Start].

6. You will see statistical data in the lower part of the window if the system hasbeen configured properly.

7. The test procedure can be terminated with the [Stop] button.AnOK should appear in the upper part of the window.

Page 37: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

4 Vector Hardware Configuration

VN7640 Manual Version 1.2 37

4 Vector Hardware ConfigurationIn this chapter you find the following information:

4.1 General Information 38

4.2 Tool Description 394.2.1 Introduction 394.2.2 Tree View 40

Page 38: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

4 Vector Hardware Configuration

VN7640 Manual Version 1.2 38

4.1 General InformationExecuting VectorHardware Config

After the successful driver installation you will find the configuration applicationVector Hardware in the Control Panel (see below). The tool gives you informationabout the connected and installed Vector devices. There are also several settings thatcan be changed.

Figure 19: Icon in Control Panel

Control PanelWindows 7

Category viewWindows Start | Control Panel | Hardware and Sound,click Vector Hardware in the list.

Symbols viewWindows Start | Control Panel,click Vector Hardware in the list.

Control PanelWindows 8.1

Category view<Windows key>+<X> | Control Panel | Hardware and Sound,click Vector Hardware in the list.

Symbols view<Windows key>+<X> | Control Panel,click Vector Hardware in the list.

Control PanelWindows 10

Category view<Windows key>+<X> | Control Panel | Hardware and Sound,click Vector Hardware in the list.

Symbols view<Windows key>+<X> | Control Panel,click Vector Hardware in the list.

Page 39: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

4 Vector Hardware Configuration

VN7640 Manual Version 1.2 39

4.2 Tool Description

4.2.1 IntroductionVectorHardware Config

Figure 20: General view of Vector Hardware Config

Logical and physicalchannels

Vector Hardware Config enables the channel configuration between installed Vectordevices and applications. Applications use so-called logical channels which are hard-ware independent and have to be assigned to real hardware channels.

physical CH1CAN

physical CH2LIN

Vector Device 1 Vector Device 2

physical CH1FlexRay

physical CH2CAN

not assigned

logical channelCAN 1

Applicationlogical channel

LIN 1logical channel

CAN 1

logical channelFlexRay 1

logical channelCAN 2

Figure 21: Concept of channel assignments

Figure 22: Channel assignment in Vector Hardware Config

Page 40: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

4 Vector Hardware Configuration

VN7640 Manual Version 1.2 40

4.2.2 Tree ViewAccessingVector devices

The tool is split into two windows. The left window has a tree view and lets youaccess the installed Vector devices, the right window displays the details of the selec-tion. The following nodes are available in the tree view:

Hardware TheHardware section lists the installed Vector devices. Each device item has phys-ical channels which can be assigned to any number of logical channels (e. g.CANalyzer CAN 1). A logical channel can be assigned to only one physical channel.

Figure 23: Hardware

Application InApplication, all available applications are displayed in a tree view. According toeach application, the assignments of logical and physical channels are displayed inthe right part of the window. If no assignment exists, the informationNot assignedappears. The assignment can be edited via a right-click.

Figure 24: Application

Page 41: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

4 Vector Hardware Configuration

VN7640 Manual Version 1.2 41

Global settings Global settings contains global device configuration possibilities, e. g. software timesynchronization, transmit queue size, configuration flags or the number of virtual CANdevices.

Figure 25: Global settings

Driver status Driver status offers an overall status information of devices and applications cur-rently in use. You can see whether the channels are connected to the bus (online/off-line) and whether the time synchronization is activated or not (Time-Sync-On/Time-Sync-Off).

Figure 26: Driver status

Page 42: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

4 Vector Hardware Configuration

VN7640 Manual Version 1.2 42

License The License section contains information on all current available licenses (Vector busdevices, Vector License USB dongle devices).

Figure 27: License

ReferenceYouwill find a detailed description of Vector Hardware Config in the online help(Help | Contents).

Page 43: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

5 Time Synchronization

VN7640 Manual Version 1.2 43

5 Time SynchronizationIn this chapter you find the following information:

5.1 General Information 44

5.2 Software Sync 46

5.3 Hardware Sync 47

Page 44: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

5 Time Synchronization

VN7640 Manual Version 1.2 44

5.1 General InformationTime stampsand events

Time stamps are useful when analyzing incoming or outgoing data or eventsequences on a specific bus.

Figure 28: Time stampsof two CAN channels in CANalyzer

Generatingtime stamps

Each event which is sent or received by a Vector network interface has an accuratetime stamp. Time stamps are generated for each channel in the Vector network inter-face. The base for these time stamps is a common hardware clock in the device.

CAN

VectorCAN Interface

CH1 CH2

Time Stamp Clock

PCCANalyzer/CANoe

USB

Figure 29: Common time stamp clock for each channel

If themeasurement setup requires more than one Vector network interface, a syn-chronization of all connected interfaces and their hardware clocks is needed.

Due tomanufacturing and temperature tolerances, the hardware clocks may vary inspeed, so time stamps of various Vector devices drift over time.

Page 45: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

5 Time Synchronization

VN7640 Manual Version 1.2 45

CAN

FlexRay

VectorCAN Interface

CH1 CH2Time Stamp Clock

PC

VectorFR Interface

CHA CHBTime Stamp Clock

sec0.0000000.1003760.2003820.3003720.4004060.5005930.600242

sec0.0000000.1003830.2009820.3014560.4026120.5038850.604092

CANalyzer/CANoeUSB USB

Figure 30: Example of unsynchronized network interfaces. Independent time stampsdrift apart

To compensate for these time stamp deviations between the Vector network inter-faces, the time stamps can be either synchronized by software or by hardware (seenext section).

NoteThe accuracy of the software and hardware sync depends on the interface. Furtherinformation on specific values can be found in the technical data of the respectivedevices.

Page 46: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

5 Time Synchronization

VN7640 Manual Version 1.2 46

5.2 Software SyncSynchronizationby software

The software time synchronization is driver-based and available for all applicationswithout any restrictions. The time stamp deviations from different Vector network inter-faces are calculated and synchronized to the common PC clock. For this purpose nofurther hardware setup is required.

CAN

FlexRay

VectorCAN Interface

CH1 CH2Time Stamp Clock

VectorFR Interface

CHA CHBTime Stamp Clock

synchronizationby software (PC clock)

sec0.0000001.1003561.2003622.3003622.4003563.5003533.600362

PC

sec0.0000001.1004131.2004212.3004292.4004193.5004153.600420

PC clockCANalyzer/CANoeUSB USB

Figure 31: Time stampsof devicesare synchronized to the PC clock

The setting of the software time synchronization can be changed in theVector Hard-ware Config tool inGeneral information | Settings | Software time syn-chronization.

Figure 32: Switching on the software synchronization

YESThe software time synchronization is active.

NOThe software time synchronization is not active. Use this setting only if the Vectornetwork interfaces are being synchronized over the sync line or if only a singledevice is used.

Page 47: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

5 Time Synchronization

VN7640 Manual Version 1.2 47

5.3 Hardware SyncSynchronizationby hardware

A more accurate time synchronization of multiple devices is provided by the hardwaresynchronization which has to be supported by the application (e. g. CANalyzer,CANoe). Two Vector network interfaces can therefore be connected with theSYNCcableXL (see accessories manual, part number 05018).

In order to synchronize up to five devices at the same time, a distribution box is avail-able (see accessories manual, part number 05085).

VN1630A

VN5610A

VN1640A

Multi SYNCbox external

VN1640A

USB PC

PC

VN7570

SYNCcable XL

SYNCcable XL

SYNCcable XL

SYNCcable XL

USB PC

Vector Devices

USB PC

USB PC

USB PC

Power

Figure 33: Example of a time synchronization with multiple devices

VN5610A

VN8912A

Power

VN5610A

VN1640A

Multi SYNCbox external

VN1640A

USB

VN

8912

A

USB PC

SYNCcable XLSYNCcable XL

SYNCcable XL

SYNCcable XL

Power

Power

Figure 34: Example of a time synchronization with VN8912A and additional devices

At each falling edge on the sync line which is initiated by the application, the Vectornetwork interface generates a time stamp that is provided to the application. This

Page 48: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

5 Time Synchronization

VN7640 Manual Version 1.2 48

allows the application to calculate the deviations between the network interfaces andto synchronize the time stamps to a common time base (master clock) which isdefined by the application.

CANalyzer/CANoe

CAN

FlexRay

VectorCAN Interface

CH2Time Stamp Clock

USB

VectorFR Interface

CHBMaster Time Stamp Clock

synchronizationby hardware (SYNCcable)

sec0.0000001.1003751.2003812.3003712.4004053.5005923.600241

CH1 CHA

sec0.0000001.1003761.2003822.3003722.4004063.5005933.600242

PC

USB

Figure 35: Time stampsare synchronized to themaster clock

NoteThe hardware synchronizationmust be supported by the application. For furtherinformation please refer to the relevant applicationmanual. Please note that thesoftware synchronizationmust be disabled (seeVector Hardware Config | Gen-eral information | Settings | Software time synchronization) if the hardwaresynchronization is used.

Page 49: VN7640 FlexRay/CAN/LIN/EthernetInterface Manual · 4xCAN CH1 CH2 CH3 CH4 CANpiggy1 CANpiggy2 CANpiggy3 CANpiggy4 1xFR 3xCAN CH1 CH2 CH3 CH4 FRpiggyC CANpiggy1 CANpiggy2 CANpiggy3

Get More Information

Visit our website for:

News

Products

Demo software

Support

Training classes

Addresses

www.vector.com