65
Single Mode Bluetooth low energy Moscow June 24th Kjetil Holstad, Strategic Marketing, Low-Power RF 1

Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

  • Upload
    hadieu

  • View
    229

  • Download
    6

Embed Size (px)

Citation preview

Page 1: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Single Mode Bluetooth low energy

Moscow June 24th

Kjetil Holstad, Strategic Marketing, Low-Power RF

1

Page 2: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Agenda

• Introduction to Bluetooth Low Energy

– BLE in Smart Phones (Android Demo)

• Getting started with TI Bluetooth low energy

– Over the Air download

– SensorTag (demo)

• BLE Qualification

• BLE into different market segments

– BLE Light (demo)

– BLE broadcaster

2

Page 3: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Sub 1GHz 2.4GHz to 5GHz 13.4KHz /13.56MHz

SimpliciTI

PurePath

Wireless

Bluetooth® technology

Bluetooth® low energy ANT

RFID NFC

ISO14443A/B ISO15693

SimpliciTI

6LoWPAN

W-MBus

Supported standards

ZigBee®

6LoWPAN

RF4CE

Wi-Fi

TMS37157

TRF796x

TRF7970

CC1110

CC1190

CC11xL

CC430

CC112X

CC120X

CC1180

CC2500

CC2543/44/45

CC2590/91

CC8520/21

CC2530/31

CC2560/7

CC2540/1

CC2570/1

CC2530

CC2530ZNP

CC2531

CC2533

CC2538

CC2520

WL1271/3

CC3000

GPS

CC4000

Satellite

Example applications

Product line up

The industry’s broadest wireless connectivity portfolio

Red = SimpleLink family of self-contained, wireless connectivity solutions

Page 4: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Introduction to Bluetooth Low Energy

4

Page 5: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

What is Bluetooth low energy

• Part of Bluetooth 4.0

• Wireless Personal Area Network technology

• Target Applications: – Low Power

– Low Latency

– Low Throughput

• Spread Market and Application Areas – Entertainment, Sports & Fitness

– Home Automation, Security & Proximity

– Medical, Industrial & Automotive

5

Slave

Master

Slave

Slave

Page 6: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Bluetooth Ecosystem and Branding

Dual Mode

Classic

Single Mode

• A2DP Profile to stream

music from phones

• Stellaris or other ARM

Cortex M3/M4

• Supports new and old

phones (BT and BLE)

• 1 year+ on Coin Cell Battery

• No Apple MFI Royalties

• ~100kbps throughput

Page 7: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Classic Bluetooth vs Bluetooth low energy

Page 8: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

[Mbps]

50

3

1

11

6

1

Bluetooth low energy vs WiFi/BT

8

WiFi

BLE

BT

BLE WiFi Li-Ion

AAA

Coin

Cell

Smallest Power Source

Required

Technology

WiFi

BLE BT

Maximum Throughput (Symbol rate)

Technology

Page 9: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Connection Events

• All communication between two connected devices occur during

Connection Events – Occur even when one (or both) sides have no data to send

– Occurs periodically

9 Sleeping

Connection Events

time

Current draw

[mA]

Sleeping

Page 10: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Bluetooth low energy Device Roles

• A Bluetooth low energy device can operate in four profile roles:

– Peripheral • An advertiser that is connectable • Operates as a slave in a connection • Example: Heart Rate Sensor

– Central • Scans for advertisements and initiates connections • Operates as a master in connections. • Example: Smartphone

– Broadcaster • An advertiser that is non-connectable • Example: Temperature Sensor

– Observer • Scans for advertisements, but cannot initiate connections • Example: Temperature Display

10

Page 11: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Heart Rate Profile

Profiles and Services

• A Profile defines and describes

the use of Services necessary to

implement a given Application

• Bluetooth SIG adopted examples:

– Heart Rate Profile

• Heart Rate Service (HRS)

• Device Information Service (DIS)

– Proximity Profile

• Link Loss Service

