Silicon Labs AMW006 User Manual

AMW006 Evaluation Guide
AMW006
Evaluation Guide
AMW006-E03
Not Recommended for New Designs
ARG-MW006E-100R AMW006 Evaluation Guide October 20, 2014 ©2014 ACKme Networks. http://ack.me
AMW006 Evaluation Guide
Not Recommended for New Designs
Contents
1 Introduction ........................................................... 1
2 Feature Identification ............................................ 2
2.1 AMW006-E03 ‘Moray’ .................................... 2
3 Using WiConnect .................................................... 3
3.1 Getting Help .................................................... 3
3.2 Scanning for Wi-Fi Networks .......................... 4
3.3 Joining a Wi-Fi Network .................................. 4
Web Setup .............................................. 4
Script Setup ............................................. 5
Manual Setup .......................................... 5
Wireless Protected Setup (WPS) ............ 6
3.4 Filesystem ....................................................... 7
3.5 Saving Custom Configurations ........................ 7
3.6 UDP / TCP / TLS Clients ................................... 8
3.7 HTTP / HTTPS Clients ...................................... 8
3.8 Using GPIOs .................................................... 9
3.9 Factory Reset ................................................ 10
3.10 Save & Reboot .............................................. 10
3.11 Command vs. Stream Mode ......................... 10
Command Mode ................................... 11
Stream Mode ........................................ 11
3.12 Want more? .................................................. 11
4 Ordering Information ........................................... 12
5 Revision History & Glossary ................................. 13
5.1 Revision History ............................................ 13
5.2 Glossary ........................................................ 13
APPENDIX A – Configuring a Terminal Application
APPENDIX B – Evaluation Board Schematics
ARG-MW006E-100R AMW006 Evaluation Guide Page | ii Page | ii ©2014 ACKme Networks. http://ack.me October 20, 2014 October 20, 2014
AMW006 Evaluation Guide
Introduction, Section 1
Feature
AMW006-E03 ‘Moray
Product Number
AMW006-E03
Module style
Surface mount
Serial Interface
USB-UART
Power supply
from USB
User LEDs
2 + 3
User Buttons
2
Reset Button
Yes
Expansion Headers
1 x 35-pin
AMW006-E03 ‘Moray’
(with AMW006 surface mount module)
Not Recommended for New Designs
1 Introduction
The AMW006 Numbat’ module is a fully certified small form factor, low power Wi-Fi networking module perfectly suited to deeply embedded applications requiring medium/high data throughput in medium to high volume.
The module runs WiConnect firmware, ACKme Networks easy-to-use and reliable serial Wi-Fi networking application that includes an embedded TCP/IP networking stack with SSL/TLS/HTTPS security.
Evaluation of WiConnect and the AMW006 module is available with the AMW006-E03 ‘Moray’ evaluation board. The evaluation board is shown in Figure 1 and its features are shown in Table 1.
Figure 1. AMW006 Moray Evaluation Board
Table 1. AMW006 Evaluation Board Features
Note! Customers that wish to evaluate the AMW006 module using WICED should obtain an alternative
evaluation board that provides AMW006 program and debug capability. See the AMW006-E01 Seabass’ WICED eval board.
ARG-MW006E-100R AMW006 Evaluation Guide Page | 1 Page | 1 ©2014 ACKme Networks. http://ack.me October 20, 2014 October 20, 2014
AMW006 Evaluation Guide
AMW006
H6 AMW006
H8 AMW006
H8 AMW006
H7
GND
2 GND
12 UART0_TX
20 GND
27
VDD_DUT
3 GPIO 5
13 GPIO 13
21 GPIO 18
28
GPIO 0
4 GPIO 6
14 GPIO 14
22 GPIO 19
29
GPIO 1
5 GPIO 7
15 GPIO 15
23 GPIO 20
30
GPIO 2
6 GPIO 8
16 GPIO 16
24 GPIO 21
31
GPIO 3
7 UART0_RTS
17 GPIO 17
25 GPIO 22
32
GPIO 4
8 UART0_CTS
18 GND
26 GPIO 23
33
OSC_32K
9 UART0_RX
19
RESET_N
34
VDD_DUT
10
VDD_DUT
35
GND
11
GND
36
USB UART Tx LED
Expansion Header H7
USB UART Rx LED
User LED 1*
User Button 2*
User Button 1*
Reset Button
Used to reset the AMW006 module
Power LED
Thermistor
Expansion Header H6
USB Micro Connector
Provides power to the board &
Ground Hook
User LED 2*
AMW006 Module
System Indicator LEDs*
UART Header H4
Expansion Header H8
Antenna Connections
* User configurable
Not Recommended for New Designs
Feature Identification, Section 2
2 Feature Identification
2.1 AMW006-E03 ‘Moray
The Moray evaluation board comes complete with a surface mount AMW006 Numbat’ module. Each pin on the Numbat module is connected to the expansion header. Schematics for the board are provided in Appendix B.
Figure 2. AMW006-E03 Features
USB-Serial UART to computer
Table 2. AMW006-E03 Expansion Header Connections
ARG-MW006E-100R AMW006 Evaluation Guide Page | 2 Page | 2 ©2014 ACKme Networks. http://ack.me October 20, 2014 October 20, 2014
AMW006 Evaluation Guide
Computer with Terminal Emulator
Moray Evaluation Board
USB Serial
Not Recommended for New Designs
Using WiConnect, Section 3
3 Using WiConnect
To get started with WiConnect, plug the AMW006 evaluation board into the USB port of the computer and open a terminal emulator as described in Appendix A. The USB cable provides the evaluation board with power and a serial UART connection to the computer.
With the board connected to the computer, verify the power LED is illuminated. If the power LED is NOT illuminated, try re-plugging the USB cable, or try a different USB cable.
Note! Be sure to use a quality USB cable. Inferior cables may result in reduced or intermittent operation of the evaluation board.
3.1 Getting Help
WiConnect provides extensive help for each command and variable. To obtain a list of help options, type the help command.
> help The following help options are available ... help all -> Print a list of all Commands and Variables help commands -> Print a list of Commands help variables -> Print a list of Variables help <command> -> Print help for a specific Command help <variable> -> Print help for a specific Variable
Additional help is available online at http://wiconnect.ack.me
To obtain help for a particular command or variable, type help <command> or help <variable>. To obtain help for the wlan_scan variable, type help wlan_scan.
> help wlan_scan Usage : wlan_scan [-v] [<channel> [ssid]] Shortcut: scan Brief : Initiate a Wi-Fi scan and return results; optionally specify a channel and AP SSID to scan for. For verbose scans, -v must be the first argument
ARG-MW006E-100R AMW006 Evaluation Guide Page | 3 Page | 3 ©2014 ACKme Networks. http://ack.me October 20, 2014 October 20, 2014
AMW006 Evaluation Guide
Remote Network
Name: YOUR_NETWORK_NAME
Local Network
Not Recommended for New Designs
Using WiConnect, Section 3
3.2 Scanning for Wi-Fi Networks
To scan for Wi-Fi networks in range, use the wlan_scan command. Each AP in range is listed on a separate line.
> wlan_scan -v
!3 networks found ! # Ch RSSI MAC BSSID Rate Security Mode Len Network (SSID)
# 0 06 -27 84:1B:5E:29:9D:F7 450.0 WPA2-Mixed Inf 17 YOUR_NETWORK_NAME # 1 11 -73 2C:B0:5D:31:6F:6A 300.0 WPA2-AES Inf 6 button
# 2 11 -73 EC:1A:59:36:5B:6C 144.4 WPA2-Mixed Inf 5 ACKme
3.3 Joining a Wi-Fi Network
Several methods are available to configure and join the AMW006 module to a Wi-Fi network.
Web Setup
WiConnect provides the option to use a web browser running on a network client (such as a smartphone, tablet or computer) to select the remote Wi-Fi network the AMW006 module should join, and to enter a password for the remote network.
When web setup is used, it is helpful to think of the network client as the keyboard and display for the module as shown in Figure 3.
Figure 3. Web setup using a network client
Name: WiConnect-###### Password: password
To start web setup mode, enter the command setup web. WiConnect starts the local network and web server as indicated by the final message: In progress.
> setup web
[Disassociated] IPv4 address: 10.10.10.1
Web setup started with the SSID: WiConnect-102F1A
In progress
ARG-MW006E-100R AMW006 Evaluation Guide Page | 4 Page | 4 ©2014 ACKme Networks. http://ack.me October 20, 2014 October 20, 2014
AMW006 Evaluation Guide
Not Recommended for New Designs
Using WiConnect, Section 3
Open the Wi-Fi settings on your smartphone, tablet or computer and join the network called WiConnect-###### (where ###### are the last 6 digits of the Wi-Fi module MAC address). The password for the network is simply:
password. The local network name and password, and the web address may be customised to suit your needs, see
the online WiConnect Reference Manual for further information.
After joining the local network, open a web browser on the network client and go to setup.com. The WiConnect web page appears (see Figure 3), and a scan begins for Wi-Fi access points in range. Select the remote network you wish to join, enter the network password then select Save & Exit and follow the prompts.
Once the settings are successfully saved, WiConnect prints Web Setup Mode exited to the terminal. Check that the settings were successfully saved using get wlan.ssid and get wlan.passkey.
Web Setup Mode exited
> get wlan.ssid
YOUR_NETWORK_NAME > get wlan.passkey
YOUR_NETWORK_PASSWORD
Script Setup
If you prefer instead to enter configuration details for the Wi-Fi network, WiConnect provides a default setup script to step you through the process. The setup script is provided as a file called default_setup.script on the WiConnect file system. The setup script may be customised as required.
> setup cmd
> Enter Wi-Fi network name:
set wlan.ssid YOUR_NETWORK_NAME Set OK
> Enter Wi-Fi network password:
set wlan.passkey YOUR_NETWORK_PASSWORD Set OK
> set wlan.auto_join.enabled true
Set OK
> Saving settings save
Saved
Success >
network_up [2014-05-17 | 11:48:31: Associating to YOUR_NETWORK_NAME]
In progress
> Security type from probe: WPA2-Mixed Obtaining IPv4 address via DHCP
IPv4 address: 192.168.0.31
[2014-05-17 | 11:48:41: Associated] > Exiting Cmd Setup Mode
Manual Setup
It is straightforward to manually enter the name and password for the network using the wlan.ssid and
wlan.passkey variables too. Be sure to save afterwards, or the values will be lost when the module reboots. Any
subsequent command requiring network access, such as an ICMP (Internet Control Message Protocol) ping, automatically results in the module attempting to join the network.
ARG-MW006E-100R AMW006 Evaluation Guide Page | 5 Page | 5 ©2014 ACKme Networks. http://ack.me October 20, 2014 October 20, 2014
Loading...
+ 14 hidden pages