BENCHMARK WINC1500 Wi-Fi Module Benchmark using iperf 2.0.5 BENCH-XXXX Prerequisites Hardware Prerequisites Atmel Xplained Pro Evaluation Kit Atmel WINC1500 extension USB Micro Cable (TypeA / MicroB) Software Prerequisites Atmel Studio 6.2 iperf project Introduction This document provides bandwidth information for TCP and UDP protocol. It applies to the following products: SAM4S Xplained Pro SAMG53 Xplained Pro SAMD21 Xplained Pro 42271A05/14
16
Embed
Introduction-to-the-WINC1500-WiFi-Network-Controller Web viewWord Options > Advanced > scroll to . Show document content > Show bookmarks. ......
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
BENCHMARK
WINC1500 Wi-Fi Module Benchmark using iperf 2.0.5
BENCH-XXXX
Prerequisites
Hardware Prerequisites Atmel Xplained Pro Evaluation Kit Atmel WINC1500 extension USB Micro Cable (TypeA / MicroB)
Software Prerequisites Atmel Studio 6.2 iperf project
Introduction
This document provides bandwidth information for TCP and UDP protocol. It applies to the following products:
SAM4S Xplained Pro SAMG53 Xplained Pro SAMD21 Xplained Pro
Introduction-to-the-WINC1500-WiFi-Network-Controller-using-SAM-D21-Xplained-Pro: 8/24/2014Page 2 of 13
Icon Key Identifiers
Icons are used to identify different assignment sections and reduce complexity. These icons are:
Delivers contextual information about a specific topic
Highlights useful tips and techniques
Highlights objectives to be completed
Highlights the expected result of an assignment step
Indicates important information
Highlights actions to be executed out of the target when necessary
Introduction-to-the-WINC1500-WiFi-Network-Controller-using-SAM-D21-Xplained-Pro: 8/24/2014Page 3 of 13
1. Benchmark configuration
1.1 Solution OverviewThe purpose of this benchmark is to measure the bandwidth of the WINC1500 Wi-Fi module with several different Atmel MCU devices.
The iperf version used is 2.0.5. Hence, it has been ported to Atmel MCU and operates as a server.
To run this project you will need to have:
Atmel Xplained Pro board (supported chip list below) Atmel WINC1500 extension Atmel Studio 6.2.1153 or above Iperf project Linux laptop with iperf v2.0.5 installed
The iperf project has been ported to the following Atmel MCU:
Atmel SAM4S Xplained Pro board Atmel SAMD21 Xplained Pro board Atmel SAMG53 Xplained Pro board
The purpose of this document is to evaluate the bandwidth of the WINC1500 Wi-Fi module for TCP and UDP protocol throughout the available WINC1500 firmware release.
Introduction-to-the-WINC1500-WiFi-Network-Controller-using-SAM-D21-Xplained-Pro: 8/24/2014Page 4 of 13
2. Firmware release 18
2.1 SAM4S Xplained ProCPU is running at 120Mhz and SPI is set at 60Mhz, compiled with -oS:
TCP Bandwidth UDP Bandwidth
RX thibault@ubuntu:~$ iperf -c 192.168.1.4 -i 5 -r------------------------------------------------------------Server listening on TCP port 5001TCP window size: 85.3 KByte (default)------------------------------------------------------------------------------------------------------------------------Client connecting to 192.168.1.4, TCP port 5001TCP window size: 20.8 KByte (default)------------------------------------------------------------[ 5] local 192.168.1.5 port 59733 connected with 192.168.1.4 port 5001[ ID] Interval Transfer Bandwidth[ 5] 0.0- 5.0 sec 4.00 MBytes 6.71 Mbits/sec[ 5] 5.0-10.0 sec 4.00 MBytes 6.71 Mbits/sec[ 5] 0.0-10.2 sec 8.12 MBytes 6.68 Mbits/sec
This test gives an idea of bandwidth performance we could expect from the SAMD21 Xplained Pro if the host driver was to use DMA.
2.3 SAMD21 Xplained Pro
The SAMD21 port is not optimized as the SPI implementation is based on polling. Hence, performances are more impacted by optimization level. For this test only, several optimization levels will be tested.
Introduction-to-the-WINC1500-WiFi-Network-Controller-using-SAM-D21-Xplained-Pro: 8/24/2014Page 8 of 13
CPU is running at 48Mhz and SPI is set at 12Mhz, compiled with –oS:
TCP Bandwidth UDP Bandwidth
RX thibault@ubuntu:~$ iperf -c 192.168.1.4 -i 5 -r------------------------------------------------------------Server listening on TCP port 5001TCP window size: 85.3 KByte (default)------------------------------------------------------------------------------------------------------------------------Client connecting to 192.168.1.4, TCP port 5001TCP window size: 20.8 KByte (default)------------------------------------------------------------[ 5] local 192.168.1.5 port 59762 connected with 192.168.1.4 port 5001[ ID] Interval Transfer Bandwidth[ 5] 0.0- 5.0 sec 768 KBytes 1.26 Mbits/sec[ 5] 5.0-10.0 sec 768 KBytes 1.26 Mbits/sec[ 5] 0.0-11.8 sec 1.62 MBytes 1.16 Mbits/sec
To ensure good TCP TX performances, the send function call must NOT be made from the SOCKET_MSG_SENT callback. It is advised to put the function call directly in the program main loop (where function m2m_wifi_handle_events is periodically called).
3. Performance summaryThe following table gives an overview of the best possible performances according to the previous test reports:
Introduction-to-the-WINC1500-WiFi-Network-Controller-using-SAM-D21-Xplained-Pro: 8/24/2014Page 10 of 13
Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and products descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.