24
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Class ID: 2L03I RL78 Bluetooth Connectivity Anthony Harris, RenesasRulz Admin

RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

Embed Size (px)

Citation preview

Page 1: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

Renesas Electronics America Inc.

© 2012 Renesas Electronics America Inc. All rights reserved.

Class ID: Class ID: 2L03I

RL78 Bluetooth Connectivity

Anthony Harris, RenesasRulz Admin

Page 2: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 2

Anthony Harris: The Moderator

A little bit about myself…

I graduated from the University of North Carolina at Charlotte with degrees in Electrical Engineering and Physics.

I am currently a Masters student in Electrical Engineering at the University of North Carolina at Charlotte.

– Focusing on controls, within wireless sensor networks

Within Renesas…

I am a website moderator for RenesasRulz

– Answer questions, updating web pages, and dealing with everyday user issues

I am currently working on developing footprints for most of the MCU families

Random Facts…

Page 3: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 3

Renesas Technology & Solution Portfolio

Page 4: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 4

Microcontroller and Microprocessor Line-up

Wide Format LCDs Industrial & Automotive, 130nm

350µA/MHz, 1µA standby

44 DMIPS, True Low Power

Embedded Security, ASSP

165 DMIPS, FPU, DSC

1200 DMIPS, Performance 1200 DMIPS, Superscalar

500 DMIPS, Low Power

165 DMIPS, FPU, DSC

25 DMIPS, Low Power

10 DMIPS, Capacitive Touch

Industrial & Automotive, 150nm

190µA/MHz, 0.3µA standby

Industrial, 90nm

200µA/MHz, 1.6µA deep standby

Automotive & Industrial, 90nm

600µA/MHz, 1.5µA standby

Automotive & Industrial, 65nm

600µA/MHz, 1.5µA standby Automotive, 40nm

500µA/MHz, 35µA deep standby

Industrial, 40nm

200µA/MHz, 0.3µA deep standby

Industrial, 90nm

1mA/MHz, 100µA standby

Industrial & Automotive, 130nm

144µA/MHz, 0.2µA standby

2010 2012

32

-bit

8

/1

6-b

it

8/16-Bit True Low Power High Efficiency & Integration

Page 5: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 5

Challenge:

With industry striving for a more sustainable and power efficient wireless sensor networks. It is necessary for the control system to be able to meet these ever progressing demands.

Solution:

“This class will show you how the RL78G14 will help meet these ever growing demands.”

‘Enabling The Smart Society’

Page 6: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 6

Outline

Wireless Technology Breakdown

Wireless Technology: Bluetooth

What is Bluetooth Low Energy?

Low-Power μControllers

Renesas μController Breakdown

Further look into the RL78G14

Today’s Hardware and Lab

Hardware

– RDK RL78G14

– PmodBT2

Page 7: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 7

Wireless Technology Breakdown

1 10 100

ZigBee

Bluetooth

Wi-Fi

Cellular (2G, 3G)

Reach (m)

1000

Cellular: long reach

Wi-Fi: ~100m single hop

No mesh networks

ZigBee: 10-50m single hop

Range can be increased by mesh networking

Bluetooth: power-class-dependent: 100m, 10m and 1m

Reach Throughput Power Cost

Page 8: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 8

Wireless Technology Breakdown

0.1 1 10 100

ZigBee

Bluetooth

Wi-Fi

Cellular (2G, 3G)

Data rate (Mbps)

Wi-Fi: High throughput 802.b: 11 Mbps, 802.11n:

150 Mbps

File transfers, video applications

ZigBee: Low throughput 20, 40, and 250 Kbits/s

Status information, data logging

Bluetooth: Moderate throughput 1 Mbps (Basic rate) – 24

Mbps (HS)

Range Throughput Power Cost

Page 9: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 9

Wireless Technology Breakdown

Low Average

ZigBee

Bluetooth

Wi-Fi

Cellular (2G, 3G)

Battery life (yrs)

Long

Bluetooth LE

ZigBee: Low power 2yr+ battery life for certification

Optimized for low power: fast wake up (15us)

System power needs to account for intermediate hops

Wi-Fi, Cellular: Avg battery life Dependant on duty cycle

Bluetooth: Dependant on variant Classic, HS: Maintains

connection while communication, needs continuous power. Low battery life.

BTLE has very low power consumption: good fit for portable devices

Range Throughput Power Cost

Page 10: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 10

Wireless Technology Breakdown

$ $$

ZigBee

Bluetooth

Wi-Fi

Cellular (2G, 3G)

Cost

$$$

Wi-Fi: Higher per unit cost

Lower system cost due to availability of existing infrastructure

ZigBee: Low per unit cost

System cost high due to need for new routers, access points

Bluetooth: Low unit and system cost

Cellular: Moderate unit cost

Operational cost: Cellular connection needs monthly service from wireless provider

Range Throughput Power Cost

Page 11: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 11

Wireless Technology: Bluetooth

Based on IEEE 802.15.1 standard

Uses frequency-hopping spread spectrum

Transmits data in chunks

79 bands (1 MHz each; centered from 2402 to 2480 MHz)

Topology

Ad-hoc, very small networks

Version Variants Description Max data rate (Mbit/s)

Version 1.2 Basic rate Gaussian frequency-shift keying (GFSK) 1

Version 2.0 +EDR π/4-DPSK and 8DPSK 3

Version 3.0 +HS Uses Wi-FI AMP (Alternate MAC/PHY) 24

Version 4.0

Classic Bluetooth Legacy BT protocols

Bluetooth high speed

Uses Wi-FI AMP (Alternate MAC/PHY)

Bluetooth low energy

new protocol stack for rapid build-up of simple links.

Page 12: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 12

Bluetooth Low Energy (BLE)

Is a new feature within Bluetooth 4.0

Short transmission range

Utilizes 128-bit Advanced Encryption Standard (AES)

1Mbit/s transfer rate

Benefits of such a technology:

Ultra-low peak, average and idle mode power consumption

Low cost (in comparison)

Ability to run for years

Markets for this technology:

Medical Industry

Consumer products

Wireless sensor networks

– Comparable to IEEE 802.15.4

Bluetooth – BLE mode

Page 13: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 13

Low-Power μControllers

With Low power wireless communication, a low power μController must accompany it

There are a lot of Renesas solutions for this, a few can be seen below:

RL78 Family

– RL78G12

– RL78G13

– RL78G14

RX Family

– RX210

– RX62N

– RX63N

SH Family

– SH7261 thru

SH7565

Page 14: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 14

Renesas μController Breakdown

RX62N:

480μA/MHz with all peripherals on

2.7v to 3.6v supply

RL78G14:

66μA/MHz in operation

1.6v to 5.5v supply

SH7261:

1mA/MHz in normal operation

Power usage Performance Cost Overview

uA/MHz

RX62N

RL78G14

SH7261

Page 15: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 15

Power usage

Renesas μController Breakdown

RX62N:

165 DMIPS at a max frequency 100MHz

RL78G14:

44 DMIPS at a max frequency 32MHz

1.39 DMIPS per MHz

SH7261:

240 MIPS at 100MHz

288 MIPS at 120MHz

Performance Cost Overview

MIPS

RX62N

RL78G14

SH7261

Page 16: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 16

Power usage

Renesas μController Breakdown

RX62N:

Average cost

20x20mm footprint

RL78G14:

Cost reduction with ON-Chip:

Temperature Sensor

32MHz +/- 1% oscillator

Low-voltage detector

SH7261:

Higher cost

Larger dimensions leading to

higher overall costs

24x24mm footprint

Performance Cost Overview

$$

RX62N

RL78G14

SH7261

Page 17: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 17

Power usage

Renesas μController Breakdown

Performance Cost Overview

This was just a look at three various μControllers RX62N:

– Great Performance with a mid level power consumption – Cost of the unit falls in the middle of the three μControllers

compared

RL78G14: – Lowest Performance but with an ultra-low power consumption – Lowest unit cost

SH7261:

– Best performance with the worst power consumption – Highest unit cost

It all really depends on what you are looking for…

Page 18: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 18

Further look into the RL78G14

Page 19: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 19

Today’s Hardware

Hardware:

RDK RL78G14

– Tons of built in test peripherials

– WiFi by GainSpan, Eink display, power control

PmodBT2

– Digilent Inc.

– Chipset provided by Roving Networks RN-42

Laptop

Bluetooth USB adapter

Page 20: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 20

Lab Time!

Page 21: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 21

‘Enabling The Smart Society’

Challenge:

With industry striving for a more sustainable and power efficient wireless sensor networks. It is necessary for the control system to be able to meet these ever progressing demands.

Solution: “This class will show you how the RL78G14 will help meet these

ever growing demands.”

Do you agree that we accomplished the above statement?

Page 22: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 22

Questions?

Page 23: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

© 2012 Renesas Electronics America Inc. All rights reserved. 23

Please utilize the ‘Guidebook’ application to leave feedback

or

Ask me for the paper feedback form for you to use…

Please Provide Your Feedback…

Page 24: RL78 Bluetooth Connectivity - Renesas e-Learning · RL78 Bluetooth Connectivity Anthony Harris, ... Low throughput 20, 40, ... 1 Mbps (Basic rate) – 24 Mbps (HS) Range Throughput

Renesas Electronics America Inc.

© 2012 Renesas Electronics America Inc. All rights reserved.