background image

Check the Version

After connecting the board to the PC and opening the terminal program, press the [

[RESET]

] button on the board. You should see a

header with the version information for the device. Ensure this version is 2.1.5 or newer. If you find you are using an older version of
firmware, perform an over the air update on the board as described on docs.silabs.com.

help

The [

help

] command provides information both for commands and variables on the device.

Variables are system-level variables that determine the configuration of the AMW007 module.

Commands are actions that can be taken.

1. Type [

help

] to see the options for the help command.

2. Type [

help commands

] to see a list of commands supported by this module.

Figure 1.1.  help

Commands used:

https://docs.silabs.com/gecko-os/latest/cmd/commands#help

UG370: Wireless Xpress AMW007 Kit User's Guide

Getting Started

silabs.com

 | Building a more connected world.

Rev. 1.1  |  3

Содержание AMW007

Страница 1: ...natively the board can be connected to a Silicon Labs EFM8 or EFM32 starter kit where a EFM8 or EFM32 microntroller can communicate with the AMW007 over UART The kit includes the following KEY FEATURES The AMW007 can connect to an existing Wi Fi network or be a Wi Fi access point UART interface and flow control pins use Gecko OS command API to connect and communicate across Wi Fi Breakout test poi...

Страница 2: ...hardware for the AMW007 kit 1 Connect the micro USB cable to AMW007 board and the other end to the PC 2 Ensure the two blue LEDs labeled USB and 5V near the USB connector are on 3 Connect to the virtual COM port using the terminal program For Windows use a terminal program e g Tera Term set to 115200 8N1 For a Mac the terminal can be accessed using tty usbserial There may be a modifier at the end ...

Страница 3: ...ilabs com help The help command provides information both for commands and variables on the device Variables are system level variables that determine the configuration of the AMW007 module Commands are actions that can be taken 1 Type help to see the options for the help command 2 Type help commands to see a list of commands supported by this module Figure 1 1 help Commands used https docs silabs...

Страница 4: ...ve successfully claimed your device you can OTA Performing an OTA Use OTA to update to the latest version of your device s GeckoOS product or to load a development GeckoOS device with a specific GeckoOS product or version You need to claim your device before performing an OTA See above To OTA in the GeckoOS terminal issue the ota command Gecko OS command Description ota Disassociated UUID 06413041...

Страница 5: ...ow AMW007 Module 2 x Buttons 2 x LEDs CP2102N UART to USB bridge Wi Fi UART USB Micro Connector USB Expansion Header From PC Figure 2 1 AMW007 Evaluation Board Block Diagram UG370 Wireless Xpress AMW007 Kit User s Guide Kit Block Diagram silabs com Building a more connected world Rev 1 1 5 ...

Страница 6: ...shown below AMW007 Module CP2102N USB to serial USB Expansion Header Buttons and LEDs Reset Button Figure 3 1 AMW007 Evaluation Board Hardware Layout UG370 Wireless Xpress AMW007 Kit User s Guide Kit Hardware Layout silabs com Building a more connected world Rev 1 1 6 ...

Страница 7: ...ugh the 5V and GND pins of the expansion header when the board is attached to a power supply or an EFM MCU Starter Kit When power is provided through the USB or an external power supply the AMW007 module can act as a stand alone device When it is connected to an EFM MCU Starter Kit through the expansion header the AMW007 acts as a peripheral to the MCU 4 2 Stand alone In stand alone mode the AMW00...

Страница 8: ...atures in the device Get reads a variable from RAM and Set writes a new value to that variable in RAM 3 To read the password on the network call get setup web passkey The default password is password Set the password for the network by calling set setup web passkey 4 Type save to save the new SSID values Note The save command saves the ssid variable to flash 5 Type setup web to enable the module a...

