Configuring Network Settings of NI Automotive Ethernet Modules

Updated Oct 19, 2021

Environment

Hardware

  • PXIe-8521
  • PXIe-8522
  • PXIe-8523
  • PXIe-8623

Driver

  • NI-XNET

The NI Automotive Ethernet Interface Module allows you to develop applications that require Automotive Ethernet to test and validate automotive electronic control units (ECUs) with the NI‑XNET driver. This article will walkthrough on how to configure the NI Automotive Ethernet Module network settings in Windows and NI Linux RT.

Windows

  1. Confirm that Intel I210 driver has been installed to detect your Automotive Ethernet device in Windows Device Manager. The driver should be automatically installed by Windows when you connected to internet. If it's not installed, you could download it from Downloads for Intel® Ethernet Controller I210 Series and install it manually. 
  2. Ensure that the supported NI-XNET driver is installed.
    • PXIe-8521: NI-XNET 19.0 or later
    • PXIe-8523/3: NI-XNET 20.1 or later
    • PXIe-8623: NI-XNET 21.0 or later
  3. Open NI Measurement and Automation Explorer (MAX). Skip steps 4 to 9 if you don't want to assign static IP to the ethernet ports.
  4. Take note of the OS Network Adapter Name assigned to the Ethernet interface you want to configure. For example as shown below, OS Network Adaptor Name is Local Area Connection 4.
  1. Go to the adaptor setting by selecting Network & Internet settings » Change adapter options.
  1. You'll see the Ethernet interfaces detected by Windows. To set the IP address, right-click on that interface and select Properties.
  1. Select Internet Protocol Version 4(TCP/IPv4) » Properties
  1. Select Use the following IP address, then set the IP address and subnet mask.
  1. You can verify that the IPv4 Address has been changed in NI MAX.
  1. Set the PHY State as Master or Slave. According to Interface:Ethernet:PHY State, two PHYs that are physically connected must be configured to use opposing PHY States. In other words, one PHY must be configured to be the Master, and the other PHY must be configured to be the slave. If the Adapter Properties is set to Obtain an IP address automatically, the ports with opposing PHY States will be assigned IP addresses automatically
  2. Set the Port Mode between the Direct and Tap. For more details about the Port mode, please refer to Using Ethernet.
 

NI Linux RT

  1. Ensure that the supported NI-XNET driver is installed on host PC and Real-Time target.
    • PXIe-8521: NI-XNET 19.0 or later
    • PXIe-8523/3: NI-XNET 20.1 or later
    • PXIe-8623: NI-XNET 21.0 or later
  2. Open NI Measurement and Automation Explorer (MAX). Skip steps 3 and 4 if you don't want to assign static IP to the ethernet ports.
  3. Locate your modules under Remote Systems. Take note of the OS Network Adapter Name assigned to the Ethernet interface you want to configure. For example as shown below, OS Network Adaptor Name is enp12s0. 
852x_Linux1.png
  1. Select PXIe controller under Remote Systems. Switch to Network Settings tab. Scroll down to locate the interface you wish to change. Set Configure IPv4 Address to Static, then set the IP Address and Subnet Mask. Click Save to apply the change.
852x_Linux3.png
  1. Set the PHY State as Master or Slave. According to Interface:Ethernet:PHY State, two PHYs that are physically connected must be configured to use opposing PHY States. In other words, one PHY must be configured to be the Master, and the other PHY must be configured to be the slave. If all connected ports are masters or slaves, the actual IPv4 addresses will remain 0.0.0.0 and the Link Speed will remain Link Down. If the Configure IPv4 Address is set to DHCP or Link Local, the ports with opposing PHY States will be assigned IP addresses automatically
  2. Set the Port Mode between the Direct and Tap. For more details about the Port mode, please refer to Using Ethernet.
 

Phar Lap ETS

NI Automotive Ethernet Interface modules are not supported on PXI/PXIe controllers running Phar Lap ETS Real-Time OS. See Automotive Ethernet PXIe Module Is Not Showing Up in NI-MAX.

Next Steps