Freescale Semiconductor Inc. TWRWIFIGS1500MLAB. TWR-WIFI-GS1500M Lab Guide Rev. 1

Similar documents
Lab Guide Rev. 0 TWRWIFIG1011MILAB

Lab Guide Rev. 1.1 TWRWIFIAR4100LAB

Freescale Semiconductor Inc. TWR-MCF51CN User Manual Rev. 1.2

Freescale Semiconductor Inc. Microcontroller Solutions Group. TWR-MCF51CN User Manual Rev. 1.1

User's Manual Rev. 1. Freescale Semiconductor Inc. TWRS08UNIVUM

Quick Start Guide. TWR-K60D100M Low-Power MCU with USB, Ethernet and Encryption TOWER SYSTEM

Quick Start Guide for TWR-S08LL64 TOWER SYSTEM MC9S08LL64. S08 ultra-low-power LCD segment MCU

ArduCAM CC3200 UNO board

Quick Start Guide for TWR-MCF5225X TOWER SYSTEM. MCF5225X ColdFire connectivity MCUs

TWR-K53N512 Quick Start Guide

Lab Tutorial for TWR-S08GW64 TOWER SYSTEM. MC9S08GW64 LCD segment MCU for flow meters and energy metering applications

TWR-KE18F. Quick Start Guide. 32-bit Kinetis MCU based on ARM Cortex -M4 provides up to 168 MHz CPU performance, up to 512 KB flash with 64 KB SRAM

WizFi250 Quick Start Guide

TWR-K60F120M Quick Start Guide

QSG166: WF200 Wi-Fi Development Kit Quick Start Guide

WIZ-SM10 Datasheet. ( Version 0.1 ) 2010 WIZnet Co., Ltd. All Rights Reserved. For more information, visit our website at

TWR-KM34Z50MV3 Quick Start Guide

TRK-S12ZVL Quick Start Guide. MagniV Mixed-signal MCUs for LIN Applications

Quick Start Guide TRK-KEA. Kinetis EA Series MCUs for Automotive Electronics Applications. StarterTRAK

TWR-K21F120MA Quick Start Guide

KTTWRCM3120UG TWR-CM3120-EVM. TWR-CM3120-EVM Tower System Platform. Figure 1. TWR-CM3120-EVM

RN-171-EK Evaluation Board

Kinetis Bootloader v1.2.0 Release Notes

Featuring the SM700 RF Engine from Synapse TOWER SYSTEM. Quick Start Guide Wireless Mesh Networking Module featuring SNAP Technology (TWR-RF-SNAP)

This document gives details on hardware and software for using and testing Insight SiP Bluetooth Low Energy module ISP1302-BS.

Quick Start Guide TWR-S08PT60. 5-Volt S08P Family of 8-bit MCUs for Industrial and Appliance Applications TOWER SYSTEM

Use of ISP1507-AL Evaluation Boards

BT121 Bluetooth Smart Ready Module. July 2016

Quick Start Guide. MED-SPI Spirometry Plug-in Board TOWER SYSTEM

Quick Start Guide. TWR-K70F120M High-Performance MCUs with Graphics LCD, Connectivity and Security TOWER SYSTEM

RN-XV-EK Evaluation Board

Quick Start Guide. TWR-IND-IO Industrial I/O Module TOWER SYSTEM

Quick Start Guide. TWR-KV10Z32 Development Kit for Kinetis KV1x Family TOWER SYSTEM

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS

Quick Start Guide. TWR-K70F120M High-Performance MCUs with Graphics LCD, Connectivity and Security TOWER SYSTEM

Quick Start Guide for TWR-MC56F8257 TOWER SYSTEM MC56F8257. For power conversion and motor control applications

Sensorless BLDC Motor Control Based on MC9S08PT60 Tower Board User Guide

Nighthawk X4S AC2600 Smart WiFi Router Model R7800. Package Contents. NETGEAR, Inc. 350 East Plumeria Drive San Jose, CA USA.

Quick Installation Guide

Hands-On Workshop: ARM mbed

TWR-K70F120M Quick Start Guide

MediaTek LinkIt Smart 7688 Get Started Guide

RN-WIFLY-EVAL-UM. WiFly Evaluation Kit Roving Networks. All rights reserved. RN-WIFLY-EVAL-UM-1.0 Version /8/2011 USER MANUAL

Quick Start Guide for TWR-S08MM128-KIT TOWER SYSTEM MC9S08MM128. The industry s most complete solution for portable medical applications

BLE to Wi-Fi Gateway

Quick Start Guide. MED-SPO2 Pulse Oximetry Plug-in Board TOWER SYSTEM

BT121 Bluetooth Smart Ready Module. May 2015

TWR-KL43Z48M Quick Start Guide

BLE121LR Bluetooth Smart Long Range Module 5/12/2014 1

Freescale Semiconductor Inc. TWR-LCD User s Manual Rev. 1.3

Use of ISP1807-LR Evaluation Boards

TWR-MCF51JG Tower Module User's Manual Rev. 1.1

Husarion CORE2. Husarion CORE2 is a development board for Internet-connected automation & robotic devices.

Quick Start Guide. S12VR64EVB S12 MagniV Mixed-Signal MCUs. S12 MagniV

GS2K Hosted HomeKit User Guide. 1VV Rev

UM LPC General Purpose Shield (OM13082) Rev November Document information. Keywords

Quick Start Guide. TWR-VF65GS10 For Vybrid Controller Solutions Based on ARM Cortex -A5 and Cortex-M4 Processors with the DS-5 Toolchain TOWER SYSTEM

Emulating Dual SPI Using FlexIO

The industrial technology is rapidly moving towards ARM based solutions. Keeping this in mind, we are providing a Embedded ARM Training Suite.

N900 Wireless Dual Band Gigabit Router

TWR-KE18F User's Guide

IpAlarm Module Set Up

music Quick Start Guide

Objective: Additional project details: Code: PSEMBP 100 Category:STEM Level: High School/Community C.

TWR-KV10Z32 Sample Code Guide for IAR Board configuration, software, and development tools

SN8000 EVK User Guide

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

Quick Start Guide TRK S12ZVFP64. S12 MagniV MCU for Automotive Heating, Ventilation and Air Conditioning (HVAC) Applications

User Manual Rev. 0. Freescale Semiconductor Inc. FRDMKL02ZUM

Bluegiga Wi-Fi Software 9/19/2013 1

GS-AN039. Provisioning Methods with S2W INTRODUCTION SETTING UP WEB PROVISIONING USING LIMITED AP PROVISIONING MODE

TWR K20D50M Quick Start Demo Lab Guide

LPC2468 Industrial Reference Design Platform System Development Kit Version 1.2. August 2008

Getting started with STEVAL-IDB007V1 and STEVAL-IDB008V1 evaluation boards

Troubleshooting Guide

WiFi and Ethernet Shield With WiFi Audio

MQX -celeration RTOS-integrated solutions

Microbee Technology FTM-3SE

ARROW ARIS EDGE S3 Board User s Guide 21/02/2018

IAR EWARM Quick Start for. Holtek s HT32 Series Microcontrollers

R36A Installation Guide

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

Quick Start Guide TWR-56F8400. The Ultimate Solution in Performance and Precision for Energy-Efficient Innovation TOWER SYSTEM

ARROW ARIS EDGE Board User s Guide 27/09/2017

SMARTPLUG. Firmware Update for Android users with access to an ios device

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

Wi-Fi Card/Box. User s Manual

Building Custom Webpages for GainSpan Modules. Application Note AN069

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

Dual Band ac PoE AP

Kinetis SDK Release Notes for the TWR-K24F120M Tower System Module

Quick Start Guide. TWR-S12G128 Scalable platform for automotive applications TOWER SYSTEM

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

WiFi Smart Control Reference Guide

Quick Start Guide TWR-PXR bit Power Architecture MCU for High-Performance Real-Time Applications TOWER SYSTEM

AirServer Connect User Guide

Also available for purchase separately are socket daughter boards for the QFN-11 and QFN-10 packages.

BNO080 Development Kit for Nucleo Quick Start Guide

Transcription:

Freescale Semiconductor Inc. TWRWIFIGS1500MLAB TWR-WIFI-GS1500M Lab Guide Rev. 1

Contents 1 Purpose... 3 2 Configure Hardware... 4 3 Configure Software... 6 4 Running the Demos... 7 5 Troubleshooting... 11 6 Next Steps... 11 Revision History Revision Date Changes 1.0 Sept 2012 Initial Release TWR-WIFI-G1011MI Lab Guide Page 2 of 11

1 Purpose This document covers how to demonstrate applications using the TWR-WIFI-GS1500M Tower peripheral module. The TWR-K60N512 Tower MCU module is used to communicate with the TWR- WIFI-GS1500M. This document also covers how to configure the Tower System and an iphone to run the demos. The demo software provides reference example for the MCU serial driver and application software. The demo software uses AT commands to showcase advanced features of the TWR-GS1500M Serial to Wi-Fi firmware such as Limited AP mode, embedded DHCP, multicast NDS/Service Discovery (used by Bonjour), embedded Web Server for accessing embedded web pages, XML parser, security, and UDP/TCP/IP/HTTP(s) protocols. The MCU code is architected to have small memory footprint, and be mostly platform independent with only the driver being MCU specific as shown in the diagram below. This allows for user to easily port to other host microcontrollers. The reference MCU code is developed using IAR Embedded Workbench IDE. The memory footprint for the reference demo is around 2K bytes of RAM and 12K bytes of FLASH. This code includes library of all the AT commands supported by the TWR-GS1500M device, but most applications do not use all the AT commands so memory footprint will vary based on the application. TWR-WIFI-G1011MI Lab Guide Page 3 of 11

2 Configure Hardware To run the demos with the TWR-K60N512 hardware, and software projects, make certain that the jumpers and switches on the TWR-WIFI-GS1500M are in their default locations as shown below. Figure 1. TWR-WIFI-GS1500M Default Jumper Settings TWR-WIFI-G1011MI Lab Guide Page 4 of 11

Table 1. TWR-WIFI-GS1500M Default Jumper and Switch Settings Jumper Option Setting Description Power Supply ELEV PWR Power from Tower System 3.3V SW1 Input DC PWR Power from DC power jack (J2) RUN GS1500M in standard "run" mode SW6 Mode Selection PRGM GS1500M in program mode J1 J3 J4 J5 J7 J8 J9 J11 J14 J15 Interrupt Selection SPI/UART Selection GS1500M Reset Selection Slave SPI Port CS Selection UART Routing Selection Master SPI Port CS Selection Power Isolation and Current Measurement RS232 Transceiver Force-off UART CTS Isolation 1-2 Connect GS1500M interrupt to Tower IRQ_G (B56) 3-4 Connect GS1500M interrupt to Tower IRQ_E (B58) 5-6 Connect GS1500M interrupt to Tower IRQ_C (B60) 7-8 Connect GS1500M interrupt to Tower IRQ_A (B62) 1-2 Select SPI as serial interface 2-3 Select UART as serial interface 1-2 Connect GS1500M Reset to Tower GPIO9 (A9) 2-3 No connection 1-2 Connect GS1500M Reset to Tower RSTOUT (A63) 2-3 Connect GS1500M Reset to Tower GPIO1 (B21) 1-2 Connect Tower SPI0_CS0 to slave SPI CS on GS1500M 2-3 Connect Tower SPI0_CS1 to slave SPI CS on GS1500M 1-2 Connect GS1500M UART0 to on-board RS232/DB9 2-3 Connect GS1500M UART0 to Tower System 1-2 Connect Tower SPI1_CS1 to master SPI CS on GS1500M 2-3 Connect Tower SPI1_CS0 to master SPI CS on GS1500M ON Connect GS1500M power supplies to the 3.3V supply source Isolate GS1500M from power supplies. J11 can be used to OFF measure the energy consumption of the VBAT, VDDIO, and EN_1V8 supplies to the GS1500M. ON RS232 transceiver operates in normal mode OFF ON OFF RS232 transceiver forced off Connect UART0_CTS from GS1500M to RS232 transceiver Disconnect UART0_CTS from RS232 transceiver Note: J3 jumper is not applicable when running Serial-to-Wi-Fi firmware. The firmware version loaded on the module determines the interface used. This jumper is relevant if using IP2WIFI. The TWR-K60N512 should be set to its default settings as described in the TWR-K60N512 Quick Start Guide and User s Manuals. Assemble your Tower system consisting of the TWR-K60N512 and TWR-WIFI-GS1500M. Be careful to match the Primary edge of each module to the Primary (or Functional on older systems) TWR-ELEV module. Connect a USB cable between your development PC and the TWR-K60N512 PWR/OSBDM USB connector. A wireless access point will be required. Setup the wireless access point as desired and take note of the SSID and any security setting (if enabled). Ensure that your development PC can connect to the wireless access point. TWR-WIFI-G1011MI Lab Guide Page 5 of 11

3 Configure Software This demo/lab walk-through guide uses the software listed below. Visit the links provided below to download and install the software if you do not already have it installed. 1. IAR for ARM http://www.iar.com/en/products/iar-embedded-workbench 2. TWR-WIFI-GS1500M Demonstration Software for TWR-WIFI-GS1500M and TWR-K60N512 - http://www.freescale.com/twr-wifi-gs1500m TWR-WIFI-G1011MI Lab Guide Page 6 of 11

