Bluegiga Wi-Fi Software - Silicon Labs · 9/19/2013 14 Use Cases • Hosted architecture using...
Transcript of Bluegiga Wi-Fi Software - Silicon Labs · 9/19/2013 14 Use Cases • Hosted architecture using...
Bluegiga Wi-Fi® Software
9/19/2013 1
Table of Contents
• Key Features
• Benefits
• Wi-Fi® Software Architecture
• Use cases
9/19/2013 2
Key Features
IEEE 802.11 features
• 802.11 b/g/n
• 802.11d
• STA mode
• AP mode*
Security features
• WEP
• WPA and WPA2
• WPS*
Performance
• Up to 3.5Mbps over TCP
Embedded IPv4 stack
• TCP and UDP clients
• TCP and UDP servers
Application level protocols
• DHCP and DNS
• HTTP (server)*
9/19/2013 3
*) Software version 1.2
Key Features Supported host interfaces:
• UART
• USB (USB/CDC)
• SPI
Supported peripheral interfaces
• GPIO, AIO and timers
• I2C, SPI and UART
• Ethernet (RMII)*
Bluetooth co-existence support
Field upgrades
• DFU over UART
• DFU over USB
9/19/2013 4
*) Software version 1.2
Key Features Programming APIs
• BGAPITM over UART, USB or SPI
• BGScriptTM scripting language
Memory requirements
• 64kB RAM
• 256kB Flash
OS requirements
• None
9/19/2013 5
Benefits • Fully embedded 802.11 MAC and IPv4
compatible IP stack
• Small RAM, flash and MIPS
requirements allowing low cost MCUs
to be used
• Support for STA and AP mode and all
relevant security protocols
• Flexible software APIs allowing
standalone and hosted use cases
• High throughput over TCP/UDP
9/19/2013 6
Wi-Fi® Software Architecture
9/19/2013 7
• Bluegiga Wi-Fi software mplements the following layers
– 802.11 MAC
– STA and AP modes
– IPv4 compatible TCP/IP stack
– TCP and UDP protocols
– DHCP, DNS and HTTP
• Implements the following clients and servers
– TCP client/server
– UDP client/server
– DHCP client
– DNS client
– HTTP server
• Security
– WEP, WPA/WPA2-PSK and WPS
• Simple API for external host s (MCUs)
– BGAPITM : A simple protocol over UART, USB or SPI interfaces
– BGLibTM : A C library for host processors implementing BGAPI
• Supports standalone applications as well
– BGScriptTM : A simple scripting language for writing applications
9/19/2013 8
Bluegiga Wi-Fi Software
802.11 b/g/n radio
802.11 MAC
Bluegiga Wi-Fi SoftwareBluegiga Wi-Fi Software
802.11 MAC
IP
Bluegiga BGAPITM
TCP and UDP
DNS,DHCP and HTTP
Wi-Fi Manager
Bluegiga BGSCriptTM VM
Application (BGScriptTM)
HostHost
Bluegiga BGAPITM
Application
UART, USB or SPI
• BGAPITM protocol : A simple binary command, response and event protocol between the host (MCU) and the Wi-Fi software
– Used when a separate host (MCU) is used to control the Wi-Fi software over UART, USB or SPI
– Very small memory requirements size requirement and low implementation overhead
9/19/2013 9
Bluegiga Wi-Fi Software
• BGLibTM library : A portable ANSI C library (parser), which implements the BGAPITM protocol
– Easy to port to various architectures such as : ARM Cortex, Coldfire+ , PIC16/32 etc,
– Uses fuction–call back architecture
9/19/2013 10
Bluegiga Wi-Fi Software
Application
BGLib library
Main program
Library function
Callback function
Calls Calls
• BGScriptTM scripting language : A very simple BASIC-like application scripting language
– Used for standalone applications without an external MCU
– Enables very simple and fast application development with free SDK and toolchain
9/19/2013 11
Bluegiga Wi-Fi Software
• Why to use BGScriptTM?
• Very simple to use
– Fast development of simple Wi-Fi applications
– Examples: Access Point scan and connection, simple user interfaces, simple sensors
• Free software development tools
– Code developed with any text or source code editor
– Code compiled with Bluegiga’s free compiler
• Example scripts available
– Access Point scan
– TCP server
– TCP client
• Cuts out the need for external MCU
– Reduced product eBoM
– Smaller footprint
– Faster time-to-market
9/19/2013 12
Bluegiga Wi-Fi Software
9/19/2013 13
Use Cases
• Standalone architecture using Bluegiga WF121 Wi-Fi module
– Sensors and peripherals are directly connected to the WF121 via the IO interfaces
– Application executed on the on-board PIC32
– Application developed with BGScriptTM or ANSI C
WF121 Wi-Fi Module
Display Sensors
Buttons or Leds
IO or PWM
I2C or SPISPI
Power supply
9/19/2013 14
Use Cases
• Hosted architecture using Bluegiga WF121 Wi-Fi Module and a separate MCU
– Sensors and peripherals are directly connected to the MCU via the IO interfaces
– WF121 connected to the MCU via UART, USB or SPI
– Application developerd to the MCU and interfacing to WF121 done using BGAPITM protocol (BGLibTM can be used on the host)
WF121
Wi-Fi Module
Display
Sensors
Buttons or Leds
UART, USB or SPI
IO or PWM
I2C or SPI
SPI
www.bluegiga.com
www.bluegiga.com
Thank You
9/19/2013 15