Getting Started with VN5640

Version 1.0

Application Note AN-IND-1-020

Author: Vector Informatik GmbH

Restrictions: Public Document

Abstract: This document details the configuration steps for the VN5640 interface, focusing on Ethernet-specific settings relevant to your use case.

1 Overview

The Vector VN5640 is a 16-channel Ethernet interface designed for complex measurement, simulation, and test tasks. It also includes two CAN channels and an I/O interface. This guide provides an overview of the necessary configuration steps, with a particular focus on Ethernet configuration.

2 Definitions of Terms

2.1 Client Application

Applications like CANoe, CANalyzer, or CANape that connect to the VN5640 via one or more application channels.

2.2 Hardware Channel

A physical connection on the VN5640 interface used for connecting external devices.

2.3 Hardware Segment

A hardware segment provides access to an Ethernet network, potentially combining multiple hardware channels to offer a single application channel to the client. Available types include:

2.4 TAP

A TAP serves as a measuring point between two communication partners. For point-to-point Ethernet connections, an intelligent unit like the VN5640 is used. Each TAP offers options:

Note: For detailed information on bypassing latency, consult the VN5640 user manual.

2.5 Application Channel

Connects the Vector interface to the client application. In systems like CAN or FlexRay, an application channel is typically mapped to a physical hardware channel within the Vector Hardware Config dialog. Each application channel corresponds to one network in the client application.

Diagram Description (Figure 3): Illustrates the connection of a Vector interface to a CANoe simulation setup. It shows hardware channels (CAN, LIN) mapped to application channels (CANoe CAN 1, CANoe CAN 2, CANoe LIN 1), which then connect to networks within the CANoe simulation.

The VN5640 allows assigning application channels to hardware segments. The number of hardware channels per segment is determined by the selected operation mode (see section 3.1.1).

2.6 Standard Configuration

Settings configured in the Vector Hardware Config dialog, including the number of segments, hardware channel (PHY) settings, and TAP configurations. These settings are stored permanently in the VN5640's flash memory and applied upon each power-on.

2.7 Standalone Mode

The VN5640 can operate without a connected computer or client application, using its standard configuration. Section 4 explains how to override this configuration for CANoe/CANalyzer measurements.

3 Configuration of the VN5640 Interface

3.1 Creation of the Standard Configuration

Configuration is performed using the Vector Hardware Config dialog, accessible via the system control or the [Driver...] button in CANoe/CANalyzer's Network Hardware Configuration dialog.

Diagram Description (Figure 4): Shows the Vector Hardware Config dialog. The left pane lists connected Vector interfaces. Under the VN5640 entry, hardware segments are displayed. Application channels can be assigned to hardware segments via the context menu. The operation mode, which determines the number of segments, can be changed by selecting 'Device Configuration' from the context menu of the VN5640 entry or from the Details view.

3.1.1 Selection of the Operation Mode

Choose an operation mode suitable for your use case:

Operation ModeDescription
SimulationFor general network topology flexibility. The interface forwards all Ethernet packets, with the built-in switch learning MAC addresses. CAPL functions allow direct sending via specific connectors.
MeasurementPreserves network topology. Provides 8 network access points per segment for tapping into a network. Options for MAC or PHY bypass mode are available for modifying transmitted packets. CAPL functions support direct sending via specific connectors.
Direct ConnectionOffers direct access to all 16 hardware channels for tasks like accessing diagnosis ports. Channels operate independently without packet forwarding.
Media ConversionConnects Ethernet devices with different media requirements. Provides four media converters and four additional network access points, with MAC/PHY bypass options. CAPL functions support direct sending.
Direct Connection with TAP (legacy)For compatibility with older VN5610/VN5610A configurations. Allows setting a TAP between two segments.

Diagram Description (Figure 5): Illustrates the operation mode selection within the VN5640 Device Configuration dialog. It shows the interface ports and segments, with options to select bypass modes.

3.1.2 Configuration of the Hardware Segments/Hardware Channels

After selecting an operation mode, the dialog's central area updates to show hardware configuration. Select segments or channels to make settings in the lower area.

Note: Selecting a hardware segment causes its assigned hardware channel LEDs to flash, aiding in cabling.

Example: Configuration of a TAP

  1. Select Measurement or Media Conversion operation mode.
  2. Select a hardware segment.
  3. Choose the desired bypass functionality (e.g., PHY Bypass).
  4. Select hardware channel 1 of the segment and configure its physical layer.
  5. Select hardware channel 2 of the segment and configure its physical layer.
  6. Close the Device Configuration dialog. Settings are saved as standard configuration for standalone mode.

4 Overwriting the Standard Configuration at the Start of a Measurement of CANoe/CANalyzer

The VN5640's standard configuration can be temporarily overridden by a client application at the start of a measurement. The standard configuration reactivates upon measurement stop. Not all client applications support this feature.

Access the Network Hardware Configuration dialog in CANoe/CANalyzer (via the Hardware ribbon tab | Network Hardware) to overwrite settings not related to segments. Segment/channel assignments are managed via the Vector Hardware Config dialog and its operation mode (see 3.1.1).