• Immediate Alert Service

– Find Me Profile

• Immidiate Alert Service

11

Profile

Service

Characteristic

Properties

Value

Descriptor

Characteristic

Properties

Value

Descriptor

...

HRS

Measurement

Notify

98

User. Disc.

GATT = Generic Attribute Profile

DIS

System ID

Read Only

XX ... XX

User. Disc.

Page 12: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

GATT Architecture

• GATT specifies the structure in which data is stored and exchanged.

• Servers have data, which are exposed using characteristics.

• Clients want to use this data

12

Server

Client Requests or Commands

Responses

Service

Characteristic

Characteristic

Service

Characteristic

Characteristic

Page 13: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Bluetooth low energy Q&A

Question Answer

Is dual mode Bluetooth

needed?

If you want to communicate with all devices on the market,

having backwards compatibility with Classic Bluetooth devices

- you’ll need dual-mode

Is it possible to upgrade the

firmware Over The Air?

Yes, we have several solutions to do so, including direct

update from a Smartphone/Tablet.

Can CC2540/41 use coin cell

batteries and how long would

the battery operate?

Yes, it can use coin cell. Depending on application, you can get

many years of lifetime (please note a coin cell could be limited

by self discharge rather than capacity)

Can I add BLE to my existing

product?

Using CC2540/41 as a network processor, TI supports any

micro on the market.

Do I have to pay any royalties

to Apple? No, BLE is the only solution for accessories to avoid MFI cost.

Is BLE supported by Android

too?

For the moment (Q1/13) no official support from Google. Some

devices from Samsung and Motorola have their own BLE

support, which would be solved by writing an individual app per

device.

Page 14: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Initial design considerations

Question Why is it important?

What datarate will your

application require?

Our BLE stack supports 8KB per second. Note that the

throughput is dependent on the peer device too.

What volume do you expect

on a yearly basis?

For Low volumes (10-100KU) we would recommend using

a module vendor. This would save you cost and time for

design and certification.

For high volumes we recommend using our reference

design - QFN chip on Board

Does your application need

to connect to a PC?

If yes, our CC2540 SoC has USB support for direct

connection to PC.

Will iOS be part of the eco

system?

TI can provide you source code examples to get you started

for free.

Would you need a officially

adapted profile, or would

you make you own?

We support all officially adopted profiles in addition to our

own proprietary profiles (like the Sensor Tag) which you can

use as a starting point.

Page 15: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

More information on Bluetooth low energy

To learn more about Bluetooth low energy, please see:

• TI Connectivity Wiki, BLE: www.ti.com/ble-wiki

• BLE on ti.com: www.ti.com/BLE

• SensorTag on ti.com: www.ti.com/sensortag

• E2E Forum: www.ti.com/wiconforum

• Wireless Connectivity Selection Guide: www.ti.com/wirelessconnectivityguide

• Our BLE technical training, “getting started” - (3x15 minutes)

TI training center: To be found under Wireless Trainings

Page 16: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Introduction to Bluetooth Low Energy

Bluetooth Low Energy into Smarphones

16

Page 17: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Bluetooth 4.0 Ecosystem

17

Billions of Bluetooth Smart

Ready devices turning data into

information through apps

Billions of Bluetooth Smart

& Classic Bluetooth devices

securely sending data

Smart Home/Energy Automotive Health & Fitness Consumer Electronics

Mobile Phones Tablets

Connecting devices &

securely sending Data to Applications

Page 18: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Bluetooth low energy in Smart Phones

• Apple iPhone 4S/5, MAC OS, iPAD

– 1.5 years support of BLE

– iOS 7 announced this fall with further focus on BLE

• BT4.0 Hardware is available in most smart phones

– HTC1X

– Samsung Galaxy S3 & S4

– Motorola RAZR

But software have been limited or «hacked»

• This is about to change as Google have finally announced that they

are releasing Bluetooth low energy API for Android

18

Page 19: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

When do we see BLE in Android?

