5.1 Setup

The test setup consists of the following components:
  • Node 0: SAM E54 Xplained Pro evaluation kit with LAN8651 connected

    (or) STM32F413ZH Nucleo-144 with LAN8651 connected

  • Node 1: Raspberry Pi 4 with EVB-LAN8670-USB Rev. C1/C2 connected
Tip: To prepare a node setup with EVB-LAN8670-USB in Raspberry Pi 4 refer to the following link: www.microchip.com/en-us/application-notes/00005992.

To test the throughput between the nodes, “Iperf” version 2.0.5 (08 Jul 2010) “pthreads” is used in Raspberry Pi 4 node.

Prepare a two-node setup and perform the test by running the following commands on the respective nodes.

Test Case 1

Node 1: Server (EVB-LAN8670-USB)

$ iperf -s -l 1460 -u -B <server_ip_address> -i 1

Example: $ iperf -s -l 1460 -u -B 192.0.2.2 -i 1

Node 2: Client (LAN8651)

$ zperf udp upload <server_ip_address> 5001 10 1460 10M

Example: $ zperf udp upload 192.0.2.2 5001 10 1460 10M

Test Case 2

Node 1: Server (LAN8651)

Example: $ zperf udp download 5001

Node 2: Client (EVB-LAN8670-USB)

$ iperf -l 1460 -u -c <server_ip_address> -i 1 -b 10M -p 5001

Example: $ iperf -l 1460 -u -c 192.0.2.1 -i 1 -b 10M -p 5001