Страница 9: ...evice 7 Using your computer or phone connect to the Gecko OS access point Gecko OS using the password Figure 4 3 Connecting to the Gecko OS Access Point 8 Using a web browser go to setup com 9 Click the GPIOs area on the left side of the browser Figure 4 4 Navigating to the Module s index html UG370 Wireless Xpress AMW007 Kit User s Guide Power and Operation silabs com Building a more connected wo...

Страница 10: ...rk Connecting to an Existing Network using a Terminal Program To connect to an existing Wi Fi network using a terminal program 1 Connect to the AMW007 expansion board using a terminal program 2 If the AMW007 was previously configured as an access point type reboot to disable the AMW007 as an access point 3 Use the scan command to find all the networks in range Figure 4 6 scan Please see https docs...

Страница 11: ...to save the new values 4 Type network_up to turn on the network You should now be connected to the network Figure 4 7 set wlan ssid set wlan passkey save network_up Note To automatically join the network defined by ssid and passkey each time the module is powered on or rebooted type set wlan auto_join enabled 1 Commands used https docs silabs com gecko os latest cmd commands set https docs silabs ...

Страница 12: ... to view the type flags and other information for files in the operating system filesystem Figure 4 8 ls ls l Please see https docs silabs com for a complete description of all commands and variables used in this tutorial UG370 Wireless Xpress AMW007 Kit User s Guide Power and Operation silabs com Building a more connected world Rev 1 1 12 ...

Страница 13: ...s used https docs silabs com gecko os latest cmd commands ls https docs silabs com gecko os latest cmd commands file open https docs silabs com gecko os latest cmd commands stream list https docs silabs com gecko os latest cmd commands stream read Reading from a Website To read data from a website 1 Type http_get www google com to open a stream with the Google homepage This should now be stream 1 ...

Страница 14: ...en streams The open stream to the website should be the only item in the list Figure 4 11 stream_close stream_list Please see https docs silabs com for a complete description of all commands and variables used in this tutorial UG370 Wireless Xpress AMW007 Kit User s Guide Power and Operation silabs com Building a more connected world Rev 1 1 14 ...

Страница 15: ...kout pads for your application 5 1 Push Buttons and LEDs The board includes 2 active high LEDs and 2 mechanical buttons to exercise I O capabilities of the AMW007 The connections are shown in the following table Table 5 1 LEDs and Buttons Connected to AMW007 AMW007 Pin LED Button GPIO0 BUTTON1 GPIO1 LED1 red GPIO4 LED2 green GPIO5 BUTTON2 UG370 Wireless Xpress AMW007 Kit User s Guide Peripherals s...

Страница 16: ... communication pins that can be used to communicate with the MCU on the STK Additionally the 3V3 and 5V power rails are also available The figure below shows the pin assignment of the expansion header 19 17 15 13 11 9 7 5 3 1 20 18 16 14 12 10 8 6 4 2 EBID_SDA EBID_SCL See Schematic NC NC NC GPIO_5 GPIO_0 NC GND 3V3 5V RESET UART_TX UART_RX NC NC NC NC NC AMW007 pin Power Ground Reserved Board Ide...

Страница 17: ...MW007 executes across the serial interface and any step taken by Xpress Configurator can be repro duced by an embedded host connected to the AMW007 s UART interface All communication between the AMW007 expansion board and the Xpress Configurator can be seen in the terminal window embedded in the Xpress Configurator tool Figure 7 1 Simplicity Studio Xpress Configurator UG370 Wireless Xpress AMW007 ...

Страница 18: ...board are available through Simplicity Stu dio when the kit documentation package has been installed To access these documents click the Kit Documentation tile after se lecting the device in the left pane UG370 Wireless Xpress AMW007 Kit User s Guide Schematics Assembly Drawings and BOM silabs com Building a more connected world Rev 1 1 18 ...

Страница 19: ... or express copyright licenses granted hereunder to design or fabricate any integrated circuits The products are not designed or authorized to be used within any Life Support System without the specific written consent of Silicon Labs A Life Support System is any product or system intended to support or sustain life and or health which if it fails can be reasonably expected to result in significan...

Отзывы: