Objective
This lab demonstrates the ease of use of the WINC1500 module to enable wireless connectivity. We will connect the host MCU to a secure Acces Point (AP) using the WINC1500 module.
Materials
Hardware Tools
Tool | About | Purchase |
---|---|---|
ATWINC1500-XPRO
Development Board |
| |
| |
Software Tools
Tool | About | Installers |
Installation
Instructions |
||
---|---|---|---|---|---|
Windows | Linux | Mac OSX | |||
Atmel® Studio
Integrated Development Environment |
| | | | |
Advanced Software Framework v3 (ASF3)
Integrated Software Framework |
| Included with Atmel® Studio7 IDE |
Connection Diagram
Procedure
When an update for the WINC module is provided, it usually combines the Wi-Fi software API for the host MCU and a binary firmware for the WINC module. To ensure the compatibility between the Wi-Fi software API on the host MCU and the WINC module, a major/minor/patch version number is used and verified at the Wi-Fi driver init. When a version mismatch is detected at startup, the Wi-Fi driver initialization fails and the m2m_wifi_init() function returns an error code:
If you see the Mismatch Firmware Version error, you will need to update the firmware on your module by following the instructions on the "WINC1500 Firmware Update" page.
Results
In this example, the Access Points are scanned and if a scanned AP matches the pre-configured AP in the application, the WINC1500 connects to it.
Table of Contents
|