Page 1
This getting started guide describes the Atmel ATWINC1500 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 ATWINC1500 firmware. The following topics will be covered: ...
How to Debug ATWINC1500 Wi-Fi Firmware ............21 How to Download New ATWINC1500 Firmware ............22 Download Firmware ..........................22 Download Certificate File ........................25 Conclusion ......................... 26 Revision History ......................27 Getting Started Guide for ATWINC1500 W-Fi using SAM D21 Xplained Pro [USER GUIDE] Atmel-42417A-Getting-Started-Guide-for-ATWINC1500WiFi-using-SAMD21-Xplained-Pro_UserGuide_032015...
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 ATWINC1500 W-Fi using SAM D21 Xplained Pro [USER GUIDE] Atmel-42417A-Getting-Started-Guide-for-ATWINC1500WiFi-using-SAMD21-Xplained-Pro_UserGuide_032015...
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
Run Atmel Studio 6.2. You can see the start page of Atmel Studio 6. Update ASF to the latest version. Menu → Tools → Extension Manager Getting Started Guide for ATWINC1500 W-Fi using SAM D21 Xplained Pro [USER GUIDE] Atmel-42417A-Getting-Started-Guide-for-ATWINC1500WiFi-using-SAMD21-Xplained-Pro_UserGuide_032015...
ATWINC1500 Extension package contains the ATWINC1500 software (latest firmware, Firmware update Tools, and Example projects). As an Atmel Studio Extension (.vsix file), which can be found on the Atmel Gallery web site (http://gallery.atmel.com/) or using the Atmel Studio Extension manager.
Page 7
Input “FIRMWARE” in the search window then you can find an example named like “WINC1500_FIRMWARE_UPDATE_AND_DOCUMENTATION”. This project contains documentation and tools to upgrade ATWINC1500 firmware to the specific version which is matched up with the Wi-Fi driver in example projects. It also contains documentation on how to run example projects in this extension.
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.
ATWINC1500 connects to any Atmel AVR or SMART MCU with minimal resource requirements. The ATWINC1500 most advanced mode is a single stream 1x1 802.11n mode providing up to 72Mbps PHY throughput. ATWINC1500 features fully integrated Power Amplifier, LNA, Switch, and Power Management.
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 11
Controlled by 4-wire SPI interface, up to 100MHz Three LEDs Three mechanical push buttons Xplained Pro hardware identification system More detailed information about Atmel OLED1 Xplained Pro: http://www.atmel.com/images/atmel-42077-oled1-xplained-pro_user-guide.pdf Getting Started Guide for ATWINC1500 W-Fi using SAM D21 Xplained Pro [USER GUIDE] Atmel-42417A-Getting-Started-Guide-for-ATWINC1500WiFi-using-SAMD21-Xplained-Pro_UserGuide_032015...
Getting Started with ATWINC1500 IoT Examples This chapter introduces ATWINC1500 IoT examples and describes how to run an example on the SAM D21 board. Organization of ATWINC1500 IoT Examples All these examples are included in the ASF package and there are various IoT examples using Wi-Fi module.
Connect the ATWINC1500 Wi-Fi module to the SAM D21 as shown in the figure. The ATWINC1500 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 ATWINC1500 Wi-Fi module while keeping an easy and reliable solution to add wireless capabilities to any user application.
How to Get Weather Client Example Project This example demonstrates the use of the ATWINC1500 with the SAM D21 Xplained Pro board to receive weather information from a weather server. It uses the following hardware: The SAM D21 Xplained Pro ...
Page 15
Open the Weather client example via File → New → Example Project (Ctrl + Shift + E). Input “WEATHER” in the search window then you can find an example named like “SAMD21_XPLAINED_PRO_WINC1500_WEATHER_CLIENT_EXAMPLE”. Getting Started Guide for ATWINC1500 W-Fi using SAM D21 Xplained Pro [USER GUIDE] Atmel-42417A-Getting-Started-Guide-for-ATWINC1500WiFi-using-SAMD21-Xplained-Pro_UserGuide_032015...
Press the OK button then Atmel Studio will bring over the project source code of the example. How to Build and Execute This guide demonstrates how to build an example and execute it on the SAM D21 Xplained Pro. Build the solution (F7) and ensure you get no errors.
Page 17
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 ATWINC1500 W-Fi using SAM D21 Xplained Pro [USER GUIDE] Atmel-42417A-Getting-Started-Guide-for-ATWINC1500WiFi-using-SAMD21-Xplained-Pro_UserGuide_032015...
Connect to [atmelconfig.com] via AP[WINC1500_08:CA] and fill up the page. Provisioning As seen in the log message, the device is waiting for provisioning. In this stage, the ATWINC1500 device will running as AP mode, waiting for user setup a credential for desired Access Point to use.
Page 19
To set up a desired AP Connect your mobile device to ATWINC1500 in Wi-Fi Setting. Browse the webpage (atmel.com) for setting AP, fill up the page then press Connect button. Getting Started Guide for ATWINC1500 W-Fi using SAM D21 Xplained Pro [USER GUIDE]...
Page 20
Then ATWINC1500 will run as a client and will connect to the AP which you selected (the mobile device will be disconnected from your ATWINC1500). After the network is online, the device will communicate with the weather server. The weather info will be shown on the terminal window.
How to Debug ATWINC1500 Wi-Fi Firmware ATWINC1500 Xplained Pro board provides UART interface for debugging. You can connect the ATWINC1500 Xplained Pro board to your PC using a USB-to-Serial device and a debug USB connector to get firmware debug information.
How to Download New ATWINC1500 Firmware As Wi-Fi host driver is coupled with ATWINC1500 firmware, you have to match up the firmware version with the Wi-Fi host driver version. You can check these versions via firmware debug message when the device is booted up.
Page 23
>>This task finished after 11.42 sec ####################################################################### ######## ###### ###### ## ## ## ## ######## ###### ###### ######### ## ## ## ## ###### ###### ####################################################################### Downloading ends successfully Getting Started Guide for ATWINC1500 W-Fi using SAM D21 Xplained Pro [USER GUIDE] Atmel-42417A-Getting-Started-Guide-for-ATWINC1500WiFi-using-SAMD21-Xplained-Pro_UserGuide_032015...
Page 24
If you see a failed message, you must check if your device is assembled correctly. You must check the terminal program. Do not connect SAM D21 VIRTUAL COM PORT via terminal program. Retry firmware download again. Getting Started Guide for ATWINC1500 W-Fi using SAM D21 Xplained Pro [USER GUIDE] Atmel-42417A-Getting-Started-Guide-for-ATWINC1500WiFi-using-SAMD21-Xplained-Pro_UserGuide_032015...
Download Certificate File You need a certificate to set up a TLS connection and ATWINC1500 Firmware contains some root certificate files. This guide demonstrates how to download certificate files. It is similar to Firmware download. It is assumed that you already have your “Test_Root.cer” file.
How to update firmware, certificates, and getting log message You have seen how to use the ATWINC1500 Wi-Fi module and manage module software up-to-date. It is an essential part of utilizing the other ATWINC1500 resources. Getting Started Guide for ATWINC1500 W-Fi using SAM D21 Xplained Pro [USER GUIDE]...
Revision History Doc Rev. Date Comments 42417A 03/2015 Initial document release. Getting Started Guide for ATWINC1500 W-Fi using SAM D21 Xplained Pro [USER GUIDE] Atmel-42417A-Getting-Started-Guide-for-ATWINC1500WiFi-using-SAMD21-Xplained-Pro_UserGuide_032015...
Page 28
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 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.
Need help?
Do you have a question about the ATWINC1500 and is the answer not in the manual?
Questions and answers