4 Running the Demos This reference code shows the following two demo s that use Limited AP mode: 1) Embedded web server demo 2) Smart Phone Demo with service discovery (Bonjour) Below are steps to run the demos (web server and ios) on the TWR-K60N512 with the TWR-WIFI- GS1500M: STEP 1: a) Download the TWR-WIFI-GS1500M Demonstration Software and unzip. b) Start the IAR Embedded Workbench and open the workspace GSK60.eww. c) Rebuild the project ( Make button) and download to the demo target ( Download and Debug button). Run the demo by pressing the Go button, pressing the F5 key or recycling the power to the Tower System. NOTE 1: When downloading code via OSBDM/OSJTAG, a request may be made to update firmware and to set the OSBDM/OSJTAG in boot loader mode (J10), follow the on-screen instructions to perform the upgrade. NOTE 2: The firmware loaded on the TWR-WIFI-GS1500M currently supports the UART interface and the demo code on the TWR-K60N512 uses UART interface. TWR-WIFI-G1011MI Lab Guide Page 7 of 11

STEP 2: Web Server Demo Power on the Tower board and the TWR-WIFI-GS1500M device acts as an AP, generates its own Wi-Fi network and runs the embedded web Server Application. The Wi-Fi network SSID will be FS_APxxxxxx, where xxxxxx is last 6 digits of your board MAC address. Connect your PC or Tablet or HandHeld device Wi-Fi client to this AP (FS_APxxxxxx) network. STEP 3: After the PC is connected to the AP, open a PC browser and enter URL: 192.168.240.1/fsl.html. The browser will display the demo server webpage. Click Switch button to toggle the 4 LEDs ON/OFF on the TWR-K60N512 board. Rotate the demo tower to see the accelerometer x, y, z change with the movement. Adjusting the potentiometer on the TWR-K60N512 board will control the Light value on the webserver. Note: Temperature is not supported at this time so the displayed value will not change. TWR-WIFI-G1011MI Lab Guide Page 8 of 11

STEP 4: Smart Phone Demo Users may run the sensor demo using an ios device (iphone, itouch or ipad) and see embedded discovery (bonjour) functionality of the TWR-WIFI-GS1500M module. Go to Apple itunes store and download and install the free GainSpan-Freescale Wi-Fi Sensor Application, if necessary. STEP 5: On the ios device, enable Wi-Fi and connect to the SSID (FS_APxxxxxx) presented by the TWR board as described in Step 1. Once connected, launch the smartphone application. The application uses bonjour or mdns or Service Discovery to identify the TWR system (freescale1). Select the freescale1 device. This will launch the application and it will display the sensor information as shown in Step 6. Note: If for some reason discovery fails or is not supported by the handheld or tablet, application will request user to manually enter the IP address. Enter IP address of 192.168.240.1 TWR-WIFI-G1011MI Lab Guide Page 9 of 11

STEP 6: Toggle the LED ON/OFF button to change the 4 LED s status on the TWR-K60N512 board. Select the accelerometer sensor and rotate the tower to see the picture and accelerometer x, y, z change with the movement of the board. Adjust the potentiometer on the TWR-K60N512 board to control the light intensity on the smartphone. ON ON TWR-WIFI-G1011MI Lab Guide Page 10 of 11

5 Troubleshooting If you are unable to communicate wirelessly from a PC to the Tower System, try the following: 1. Ensure the Tower system is assembled correctly. Each tower module has a primary and secondary card edge connector. The primary side must be connected to the Primary (or Functional in older systems) Elevator. 2. With the target application running, check on the PC if the wireless network (SSID) is seen during its scan. Try connecting and pinging (192.168.240.1) the target tower system. If you can t ping the target, then it is unlikely you can run the demo. Try power cycling the TWR board and trying the steps again. 6 Next Steps For further understanding and customization of the code, review the App_startup.c and main.c files for different features supported in the code and reading of the various sensors. In addition, to understand all the features available on the TWR-G1500M serial to Wi-Fi firmware, and the various AT commands supported and their usage, refer to the Serial-to-Wi-Fi Adapter Guide available from GainSpan s website support section. For additional information on GainSpan products, visit GainSpan website www.gainspan.com For additional information on Freescale products, visit Freescale website www.freescale.com TWR-WIFI-G1011MI Lab Guide Page 11 of 11