ID 216L: Go Wireless with Redpine Signals' 802.11n starter kit on the RX62N MCU
Rohan Joginpalli Product ManagerRedpine Signals, Inc.
13 October 2010Version 1.1
Version: 1.2
22
Rohan Joginpalli
Product ManagerRedpine Signals, Inc. Responsible for Redpine’s Connect-io-n™ product family
8 years of Engineering and Management experience in
– Wireless semiconductor design
– Wireless system level product development
– Product Management
– Program Management
Graduate of the Indian Institute of Technology, Guwahati
33
Renesas Technology and Solution Portfolio
Microcontrollers& Microprocessors
#1 Market shareworldwide *
Analog andPower Devices#1 Market share
in low-voltageMOSFET**
Solutionsfor
Innovation
Solutionsfor
InnovationASIC, ASSP& Memory
Advanced and proven technologies
* MCU: 31% revenue basis from Gartner "Semiconductor Applications Worldwide Annual Market Share: Database" 25 March 2010
** Power MOSFET: 17.1% on unit basis from Marketing Eye 2009 (17.1% on unit basis).
444
Renesas Technology and Solution Portfolio
Microcontrollers& Microprocessors
#1 Market shareworldwide *
Analog andPower Devices#1 Market share
in low-voltageMOSFET**
ASIC, ASSP& Memory
Advanced and proven technologies
* MCU: 31% revenue basis from Gartner "Semiconductor Applications Worldwide Annual Market Share: Database" 25 March 2010
** Power MOSFET: 17.1% on unit basis from Marketing Eye 2009 (17.1% on unit basis).
Solutionsfor
Innovation
Solutionsfor
Innovation
555
Microcontroller and Microprocessor Line-up
Superscalar, MMU, Multimedia Up to 1200 DMIPS, 45, 65 & 90nm process Video and audio processing on Linux Server, Industrial & Automotive
Up to 500 DMIPS, 150 & 90nm process 600uA/MHz, 1.5 uA standby Medical, Automotive & Industrial
Legacy Cores Next-generation migration to RX
High Performance CPU, FPU, DSC
Embedded Security
Up to 10 DMIPS, 130nm process350 uA/MHz, 1uA standbyCapacitive touch
Up to 25 DMIPS, 150nm process190 uA/MHz, 0.3uA standbyApplication-specific integration
Up to 25 DMIPS, 180, 90nm process 1mA/MHz, 100uA standby Crypto engine, Hardware security
Up to 165 DMIPS, 90nm process 500uA/MHz, 2.5 uA standby Ethernet, CAN, USB, Motor Control, TFT Display
High Performance CPU, Low Power
Ultra Low PowerGeneral Purpose
666
Microcontroller and Microprocessor Line-up
Superscalar, MMU, Multimedia Up to 1200 DMIPS, 45, 65 & 90nm process Video and audio processing on Linux Server, Industrial & Automotive
Up to 500 DMIPS, 150 & 90nm process 600uA/MHz, 1.5 uA standby Medical, Automotive & Industrial
Legacy Cores Next-generation migration to RX
High Performance CPU, FPU, DSC
Embedded Security
Up to 10 DMIPS, 130nm process350 uA/MHz, 1uA standbyCapacitive touch
Up to 25 DMIPS, 150nm process190 uA/MHz, 0.3uA standbyApplication-specific integration
Up to 25 DMIPS, 180, 90nm process 1mA/MHz, 100uA standby Crypto engine, Hardware security
Up to 165 DMIPS, 90nm process 500uA/MHz, 2.5 uA standby Ethernet, CAN, USB, Motor Control, TFT Display
High Performance CPU, Low Power
Ultra Low PowerGeneral Purpose
77
Innovation
Energy MeterAlso an AP/ Gateway
WaterMeter
CircuitBreaker
High-EnergyApplicances
In-home DisplayAnd Control
88
Agenda
Redpine Signals – Company and Products
Wi-Fi in Embedded Systems
Redpine-Renesas Starter Kits
Lab
Setup
Wireless AP Configuration
Wireless Client Configuration
Lighting control – Demo Application
Q&A
99
Key Takeaways
By the end of this session you will be able to:
Understand the key concepts in integrating Wi-Fi into
Embedded Systems
Understand the applicable Redpine and Renesas products for
wireless applications
Configure a Redpine-Renesas kit for a wireless demo
Build a demo application
1010
Redpine Signals – Company Overview
Redpine Signals – Best New Company
e-clips – Jason McDonald
Founded: 2001 Corporate Headquarters: San Jose, CA R&D Locations: San Jose, CA; Hyderabad, India Employees: 100+ Significant Emerging Wireless Patent Portfolio
18 awarded; 35 pending; over 50 in pipeline OFDM, MIMO, Low Power, Multi-thread Processing, CMOS RF/PA
Chipset Manufacturers – TSMC, ASE
Module Manufacturers – OSE, Aztech, CNE
Worldwide sales and distribution
1111
Part Product Highlights
• SDIO, SPI, EBI• Ultra-low-power• World’s 1st Wi-Fi Certified 1x1 802.11n• On-chip DC-DC, RTC
• PCI, SDIO, SPI• Ultra-low-cost, integrated PA, Balun• 1x1 – 150Mbps 11n, • 11p – Vehicular (RS9119)
• PCI-e, USB, PCI• 450Mbps, 3x3 802.11n • High Performance: ML, ABF (Reference Design Shown)
• Modules as small as 7.5mm x 9.5mm• Up to 35Mbps SDIO throughputs• WMM-PS, WPA2-Enterprise, Voice• Certifications: Wi-Fi, FCC, IC, CE
• Plug and Play 802.11n Serial Modules• Supplicant resides on Lite-Fi®• TCP-IP Offload, Host Driver • Certifications: Wi-Fi, FCC, IC, CE
• World’s first 802.11n RTLS tag• CCX Certified• > 5 years battery life• Low-cost
Partners: Certifications:
RS9110/1
RS9115/6/7/8/9
RS9330
RS9110-N-11-0x
RS9110-N-11-2x
RS9110-N-11-61
Modules Offered with Renesas Electronics Platforms
Redpine Wi-Fi Products - Summary
1212
Universal IP Based Connectivity
Wi-Fi fits directly into the Network
Embe dde d Sys te m
ServerM icrocontrolle r
TC P IP802.11
TCP/IP
BB/RF
S er ia lI /F
P ayload802 .11 Fram e
P ayloadMAC
Wire les sLink
WL A N
Wire le s sR o ute r LAN
T C P /IP S tack
Trailer
WLAN S ubsystem
1313
Integration of Wi-Fi into an Embedded System
The benefits of a self-contained module Integrated RF and Antenna
– Layout considerations taken care of– Stable frequency reference included for predictable performance
Single power-supply with built-in power management Modular certification for FCC Pre-tested and pre-calibrated for high yield on main system
W L A N M o d u le
WLAN System-on-C hip
HostInterface MAC BBP AFE RF Transce iver,
PA, Front-end
FrequencyReference
MemoryPeripheralInterfaces
PMU
S PIUA R T
3 .3 V InternalVoltages
22 x 28 mm
1414
Renesas + Redpine Signals Advantages
1. Ready-made, functional HW & SW
2. Wide range of MCU choices from Renesas
Per
form
ance
Features
1. Ready-made, functional HW & SW
2. Wide range of MCU choices from Renesas
3. Choice of Redpine Wi-Fi Products based on application
1. Ready-made, functional HW & SW
2. Wide range of MCU choices from Renesas
UART/SPI
Redpine Driver
Example Demo
1515
Ultra Low Power 802.11n Wi-Fi Starter Kit using RX62N*
All-in-one Starter Kit• RX62N RDK Board• Wi-Fi Companion Card• Power Supply• Debugger• Evaluation Compiler• IDE• PC Application• Module API Library• Sample Code
Wi-Fi Module Features• 802.11n• Integrated TCP/IP Stack• May be used with or without RTOS• Ultra Low Power • Connected to RX62N via SPI
* Sold and Supported by Redpine Signals, Inc.
1616
RS-RX62N-2201 – Ultra Low Power 802.11n Wi-Fi Starter Kit
Everything required to begin development with Wi-Fi connectivity in one box Wi-Fi Companion Card MCU Board Power Supply USB Cable Debugger CD-ROM
Pre-programmed Demo App can associate to any Open Access Point Full Demo App source code included to facilitate custom changes easily
and quickly RS9110-N-11-22-01 Module – with integrated Antenna, Frequency
Reference and TCP/IP Stack RX62N RDK Board from Renesas Electronics Wi-Fi Module connected to MCU via SPI Printed Quick-Start Guide
1717
RS-RX62N-2201 - Demonstration
Objectives Install and configure Redpine’s Wi-Fi Companion Card on RC62N
Run a sample application
The Redpine product used is RS9110-N-11-22(-01) – Single band, Antenna, Frequency
Reference, TCP/IP
The Renesas micrcontroller used is RX62N RDK
1818
RS-RX62N-2201– Starter Kit Contents
CPU Board with RC62N Wi-Fi Companion Card with RS9110-N-11-22-01 Connection Cable (USB Cable, User Interface Cable) Power Supply Printed Quick Start Guides CD-ROM
Documents: API Library Manual, User Manual IDE: High performance Embedded Workshop API Library for Wi-Fi Module Sample Code Demo Application and Firmware/Software C Compiler (Evaluation Version) Flash Memory Programmer: Flash Development Toolkit (Evaluation Version)
1919
Other Components Required
Laptop with WindowsTM 2000/XP/Vista WLAN interface enabled JRE 1.6.0 installed (Administrator privileges required?) Contents of the Redpine Signals CD copied
Access Point configured for Open Mode DHCP Enabled
2020
RS-RX62N-2201 - Demonstration
Power on the Access Point Mount the Wi-Fi Companion Card on the J8 Header of the RX62N
RDK Board
Wi-Fi Companion Card
J8 Header
RX62N Board
LCD Module
2121
RS-R8C25-2201 – Demonstration (Contd.)
Connect the 5V Power Adaptor to the RX62N Board
The Power LED glows The LCD Module displays
“Searching for APs” The Starter Kit is programmed
to connect to an Open Access Point with the strongest signal strength
After connection, the LCD Module displays the AP’s SSID and acquired IP Address
If connection fails, the LCD Module displays, “NO OPEN AP FOUND” or “IP CONF ERROR”.
Power LED
LED 0LED 1LED 2
App LED
2222
RS-RX62N-2201 – Demonstration (Contd.)
If the connection is successful, connect the Laptop to the same Access Point over WLAN or using an Ethernet cable
Double-click on the RX62NGUI.jar file in the Software->Demo->Applications folder.
* Sold and Supported by Redpine Signals, Inc.
2323
RS-RX62N-2201 – Demonstration (Contd.)
Enter the IP Address of the Starter Kit in the “Device IPv4 Address” field and click on “Connect”
Doing this, opens a TCP connection between the Starter Kit and the Laptop through the Access Point
If the connection is successful, the App LED glows
Click on the positions of LED0, LED1, LED2 on the application to toggle the corresponding LEDs on the MCU board
2424
RS-RX62N-2201 – Demonstration (Contd.)
If the connection to the Access Point is unsuccessful because it’s not configured in Open Mode or not DHCP enabled or it’s too far away…
Execute steps 1 to 16 (Installation and Connection) of the “Quickstart – Renesas Starter Kit for RX62N” document to First install all the latest Renesas software Then connect the RS-RX62N-2201 kit to the Laptop through the
Debugger Note: This step has been taken care of in advance
Double-click on “RSRX62N2201DEMO.hws” file present in Software->Demo->RX62N_App_SW->RSRX62N2201DEMO folder
2626
RS-RX62N-2201 – Demonstration (Contd.)
Double-click on “network_config.h” on the left side panel
2727
RS-RX62N-2201– Demonstration (Contd.)
Change the following values: AUTO_CONNECT_OPEN_AP
to DISABLE SSID PSK (Pre-Shared Key) DHCP IP_ADDRESS SUBNET_MASK GATEWAY_ADDRESS
Click File->Save All Click Build->Build All Click Debug->Debug
Settings and select SessionRX600_E1_E20_SYS
TEM (1 in figure) RX600 E1/E20 System (2) Elf/Dwarf2 (3)
2828
RS-RX62N-2201– Demonstration (Contd.)
In the same Debug Settings window Select the file under “Download Modules” and click on Modify In the dialog box that opens, navigate to the Software->Demo-
>RX62N_App_SW->RSRX62N2201DEMO->RSRX62N2201DEMO->release folder and select the RSRX62N2201DEMO.mot file
Click the Select and OK buttons to close all dialog boxes Click Debug->Connect. In the dialog box that opens, select
“Program Flash” and “Execute the user program after ending the debugger”. Wait for connection to board to be established (click OK when asked).
In the dialog box that asks for Power Supply details, select “Power Target from Emulator…” and “5.0V”.
Once the “Connected” message is displayed in the Debug window, right-click on RSRX62N2201DEMO.mot file in the left side panel.
Click Download (click OK when asked) Click Debug->Disconnect
2929
RS-RX62N-2201 – Demonstration (Contd.)
You have successfully programmed the Starter Kit to connect to the Access Point of your choice
Disconnect the Debugger, power off/on the Starter Kit The Kit will automatically connect to the programmed Access
Point You can then control the LEDs as explained earlier
3030
RS-RX62N-2201 – Demonstration (Contd.)
Once connected to the Kit either out-of-the-box or by manually changing parameters, you can reconfigure the Kit’s connection parameters through the Wireless connection
Click on the “Wi-Fi” tab of the Demo App
3131
RS-RX62N-2201– Demonstration (Contd.)
Double-click on one of the scanned Access Points and enter the new Access Points details
3232
RS-RX62N-2201– Demonstration (Contd.)
Click Apply, close the Demo App and wait for the new connection to be established
Repeat the steps for the Demo after opening the App again
3434
Innovation
Energy MeterAlso an AP/ Gateway
WaterMeter
CircuitBreaker
High-EnergyApplicances
In-home DisplayAnd Control