Diagram Description (Figure 6): Shows the Network Hardware Configuration dialog, where users can select Ethernet configurations for measurement, including transfer modes and negotiation settings.

When to Overwrite Standard Configuration:

  1. Automated Settings: To ensure client applications (e.g., CANoe/CANalyzer) automatically apply specific settings to the Vector interface at measurement start. This is useful for distributing configurations to colleagues who can immediately start measurements without manual interface setup. Ensure correct external hardware connection, operation mode, and application channel assignment. The standard configuration is restored after the client application stops.
  2. Temporary Network Interference: For scenarios requiring minimal latency when a measurement stops, after initially setting up a TAP with PHY bypass. During measurement, CANoe can modify the TAP option (e.g., to MAC bypass for sending packets or Bypass Off for manipulation). Upon measurement stop, the system reverts to the standard PHY bypass configuration.

Note: Overwriting affects only hardware segments and channels; the operation mode must be set in the Vector Hardware Config dialog.

4.1.1 Definition of the Transfer Mode

In the Network Hardware Configuration dialog, select from the following transfer modes:

The transfer mode defines the expected transmission behavior. CANoe validates settings at measurement start; incompatible settings will cancel the measurement.

Diagram Description (Figure 7): Shows the Network Hardware Configuration dialog with the transfer mode selection dropdown, offering options like Switch, Y-cable, and Direct access.

4.1.2 Definition of the Bypass Method

This option is available when Y-cable or Direct access (with TAP) transfer modes are selected. It allows setting the bypass method for the TAP at the start of a measurement.

4.1.3 Configuration of the Hardware Channels

Hardware channels assigned to a segment can be configured via Ethx.y fields. In Switch mode, the number of channels can be adjusted with [+] and [-] buttons. Channels are configured sequentially from left to right. The first available channel matching the setting is used.

Example with VN5640:

A hardware segment with Switch transfer mode (16 channels) assigned to ETH1. The Network Hardware Configuration dialog shows settings for ETH 1.1 to ETH 1.5. At measurement start, hardware channel 1 uses setting 1 (IEEE 100BASE-T1, master). The next available channel for setting 2 (Auto-Negotiation) is hardware channel 13. The resulting configuration is detailed, showing assignments for channels 1-16.

5 Contacts

For a complete list of Vector locations and addresses worldwide, please visit http://vector.com/contact/.

PDF preview unavailable. Download the PDF instead.

AN-IND-1-020 Getting started with VN5640 Vector Informatik GmbH Adobe PDF Library 10.0

Related Documents

PreviewVector VN5620 Configurations: Automotive Ethernet Network Interfaces
Explore the VN5620 configurations for automotive Ethernet networks. This document details network-based access, TAP, and switch simulation capabilities, highlighting Vector's advanced Ethernet interface solutions for vehicles.
PreviewVN5000 Ethernetインターフェイスファミリ マニュアル
VN5000 Ethernetインターフェイスファミリ マニュアル:Vector Informatik GmbHによる自動車用Ethernetソリューションの詳細ガイド。VN5601、VN5610A、VN5611、VN5612、VN5620、VN5430、VN5640、VN5240、VN5650モデルの仕様、接続性、使用法、時間同期、DoIPなどの機能について解説。
PreviewUsing the Vector CANoe .NET API: Development and Testing Guide
This application note from Vector Informatik GmbH provides a comprehensive guide to utilizing the CANoe .NET API. It details how to integrate .NET programming languages, such as C#, into automotive software testing and simulation workflows, covering setup, programming, test features, and troubleshooting.
PreviewVector VN5610A/VN5640: High-Performance Ethernet/CAN Interface for Automotive
Discover the Vector VN5610A and VN5640, versatile USB network interfaces for automotive Ethernet and CAN (FD) communication. Explore features like multiple Ethernet channels, high-speed CAN FD, media conversion, and advanced monitoring capabilities for testing, simulation, and diagnostics.
PreviewCANoe 12.0 and CANalyzer 12.0 Feature Matrix
A comprehensive feature matrix detailing the capabilities of Vector's CANoe 12.0 and CANalyzer 12.0 automotive software tools, covering various bus systems, analysis functions, simulation capabilities, and system requirements.
PreviewCANoe 14 and CANalyzer 14 Feature Matrix
A comprehensive feature matrix comparing CANoe 14 and CANalyzer 14, detailing supported network systems, description formats, variants, and functionalities for automotive software development and testing.
PreviewVector CANoe/CANalyzer 12.0 New Features Webinar
An overview of the new features and improvements in Vector's CANoe and CANalyzer software, version 12.0, presented in a webinar. Covers communication concepts, Ethernet, testing, VT System, new options, Car2x, and additional protocols.
PreviewVector CANalyzer: Comprehensive Automotive Network Analysis Tool
Vector CANalyzer is a powerful software tool for analyzing, stimulating, and diagnosing automotive networks such as CAN, LIN, FlexRay, and Ethernet. This document provides an overview of its features, functions, interfaces, and options, including detailed explanations of its analysis windows, programming capabilities with CAPL, diagnostic functions, and hardware compatibility. It is designed for automotive engineers and developers working with in-vehicle communication systems.