• In Android version 4.3

• Confirmed Phone: Nexus 4

• Android Development

– BLE available in API Level 18, «in a few short months»

• TI Development

– Goal: Android App ready 2 weeks after the official API have been released.

The app is being developed now with CC2540 dongle for the interface.

• Bluetooth SIG

– Application Accelerator

– Go To Market Toolkit

19

Page 20: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Demo: SensorTag on Samsung S4

• Samsung released API for Android beginning of May

• Demo shows SensorTag interfacing camera of the S4

20

Page 21: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

iOS 7 – taking BLE to the next level

• HID over GATT

– iPad keyboards

– iOS game controllers

• Apple Notification Center Service (ANCS)

– Incoming & Missed calls

– Instant messages (iMessage, SMS, MMS)

– Calendar Events

– App notifications (This means ALL applications will be available here)

• State Preservation and Restoration

– Allow external devices to stay connected

• iBeacon

– Proximity / Location based – broadcaster support

21

Page 22: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

References iOS development • Getting started with iOS development

– Setting up account and development environment (Xcode)

– Developing, installing and testing an app

– Distributing on the appstore (pretty complicated)

– https://developer.apple.com/programs/ios/gettingstarted/

• Objective-C and iOS

– If you are familiar with C:

• http://en.wikipedia.org/wiki/Objective-C (very helpful)

– Your first iOS app

• http://developer.apple.com/library/ios/#documentation/iphone/conceptual/ipho

ne101/Articles/00_Introduction.html

– BLE Blog by Ole Andreas Torvmark (TI Contractor in Oslo)

• http://ble.stalliance.no/

• Sensortag example project

– http://www.ti.com/sensortag-wiki 22

Page 23: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Getting started with TI Bluetooth Low Energy

23

Page 24: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Highly integrated solution

• Single-chip or WNP solution

• Flash-based

• USB Support

Low cost HW design

• 6x6mm QFN package

• 2 layers design

• Low cost crystals

Quick software development

• SW examples for all adopted

profiles

• iOS App source code

TI Bluetooth low energy benefits

Flexible configuration

• Master/Slave switching

• OAD SW update

• Multiple Role support

• Boot Image Manager (BIM)

Mature solution

• TI first to market (2010)

• >14000kits shipped

• Leading market share (IMS/ABI)

Support

• www.ti.com/ble-wiki

• www.ti.com/ble

• Most active BLE community

(www.ti.com/ble-forum)

• All information publicly available

Powerful

• >1 year battery life with

CR2032

• 97dB link budget

Ultra-low power

• Very low-power sleep modes

• Short transition times between

operating modes

• Ref.design with dc-dc

(TPS62730)

Cost Effective Mature Offering Operates on a coin cell

Page 25: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Industry’s only BLE Over-the-Air download solution

25

Problem Solution

• Required to upgrade accessory

firmware after release

– Due to feature improvements. Spec

changes. Bug fixes++

• Currently, the only way to update is by

wired connection – Requires USB connector and bootloader

– Not supported by smartphones

– Must be manually downloaded to a PC tool

– Increased cost

• Customers do not want any hassle

with upgrades

• TI’s BLE-Stack offers the industry’s

only over-the-air download

capabilities

• Devices using CC2540/41 can be

updated wirelessly from a smart-

phone or tablet

• Ensures easy and purely wireless

user experience

• Supported on any

smartphones/Tablets

BLE-enabled

accessories BLE-enabled

accessories

Page 26: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

TI Bluetooth low energy offering

Royalty free, in-house BLE-stack

Broadest range of certified profiles

BLEv1.3 – Over the Air Upgrade (OAD)

CC2540

Flash SoC

USB

CC2541

Flash SoC

I2C

CC2541S

Flash WNP

HW SW

CC2540DK-MINI

CC2541DK-MINI

The easiest way

of evaluating

Bluetooth low

energy

CC2540DK

CC2541EMK

Advanced kit with

several peripheral

interfaces and

features

SensorTag CC2541DK-SENSOR

Targeting Smart

Phone App

developers.

Provides sensor data

from 6 sensors

CC2541DK-RC

Development kit for

mouse, keyboard

and consumer

remote

BOOST-CC2541S

BoosterPack for

MSP430, Tiva

and C2000

Development Kits

Page 27: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Resources for prototyping and development

BLE Key fob

BLE Sensor kit An app developer can access:

IR temp sensor

Humidity sensor

Accelerometer

Pressure sensor

Magnetometer

Gyroscope

Pushbuttons, LEDs

USB stick For PC connectivity

iOS app on appstore Source code available!

Btool for BLE

device exploration RF Packet Sniffer Power consumption

estimator BLE device monitor

Page 28: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Bluetooth low energy Module Partners

Modules

Software / Enabler

Page 29: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Demo of CC2541DK-SENSOR

Apple iPad connected to Texas Instruments SensorTag

29

Page 30: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Sensor Tag: Bluetooth low energy made easy!

Get started with Bluetooth Smart sensor app development in minutes!

+

= unlimited app possibilities

+ iOS device with Bluetooth low energy SensorTag app

IR temp humidity accelerometer pressure magnetometer gyroscope Buttons/

LEDs

Page 31: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Demo: Bluetooth low energy SensorTag

31

CC2541

IMU-3000 Rotation

KTXJ9 Acceleration

MAG3110 Magnetic Field

SHT21 Humidity

T5400 Pressure

TMP006 Temperature

Push

Buttons

LEDs

I2C

Central Device

– Master + Client (wants data)

Peripheral Device

– Slave + Server (has data)

Sensor Data

Configuration

Page 32: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Getting Started

With Texas Instruments Single Mode Bluetooth low energy

32

Page 33: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Order Kit and Download SDK

33

Order

Kit

Download

SW Stack Evaluate and Learn

Bluetooth low energy

Order Kit

Download

• Visit ti.com/ble

Page 34: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Two-Chip Solution (Network Processor)

One-Chip Solution

TI Bluetooth low energy Hardware

34

CC2540

Flash SoC

USB

Higher Output Power

CC2541

Flash SoC

I2C

Power optimized Radio

Proprietary Mode

MCU Serial

Application + Profiles BLE Stack BLE Stack + Application + Profiles

CC2540

CC2541

CC2540

CC2541

Two ways of using TI Bluetooth low energy

Page 35: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

TI Bluetooth low energy Hardware

35

CC2540DK-MINI

CC2541DK-MINI

The easiest way of

evaluating

Bluetooth low

energy

CC2540DK

CC2541EMK

Advanced kit with

several peripheral

interfaces and

features

CC2541DK-SENSOR

Targeting smartphone

App developers. The

SensorTag provides

sensor data from six

sensors

CC2541DK-RC

The Remote operates

as a mouse, keyboard

and consumer remote

using HOGP

Development Kits

CC2540

Flash SoC

USB

Higher Output Power

CC2541

Flash SoC

I2C

Power optimized Radio

Proprietary Mode

Page 36: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

TI Bluetooth low energy Software Solution

• Full Protocol stack for single mode Bluetooth low energy solution available at ti.com/ble-stack (Royalty Free)

• Complete power optimized stack including controller and host – Device Roles: Central, Peripheral, Observer or Broadcaster

– GATT – Client and Server

– Security Manager – 128 bit AES Encryption and Decryption

• Sample applications and profiles – Generic applications for all GAP roles and supported profiles.

– The latest adopted SIG Profiles and example Proprietary Profiles

– Over the Air Download (OAD)

• Fully certified solution – TI BLE Controller Subsystem

– TI BLE Host Subsystem

– TI BLE Profile Subsystem

36

Page 37: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

TI Bluetooth low energy Software Solution

37

Apps

Stack

Application

Generic Access Profile

Generic Attribute Profile

Attribute Protocol Security Manager

Logical Link Control and Adaption Protocol

Link Layer

Physical Layer

HCI

Other Profiles GAP Role GATT Service ...

OSAL

HAL

Source

Library

OSAL = Operating System Abstraction Layer (Prioritized task handling loop)

HAL = Hardware Abstraction Layer (Drivers and API for LEDs, Buttons etc)

Full API to access all stack functionality in the stack (Library) from the Application and Profiles

Page 38: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

TI Bluetooth low energy Tools

• BTool

– Run and test all possible Bluetooth

low energy functionality controlled

from the PC tool.

• BLE Device Monitor

– Provides an intuitive and graphical

way to explore Bluetooth low energy

Services and Characteristics.

• SmartRF™ Protocol Packet Sniffer

– Capture Bluetooth low energy

communication live with full overview.

• SmartRF™ Flash Programmer

– Program CC254x devices

– Read and write IEEE addresses

38

Page 39: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

TI Bluetooth low energy Software Examples

• Profile Specific

– Heart Rate

– Glucose

– HID Keyboard

– Etc.

• Generic

– SimpleBLEPeripheral

– SimpleBLECentral

– SimpleBLEBroadcaster

– SimpleBLEObserver

39

Bluetooth SIG adopted Profiles Cycling Speed and Cadence - Certified (BLEv1.4) Running Speed and Cadence - Certified (BLEv1.4) Blood Glucose - Certified (pending) (BLEv1.2, February ‘12) HID over GATT - Certified (BLEv1.2, February ‘12) Proximity - Certified (BLEv1.1, July ‘11) Find me - Certified (BLEv1.1, July ‘11) Health thermometer - Certified (BLEv1.1, July ‘11) Heart rate sensor - Certified (BLEv1.1, July ‘11) Time - Certified (BLEv1.1, July ‘11) Alert Notification - Certified (BLEv1.1, July ‘11) Battery Status - Certified (BLEv1.1, July ‘11)

Page 40: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

BLE Qualification

40

Page 41: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Overview

41

Certification Process

Global Market

Bluetooth Product

Qualification Process

Regulatory Domain (FCC / ETSI)

Unplug Fests

Interoperability functional tests

Not part of the Qualification Program, Sponsered by Bluetooth SIG

License to Sell Bluetooth logo License grant

Page 42: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Certification

• Why Certify?

– In order to sell your Bluetooth low energy product in EU and on the

North American market, your equipment needs to comply with the

regulatory requirements of European Commission (R&TTE), FCC

(Federal Communications Committee) and IC (Industry Canada).

• How?

– Directly from the FCC

– Through a TCB (Telecommunications Certification Body)

42

Page 43: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Qualification

• Why Qualify?

– Listing on SIG sites

– IOP success confidence

– To release a Bluetooth product

to market, Qualification is

required

43

Page 44: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Qualification

44

1. Learn about the technology and process

Is there a pre-qualified design

I can use or reference?

2. Build a design based on your concept

Exchange ideas with SIG members

Test Plan Generator (TPG)

UnPlugfests (UPF), IOPs

Solution Development

3. Test your prototype

for compliance and fix bugs

Run Test Plan

Test Profiles in house

Testing Facilities (CAT-A)

Qualification Experts (BQE)

Test Requirments

Conformance and Interoperability testing

Compliance Folder

4. List your design and product,

Declare compliance.

Obtain IP license protection and

Brand/logo use

Process: 1. Obtain QDID

2. Complete Test Plan

3. Upload Test Results

4. Match TPG Project to QDID

5. Complete Compliance Folder

Qualified Design Listing (QDL)*

End Product Listing (EPL)**

* $5000 for Promoter/Associate, $10000 for Adopter

** Free

Page 45: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Design Product Types

45

1. Bluetooth End Product

2. Bluetooth Controller Subsystem Product

3. Bluetooth Host Subsystem Product

4. Bluetooth Profile Subsystem Product

5. Bluetooth Component Product

6. Bluetooth Test Equipment

7. Bluetooth Development Tool

Component Subsystem End Product

Intention

Allow partial product to be qualified and require that Component integration must always result in a new Qualified Design Listing (QDL).

Allow partial product types (Controller or Host) to be qualified with intention and ability to be combined to meet definition of End Product type.

Allow qualification for entire Core Configuration in one Qualified Design (QDL).

Benefit

Testing inheritance. Conformance testing for the Component’s qualified layers can be inherited.

When used correctly, no further qualification is required if matching two or more complementary Subsystems.

End Products can be combined or sold as is without limitations on the license. End Products represent a complete Bluetooth wireless solution.

Page 46: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Qualification Visualized

46

Full Qualification Process

Following TI Reference Design

Create End Product Listing (EPL)

Using TI BLE Subsystems

BT SIG Membership

Controller Host Profile

Test House

BQE

BT Certified Product

QD

QDID ... QDID

TI Support

Page 47: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

BLE in many markets

47

Page 48: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Proximity tag Health / Fitness Medical Automotive

Find-me

Locationing

Heart-rate

Speed/Cadence

Watches

Thermometer

Blood-Glucose-Meter Remote-Keyless-Entry

Non-critical sensors

Remote control Keyboard and Mouse Toys Home Automation

Simple RC

Motion RC

RC+keyboard

Keyboard

Mouse

Toys

Professional toys

Lighting

Home Automation

BLE enables any application

you can think of!

Bluetooth Low Energy markets

Page 49: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Broadcast CC2541S Lighting

• Reduced power consumption

• Lower cost (CC2543)

• Quicker time to market

• WNP for MCU attached

• Simplify application development

Industrial Locks Automotive ???

• Remote Displays

• Cable replacement

• Gas sensors

• Products in the market

already

• Keyless entry

• Key exchange

• CC2541Q Roadmap

• Keyless entry

• In-vehicle communicatio

• Fishing Lures

• Guitar effect pedals

• Remote camera timer

• Demo with BLE Multitool

• Similar HW to ZLL

Bluetooth Low Energy markets

Page 50: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Bluetooth Smart in Lighting

Bluetooth Low Energy for Consumer Lighting applications

50

Page 51: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Lighting Bluetooth Low Energy (BLE), CC2540/CC2540T/CC2541

Use case

• Direct control of lights from phone/tablets

• P2P or star networks

Why BLE?

• Direct control from Phone/Tablet

• Lowest cost connectivity

• Lowest power connectivity

Why TI BLE for Lighting?

• 125°C roadmap

• Demo platform

• Most robust SW offering

• Long experience in RF enabled bulbs

with CC2530/ZLL (ZigBee Light Link)

Design Resources?

• www.ti.com/led

Page 52: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Lighting Bluetooth Smart for Lighting already happening

Page 53: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Direct control over light from phone/tablet

53

• Control individual or a group of lights

– Control intensity and color combinations

– Set timing triggered events, smooth wake up to a slowely increasing

light or dim the lights slowely when going to bed

– Proximity based, turn lights on/off based on proximity to phone to

lower energy usage

• Enhance your product with a Software Development Kit (SDK)

– Allow other app developers interact with your light

Page 54: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Use light as notifier

54

• Let your light interact with your social life

– Blink or change color upon notifications: Message, Incomming call,

New Mail, Facebook Alert etc.

– Different notifications can have different blink patterns or colors

Page 55: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

BLE Light Demo using TI BLE Multitool

55

• Individual intensity control over 4 LEDs (Red, Green, Blue and

White)

• Powered by USB micro

• TI BLE Multitool for iOS allows for control of 10+ lights

• Schematics, layout and embedded FW available upon request

Page 56: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

56

CC2540T Worlds first 125ºC qualified SoC for Bluetooth Smart applications

• LED lights are usually designed to keep the

LED die junction below 125ºC(1)

• Consumer graded parts might not be

sufficient if used in close proximity to LEDs

• By using CC2540T, graded up to 125ºC, RF

and SoC performance is ensured for the

entire temperature range of the LED light

• Based on same technology as CC2530

shipped in millions into replacement light

bulbs for years

• CC2540T is highly suited for other industrial

applications as well

1) http://ledsmagazine.com/features/4/8/1

Available 2H’2013 – Start your design today using CC2540!

Page 57: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Bluetooth Smart Broadcaster

SW example for broadcast only applications on CC2541 and CC2543

Low Power RF

57

Page 58: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Why Bluetooth Smart Broadcaster?

58

• Reducing the power consumption

– A non-connectable Broadcaster eliminates the need for RX and the overall

radio duty-cycle is lowered

– A simple Broadcaster can be implemented directly on the Radio, by-passing

the need for full BLE Stack - simpler SW removes power consumption

related to heavy stack processing

• Can be implemented on CC2543 for lower cost and smaller size

– Smallest TI SoC implementation for a Bluetooth Smart device

• CC2541 soft bootloader allows switching between

– Lower powered Bluetooth Smart SW

– Standard BLE stack for connection events

Page 59: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Bluetooth Smart Broadcaster - examples

59

• Simplify a weather station

for quicker time to

market and lower cost

solution using CC2543

• Add flexibility and

lower power to products

• Use CC2541 to boot between:

• Connection based for OAD, Security and Bi-

Directionality

• Broadcast for more displays and lower power ++

• Proximity based

advertisment for retail/

directed campaigns

Page 60: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

How does the Broadcast example work

60

• Simple broadcaster application example assimilating the BLE

ADV_NONCONN_IND (Bluetooth core spec 4.0) advertizing packets.

• The application will transmit an advertizing packet at a given interval.

For each event the same packet will be transmitted to all active

broadcast channels back2back.

• The application will enter PM2 between each advertizing event.

• Which channels that are active can easily be selected

Page 61: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

How does the Broadcast example work

61

• advInterval is adjustable in the range 100 ms to 10.24 s.

• advDelay is added in addition (pseudo-random 0-10 ms).

Page 62: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Broadcast example Power Consumption

62

Measured on CC2541 Keyfob:

• DCDC (TPS62730).

• 2 Bytes Payload.

• 15 mA Peak Current.

Current vs. Adv. Interval

Advertising

Interval

[ms]

Approx. Avg. Current [uA]

BLE

Broadcast

BLE

Stack Delta

100 200 300 100

1000 20 30 10

10000 2 3 1

Page 63: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Using Bootloader

• For applications that need connection events, CC2541 and the

bootloader can be used to switch between full BLE Stack and the

broadcaster example

Soft-Switch

Time from BLE to Prop

BLE -> ISM Packet to Air 24.8ms

BLE -> ISM to main start 96us

Time from Prop to BLE

ISM -> BLE Packet to Air 50ms

ISM -> BLE to main start 1.56ms

Hard-Switch

Time from BLE to Prop

From HAL_SYSTEM_RESET(); in BLE stack to

Start of main in proprietary: 2.2ms

Before while case (runtime): 33ms

Time from Prop to BLE

From system reset in prop to

Start device event 196ms

To Advertising callback 198ms

To first Advertising Event ended 199ms

Page 64: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

CC2541 or CC2543

64

CC2541 CC2543

Max Output Power 0 dBm +5 dBm

TX current at 0dBm 18.2mA 26mA

Flash 128/256kB 32kB

Ram 8kB 1kB

Sleep Timer Crystal or RC RC

Dual Boot YES NO

Size 40 pin 6x6 QFN 32 pin 5x5 QFN

• Broadcast SW requires ~3.4kB Flash and 490 bytes RAM

Page 65: Single Mode Bluetooth low energy - Компэл · CC2540/1 CC2570/1 CC2530 CC2530ZNP CC2531 ... •Demo shows SensorTag interfacing camera of the S4 20 . iOS 7 ... LEDs I2C Central

Questions?

65