Go Wireless with Redpine and Renesas Wi
Download
Report
Transcript Go Wireless with Redpine and Renesas Wi
ID 216L: Go Wireless with Redpine
Signals' 802.11n starter kit on
the RX62N MCU
Rohan Joginpalli
Product Manager
Redpine Signals, Inc.
13 October 2010
Version 1.1
Version: 1.2
Rohan Joginpalli
Product Manager
Redpine 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
2
Renesas Technology and Solution Portfolio
Microcontrollers
& Microprocessors
#1 Market share
worldwide *
ASIC, ASSP
& Memory
Advanced and
proven technologies
Solutions
for
Innovation
Analog and
Power Devices
#1 Market share
in low-voltage
MOSFET**
* 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).
3
Renesas Technology and Solution Portfolio
Microcontrollers
& Microprocessors
#1 Market share
worldwide *
Solutions
for
Innovation
ASIC, ASSP
& Memory
Advanced and
proven technologies
Analog and
Power Devices
#1 Market share
in low-voltage
MOSFET**
* 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).
4
Microcontroller and Microprocessor Line-up
Superscalar, MMU, Multimedia
High Performance CPU, Low Power
High Performance CPU, FPU, DSC
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
Up to 165 DMIPS, 90nm process
500uA/MHz, 2.5 uA standby
Ethernet, CAN, USB, Motor Control, TFT Display
Legacy Cores
Next-generation migration to RX
General Purpose
Up to 10 DMIPS, 130nm process
350 uA/MHz, 1uA standby
Capacitive touch
5
Ultra Low Power
Embedded Security
Up to 25 DMIPS, 150nm process Up to 25 DMIPS, 180, 90nm process
190 uA/MHz, 0.3uA standby
1mA/MHz, 100uA standby
Application-specific integration Crypto engine, Hardware security
Microcontroller and Microprocessor Line-up
Superscalar, MMU, Multimedia
High Performance CPU, Low Power
High Performance CPU, FPU, DSC
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
Up to 165 DMIPS, 90nm process
500uA/MHz, 2.5 uA standby
Ethernet, CAN, USB, Motor Control, TFT Display
Legacy Cores
Next-generation migration to RX
General Purpose
Up to 10 DMIPS, 130nm process
350 uA/MHz, 1uA standby
Capacitive touch
6
Ultra Low Power
Embedded Security
Up to 25 DMIPS, 150nm process Up to 25 DMIPS, 180, 90nm process
190 uA/MHz, 0.3uA standby
1mA/MHz, 100uA standby
Application-specific integration Crypto engine, Hardware security
Innovation
High-Energy
Applicances
Circuit
Breaker
Water
Meter
Energy Meter
Also an AP/ Gateway
7
In-home Display
And Control
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
8
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
9
Redpine Signals – Company Overview
Founded: 2001
Corporate Headquarters: San Jose, CA
R&D Locations: San Jose, CA; Hyderabad, India
Employees: 100+
Significant Emerging Wireless Patent Portfolio
Redpine Signals –
Best New Company
e-clips – Jason McDonald
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
10
Redpine Wi-Fi Products - Summary
Part
Product
RS9110/1
RS9115/6/7/8/9
RS9330
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
RS9110-N-11-2x
•
•
•
•
Plug and Play 802.11n Serial Modules
Supplicant resides on Lite-Fi®
TCP-IP Offload, Host Driver
Certifications: Wi-Fi, FCC, IC, CE
RS9110-N-11-61
•
•
•
•
World’s first 802.11n RTLS tag
CCX Certified
> 5 years battery life
Low-cost
RS9110-N-11-0x
Modules Offered with Renesas Electronics Platforms
Partners:
11
Certifications:
Universal IP Based Connectivity
Wi-Fi fits directly into the Network
Payload
802.11 Frame
802.11 TCP
Microcontroller
Serial
I/F
T
C
P
/
I
P
IP
Trailer
M
A
C
BB
/
R
F
Embedded System
LAN
Wireless
Link
TCP/IP Stack
WLAN
WLAN Subsyst em
12
Wireless
Router
Payload
Server
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
Peripheral
Interfaces
SPI
UART
Host
Interface
MAC
Memory
BBP
AFE
RF Transceiver,
PA, Front-end
WLAN System-on-Chip
3.3V
PMU
Internal
Voltages
WLAN Module
13
Frequency
Reference
22 x 28 mm
Renesas + Redpine Signals Advantages
1. Ready-made, functional
HW & SW
Example Demo
Redpine Driver
Performance
UART/SPI
Features
14
2. Wide range of MCU
choices from Renesas
3. Choice of Redpine Wi-Fi
Products based on
application
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
•
•
•
•
•
* Sold and Supported by Redpine Signals, Inc.
15
802.11n
Integrated TCP/IP Stack
May be used with or without RTOS
Ultra Low Power
Connected to RX62N via SPI
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
16
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
17
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
18
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)
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
19
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
RX62N Board
LCD Module
J8 Header
20
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”.
21
Power LED
LED 0
LED 1
LED 2
App LED
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.
22
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
23
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
24
RS-RX62N-2201 – Demonstration (Contd.)
The HEW starts. Click “Yes” if asked
25
RS-RX62N-2201 – Demonstration (Contd.)
Double-click on “network_config.h” on the left side panel
26
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_SY
STEM (1 in figure)
RX600 E1/E20 System (2)
Elf/Dwarf2 (3)
27
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
28
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
29
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
30
RS-RX62N-2201– Demonstration (Contd.)
Double-click on one of the scanned Access Points and enter
the new Access Points details
31
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
32
Questions?
33
Innovation
High-Energy
Applicances
Circuit
Breaker
Water
Meter
Energy Meter
Also an AP/ Gateway
34
In-home Display
And Control
Thank You!
35