Microchip Technology ATWINC15x0 Series Application Notes

Brand: Microchip Technology
Category: Motherboard
Model: ATWINC15x0 Series (Application Notes)
File Type: PDF
File Size: —
Pages: 22
Text of Microchip Technology ATWINC15x0 Series Application Notes

ATWINC15x0 Throughput Measurement using iPerf

Introduction This application note demonstrates execution of the demo iPerf application available for the SAM4S Xplained Pro evaluation kit and ATWINC15x0. The iPerf application is a tool which is used for measuring Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) bandwidth performance. This iPerf tool is built on a client/server model and can be used to measure maximum UDP and T

Microchip Technology ATWINC15x0 Series Table of Contents

Introduction......................................................................................................................1 Prerequisites....................................................................................................................1 1. ATWINC15x0 iPerf Setup ......................................................................................... 3 1.1. SAM4S Xplained Pro......................................

ATWINC15x0 iPerf Setup

The user can run the iPerf application using the command prompt on a computer and the customized iPerf implementation on the wireless board to measure the throughput performance. The iPerf application contains both client and server functionality. Typically, one acts as server and the other as client, where the iPerf application in the client side launches the test session. The iPerf application running in the ATSAM4S XPRO board o

Figure 1-1. SAM4S Xplained Pro Evaluation Kit

1.2 Hardware Setup Perform the following steps to create the iPerf setup. 1. Plug the ATWINC15x0 module to the EXT1 of the SAM4S Xplained Pro evaluation kit. 2. Power-up the SAM4S Xplained Pro evaluation kit by connecting the USB cable to the DEBUG USB port. ATWINC15x0 ATWINC15x0 iPerf Setup © 2018 Microchip Technology Inc. Application Note DS00002879A-page 4

Microchip Technology ATWINC15x0 Series Creating ATWINC15x0 iPerf Project in Atmel Studio

The demo iPerf application for the SAM4S Xplained Pro with the ATWINC15x0 is available in ASF Version 3.42 and all upcoming versions. Before creating a new iPerf project, verify the version of both the ATWINC1500 driver and firmware being used. The ATWINC1500 firmware version needs to be equal or higher to its driver version. The firmware upgrade details are detailed in the Appendix. This section explain

Figure 2-2. iPerf Application Directory Structure

ATWINC15x0 Creating ATWINC15x0 iPerf Project in Atmel Studio © 2018 Microchip Technology Inc. Application Note DS00002879A-page 6

Microchip Technology ATWINC15x0 Series Configuring and Loading the iPerf Application

To connect to the access point, the Station mode requires the Wi-Fi credentials, such as SSID and Security type. For this demo, WPA-PSK is used as an example. The following are the steps to configure and load the iPerf application. 1. Open the WINC1500_IPERF_SERVER_EXAMPLE1 project. 2. Configure the AP credentials; SSID and password in the iperf.h file. Configure the AP based on the supported security method

Figure 3-1. iPerf Serial Console Initial Log Output

Note:  iPerf initializes as UDP/TCP iPerf server. The IP address assigned to the ATWINC15x0 is available in the serial terminal. ATWINC15x0 Configuring and Loading the iPerf Applicat... © 2018 Microchip Technology Inc. Application Note DS00002879A-page 8

Microchip Technology Motherboard Owners Instructions: