Advertisement

Quick Links

Getting Started Guide for ATWINC3400 Wi-Fi using SAM
Introduction
This getting started guide describes the Atmel
Controller to build state-of-the-art Internet of Things (IoT) applications. The guide
explains hardware information and how to install Atmel Studio (IDE), compile
examples, and download ATWINC3400 firmware.
The following topics will be covered:
How to get Atmel Studio (IDE) and install it
Update new ASF package
Target board information
How to get time client example project
How to get log message
How to download firmware and certificate
Prerequisites
Hardware Prerequisites
Atmel SAM D21 Xplained Pro Evaluation Kit
Atmel ATWINC3400-XPRO extension board
Atmel IO1 extension board
Micro-USB cable (Micro-A / Micro-B)
Software Prerequisites
Atmel Studio 7.0
Time client example project source code
Atmel-42640A-Getting-Started-Guide-for-ATWINC3400WiFi-using-SAMD21-Xplained-Pro_UserGuide_02/2016
ATWINC3400
D21 Xplained Pro
USER GUIDE
®
®
ATWINC3400 Wi-Fi
Network

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ATWINC3400 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Atmel ATWINC3400

  • Page 1 This getting started guide describes the Atmel ATWINC3400 Wi-Fi Network Controller to build state-of-the-art Internet of Things (IoT) applications. The guide explains hardware information and how to install Atmel Studio (IDE), compile examples, and download ATWINC3400 firmware. The following topics will be covered: ...
  • Page 2: Table Of Contents

    Connect the Board ..........................16 How to Get Time Client Example Project .................... 17 How to Build and Execute ........................19 Conclusion ......................... 22 Revision History ......................23 Getting Started Guide for ATWINC3400 W-Fi using SAM D21 Xplained Pro [USER GUIDE] Atmel-42640A-Getting-Started-Guide-for-ATWINC3400WiFi-using-SAMD21-Xplained-Pro_UserGuide_02/2016...
  • Page 3: Icon Key Identifiers

    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. Getting Started Guide for ATWINC3400 W-Fi using SAM D21 Xplained Pro [USER GUIDE] Atmel-42640A-Getting-Started-Guide-for-ATWINC3400WiFi-using-SAMD21-Xplained-Pro_UserGuide_02/2016...
  • Page 4: Getting Started With Atmel Studio

    Atmel SAM3 ARM Cortex-M3 and M4 Flash devices. If the ASF version in your Atmel Studio is not the latest one you will be notified when Atmel Studio starts. The following procedure demonstrates how to update the ASF to the latest version. You can install other extensions in the list as well.
  • Page 5 You can see the start page of Atmel Studio 7.0. Update ASF to the latest version. Menu → Tools → Extension Manager Available Downloads → Updates → Atmel Software Framework Getting Started Guide for ATWINC3400 W-Fi using SAM D21 Xplained Pro [USER GUIDE] Atmel-42640A-Getting-Started-Guide-for-ATWINC3400WiFi-using-SAMD21-Xplained-Pro_UserGuide_02/2016...
  • Page 6 Restart Atmel Studio to take effect of the newly installed extension. Restart Atmel Studio. Open the Tools and Document via File → New → Example Project (Ctrl + Shift + E). Getting Started Guide for ATWINC3400 W-Fi using SAM D21 Xplained Pro [USER GUIDE] Atmel-42640A-Getting-Started-Guide-for-ATWINC3400WiFi-using-SAMD21-Xplained-Pro_UserGuide_02/2016...
  • Page 7: Getting Started With Atmel Hardware

    IO1 and the OLED1 extension boards are optional. Atmel SMART SAMD21-XPRO Evaluation Kit The Atmel SAM D21 Xplained Pro evaluation kit is ideal for evaluating and prototyping with the Atmel SAM D21 ARM Cortex-M0+ based microcontrollers. Extension boards to the SAM D21 Xplained Pro can be purchased individually.
  • Page 8: Atmel Smartconnect Atwinc3400-Xpro Wi-Fi Extension Board

    ATWINC3400 connects to any Atmel AVR or SMART MCU with minimal resource requirements. The ATWINC3400 most advanced mode is a single stream 1x1 802.11n mode providing up to 72Mbps PHY throughput. ATWINC3400 features fully integrated Power Amplifier, LNA, Switch, and Power Management.
  • Page 9: Atmel Io1-Xpro Sensor Extension Board

    Atmel IO1-XPRO Sensor Extension Board Atmel IO1 Xplained Pro extension board is a generic extension board for the Xplained Pro platform. It connects to any Xplained Pro standard extension header on any Xplained Pro MCU board. The extension board utilizes all functions on the standard Xplained Pro extension header to further enhance the feature set of Xplained Pro MCU boards.
  • Page 10: Atmel Oled1-Xpro Display Extension Board

    Atmel OLED1-XPRO Display Extension Board Atmel OLED1 Xplained Pro is an extension board to the Atmel Xplained Pro evaluation platform. The board enables the user to experiment with user interface applications with buttons, LEDs, and a display.  UG-2832HSWEG04 monochrome OLED display –...
  • Page 11: How To Debug Atwinc3400 Wi-Fi Firmware

    How to Debug ATWINC3400 Wi-Fi Firmware ATWINC3400 Xplained Pro board provides UART interface for debugging. You can connect the ATWINC3400 XPRO board to your PC using a USB-to-Serial device and a debug USB connector to get firmware debug information. Open the ATWINC3400 DEBUG USB serial COM port, with the following settings: ...
  • Page 12: How To Download New Atwinc3400 Firmware

    How to Download New ATWINC3400 Firmware Download Firmware This section demonstrates the use of the ATWINC3400 with the SAM D21 Xplained Pro board to upgrade firmware of the ATWINC3400 Wi-Fi module. This is a basic operation to download firmware. It uses the following hardware: ...
  • Page 13 ###### ###### ######### ## ## ## ## ###### ###### ####################################################################### Downloading ends successfully FAILED firmware download. The following information will be displayed on the command window. Getting Started Guide for ATWINC3400 W-Fi using SAM D21 Xplained Pro [USER GUIDE] Atmel-42640A-Getting-Started-Guide-for-ATWINC3400WiFi-using-SAMD21-Xplained-Pro_UserGuide_02/2016...
  • Page 14 You must check the terminal program. Do not connect SAM D21 VIRTUAL COM PORT via terminal program. Power cycle the board and retry firmware download again. Getting Started Guide for ATWINC3400 W-Fi using SAM D21 Xplained Pro [USER GUIDE] Atmel-42640A-Getting-Started-Guide-for-ATWINC3400WiFi-using-SAMD21-Xplained-Pro_UserGuide_02/2016...
  • Page 15: Getting Started With Atwinc3400 Iot Examples

    Getting Started with ATWINC3400 IoT Examples This chapter introduces ATWINC3400 IoT examples and describes how to run an example on the SAM D21 board. Organization of ATWINC3400 IoT Examples All these examples are included in the ASF package and there are various IoT examples using Wi-Fi module.
  • Page 16: Connect The Board

    Connect the ATWINC3400 Wi-Fi module to the SAM D21 as shown in the figure below. The ATWINC3400 Wi-Fi module comes with a Wi-Fi software API. The purpose of this API is to provide an abstraction of the binary protocol used between the host processor and the ATWINC3400 Wi-Fi module while keeping an easy and reliable solution to add wireless capabilities to any user application.
  • Page 17: How To Get Time Client Example Project

    How to Get Time Client Example Project This example demonstrates the use of the ATWINC3400 with the SAM D21 Xplained Pro board to receive time information from a time server. It uses the following hardware:  The SAM D21 Xplained Pro ...
  • Page 18 Open the Time client example via File → New → Example Project (Ctrl + Shift + E). Input “Time Client” in the search window then you can find an example named like “WINC3400 Time Client Example – SAM D21 Xplained Pro”. Getting Started Guide for ATWINC3400 W-Fi using SAM D21 Xplained Pro [USER GUIDE] Atmel-42640A-Getting-Started-Guide-for-ATWINC3400WiFi-using-SAMD21-Xplained-Pro_UserGuide_02/2016...
  • Page 19: How To Build And Execute

    Press the OK button then Atmel Studio will bring over the project source code of the example. Open the “main.h” file and edit the MAIN_WLAN_SSID, MAIN_WLAN_AUTH and MAIN_WLAN_PSK to reflect your own AP settings. How to Build and Execute This guide demonstrates how to build an example and execute it on the SAM D21 Xplained Pro.
  • Page 20 You may be asked to upgrade your EDBG firmware. If so, click on Upgrade button: Upgrade operation may take a few minutes, wait for the operation to complete. The example is now programmed and running. Getting Started Guide for ATWINC3400 W-Fi using SAM D21 Xplained Pro [USER GUIDE] Atmel-42640A-Getting-Started-Guide-for-ATWINC3400WiFi-using-SAMD21-Xplained-Pro_UserGuide_02/2016...
  • Page 21 Open a serial terminal tool to see the result. You can use your preferred serial terminal, such as PuTTY, TeraTerm, etc. You can also use terminal window plug-in in Atmel studio. You can install it through below menu. (Menu → Tools → Extension Manager.) Connect to the device.
  • Page 22: Conclusion

     How to update firmware and getting log message You have seen how to use the ATWINC3400 Wi-Fi module and manage module software up-to-date. It is an essential part of utilizing the other ATWINC3400 resources. Getting Started Guide for ATWINC3400 W-Fi using SAM D21 Xplained Pro [USER GUIDE]...
  • Page 23: Revision History

    Revision History Doc Rev. Date Comments 42640A 02/2016 Initial document release. Getting Started Guide for ATWINC3400 W-Fi using SAM D21 Xplained Pro [USER GUIDE] Atmel-42640A-Getting-Started-Guide-for-ATWINC3400WiFi-using-SAMD21-Xplained-Pro_UserGuide_02/2016...
  • Page 24 DISCLAIMER: The information in this document is provided in connection with Atmel products. No license, express or implied, b y 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 COND ITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIM S 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.

Table of Contents