track 2 session 2 - st dev con 2016 - stm32 open development environment

35
October 4, 2016 Santa Clara Convention Center Mission City Ballroom STM32 Open Development Environment Fast and Affordable Development and Prototyping Fabrizio Rovati

Upload: stworld

Post on 06-Jan-2017

735 views

Category:

Devices & Hardware


3 download

TRANSCRIPT

Page 1: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

October 4, 2016

Santa Clara Convention Center

Mission City Ballroom

STM32 Open Development EnvironmentFast and Affordable Development and Prototyping

Fabrizio Rovati

Page 2: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

Agenda

• The IoT movement & IoT needs

• STM32 Open Development Environment

• Hardware building blocks

• Software building blocks

• Function Packs

• Demonstration

• Ecosystem

• Conclusions

2

Page 3: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

The IoT movement & IoT needs

• The IoT movement & IoT needs

• STM32 Open Development Environment

• Hardware building blocks

• Software building blocks

• Function Packs

• Demonstration

• Ecosystem

• Conclusions

3

Page 4: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

The IoT Movement 4

IoT is a movement where any system is able to leverage the Internet and its eco-system

Nodes Gateways Cloud

Smart Things(With intelligence)

Simple Things(Send raw data)

Gateway

Network

infrastructure(Switch / Router)

Servers(Big data & cloud)

Cloud computing – Low cost embedded computers – Explosion of reliable wireless connectivity – Rapid innovation of low cost sensors

Sense – Process – Connect – Power - Secure Process – Connect – Power - Secure Process – Power - Secure

Page 5: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

Connectivity

10 cm

to

10 km

Signal Conditioning

& Protection

Nano Amps

to

Kilo Amps

IoT Devices Come in Many Form Factors but Their Needs are the Same

5

Sensing &

Actuating

Power & Energy

Management

Smart

Industry

Smart

City

Smart

Things

Smart

HomeFull range of

sensors

and

actuators

Nano Watt

to

Mega Watt

Processing

& Security

Ultra-Low Power

to

High Performance

Scalable Security

solutions

Page 6: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

Lowering the Barriers for Developers 6

Market

Device

Prototype Integrated Boards Final

Device

IdeaApplication

Test SW

Field

Test

Commercial

SW

Fast, affordable prototyping with development continuity to final device

Page 7: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

STM32 Open Development Environment

• The IoT movement & IoT needs

• STM32 Open Development Environment

• Hardware building blocks

• Software building blocks

• Function Packs

• Demonstration

• Ecosystem

• Conclusions

7

Page 8: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

STM32 Open Development Environment 8

Developer community and supportCompatibility with free and commercial Development Environments

STM32 Nucleo

development boards

STM32 Nucleo

expansion boards

Sensors – motion,

environment, light ..

Ultra-low power

connectivity

ULP Memories and

NFC Tags

Analog and mixed

signal components

Power and energy

management

STM32Cube

expansion softwareSTM32Cube

development software

Function packsSet of function examples for some of the most common application cases

Fast, affordable prototyping & development

pre-integrated ST components and SW

Cloud

Connectivity

Sensing

Safety &

Security

Page 9: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

Hardware building blocks

• The IoT movement & IoT needs

• STM32 Open Development Environment

• Hardware building blocks

• Software building blocks

• Function Packs

• Demonstration

• Ecosystem

• Conclusions

9

Page 10: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

STM32 Nucleo Development Boards 10

Complete product range

from ultra-low power to high-performance

A comprehensive range of affordable development boards for all STM32 microcontroller series,

with unlimited unified expansion capability, and with integrated debugger/programmer

www.st.com/stm32nucleo

Page 11: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

STM32 Nucleo Expansion Boards 11

DIL24 support for

new devices

Example X-NUCLEO-IKS01A1LIS3MDL LSM6DS0

LPS25HB HTS221

Motion MEMS

sensors

Environmental

sensors

Sense

ConnectPower

Drive

Move

ActuateTranslate

Boards with additional functionality that can be plugged on top of the STM32 Nucleo development board

directly or stacked on another expansion board.

www.st.com/x-nucleo

Page 12: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

X-Nucleo family overview 12www.st.com/x-nucleo

27 expansion boards (and growing…) covering all the key functions

Sense

4

Connect

8

Power

Drive

2

Move

Actuate

10

Translate

3

Motion &

environmental

sensors

Proximity sensor

Microphone

BLE

Wi-Fi

Sub-GHz

NFC

Power

management

LED Boost

Motor drive

Actuator

Audio amplifier

OpAmp

Page 13: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

Software building blocks

• The IoT movement & IoT needs

• STM32 Open Development Environment

• Hardware building blocks

• Software building blocks

• Function Packs

• Demonstration

• Ecosystem

• Conclusions

13

Page 14: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

STM32 ODE X-CUBE packages 14

Tools & IDEs

Application

Middleware

Hardware

Abstraction

Hardware

IAR EWARN, Keil MDK-ARM, GCC-based IDEs

(e.g. AC6 System Workbench for STM32)

Sample applications

STM32Cube

middleware

STM32Cube Expansion

middleware

STM32Cube Expansion

HAL

STM32Cube Hardware Abstraction Layer (HAL)

STM32 Nucelo expansion boards (X-NUCLEO)

STM32 Nucelo development boards

Page 15: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

What you get with one expansion board 15

Page 16: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

Getting started video 16

Page 17: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

Function Packs

• The IoT movement & IoT needs

• STM32 Open Development Environment

• Hardware building blocks

• Software building blocks

• Function Packs

• Demonstration

• Ecosystem

• Conclusions

17

Page 18: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

IoT scenarios 18

or

Strategy1. Separate FPs for nodes and gateways/concentrators

2. Combine them to create applicative scenarios

Guarantee interoperability between nodes and GWs

Direct to Cloud1 Smartphone app2 Gateway-to-cloud3

Node reuse

in several

scenarios

CLOUD

Page 19: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

Nodes 19

Acronym on web Description

FP-SNS-6LPNODE1* Sensors Contiki/6LoWPAN, communication via SPIRIT

6LoWPAN SubGHZ sensor nodes

Acronym on web Description

FP-SNS-MOTENV1 MEMS motion and environmental sensor data IoT node

FP-SNS-ALLMEMS1 MEMS motion, environmental and microphone sensors IoT node

FP-SNS-FLIGHT1 A comprehensive set of sensors, comprising motion, environmental, proximity, and including NFC passive tag for BLE secure pairing

FP-SEC-BLENFC1 IoT node using NFC for BLE secure pairing

BLE sensor nodes

Acronym on web Description

FP-CLD-BLUEMIX1 IoT node with motion and environmental sensor, NFC tag, connecting to the IBM BlueMix/Watson Cloud via Wi-Fi

FP-CLD-AZURE1 IoT node with motion and environmental sensor, NFC tag, connecting to the Azure Cloud via Wi-Fi

FP-SEC-WIFINFC1 IoT node using NFC for Wi-Fi provisioning

Wi-Fi sensor nodes

*to be released October 2016

Page 20: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

Gateways/Concentrators 20

Acronym on web Description

FP-NET-6LPWIFI1* 6LoWPAN network to Cloud gateway

FP-NET-6LPBLE1 6LoWPAN network to Smartphone gateway

6LoWPAN/SPIRIT to Cloud

Acronym on web Description

FP-NET-BLESTAR1 BLE star topology network to Cloud gateway

BLE sensor network concentrator to Cloud

*to be released October 2016

Page 21: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

Application scenarios coverage 21

FP-CLD-BLUEMIX1

FP-CLD-AZURE1

Nodes w/ direct Cloud connectivity

FP-SNS-MOTENV1

FP-SNS-ALLMEMS1

FP-SNS-FLIGHT1

Nodes that connect to a smartphone app (BLE)

Via Wi-Fi AP

ST BlueMS

Azure

IBM WatsonCLOUD

Page 22: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

Application scenarios coverage 22

Gateway for BLE-based sensor networks

ST SensNet

BLE

Wi-Fi, via Wi-FI AP (optional)

FP-NET-BLESTAR1

FP-SNS-MOTENV1

FP-SNS-MOTENV1

FP-SNS-MOTENV1

CLOUD

Page 23: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

STSensNet app for Android/iOS 23

Node IDTemperature value in ˚C

Pressure value in mBar

LED status & control

Humidity value in %

APP SDK available on GitHub in source code (project name BlueSTSDK)

Page 24: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

Application scenarios coverage 24

FP-NET-6LPWIFI1

FP-SNS-6LPNODE1

FP-SNS-6LPNODE1

FP-SNS-6LPNODE1

OMA LWM2M server http://leshan.eclipse.org/

Gateway for SPIRIT-based sensor networks

Page 25: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

Application scenarios coverage 25

BLE

FP-NET-6LPBLE1

FP-NET-6LPBLE1

FP-NET-6LPBLE1

FP-NET-6LPBLE1

Gateway for SPIRIT-based sensor networks

Page 26: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

What you get with a Function Pack 26

Page 27: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

The REAL IoT lifecycle 27

Market

Device

PrototypeIntegrated

BoardsFinal

Device

IdeaApplication

Test SW

Field

Test

Commercial

SW

Secure

Provisioning

Secure data

streaming &

actuation

Secure Device

update

Secure authentication

Secure SW download & installation

Networking protocols & Cloud APIs support

Secure e2e link

Secure Device

Decommissioning

Or physical

replacement

Page 28: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

Towards full-lifecycleFOTA update via BLE

28

BlueMS: menu optionBlueMS: Firmware upgrade pageBlueMS: Firmware update file selection BlueMS: application page during FOTA and on completion

FP-SNS-MOTENV1 MEMS motion and environmental sensor data IoT node

FP-SNS-ALLMEMS1 MEMS motion, environmental and microphone sensors IoT node

Page 29: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

Ecosystem

• The IoT movement & IoT needs

• STM32 Open Development Environment

• Hardware building blocks

• Software building blocks

• Function Packs

• Demonstration

• Ecosystem

• Conclusions

29

Page 30: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

Ecosystem

• How to bridge your prototype to a product?

• Leverage the STM32ODE SW compatible ecosystem!!

• Win-win situation for everybody

30

Market

Device

PrototypeIntegrated Boards Final

Device

IdeaApplication

Test SW

Field

Test

Commercial

SW

Page 31: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

Cloud Jam

• First example of integrated trial & production board for the cloud function

packs

31

100% HW and SW compatible with

FP-CLD-AZURE1 and FP-CLD-BLUEMIX1

in production form factor

www.rushup.tech

X-NUCLEO-IDW01M1

X-NUCLEO-IKS01A2

X-NUCLEO-NFC01A1

Page 32: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

Cloud Jam

• Zero effort and time spent for transition from prototype

to deployment!

• I can demonstrate final form factor and have a first

batch of production in no time!

• Ready off-the-shelf solution at the right price

• no skills needed or no ROI to justify to develop own

board

32

• Zero SW development costs & time!

• Zero SW support costs & time for the standard SW

package!

• Fast & inexpensive development cycle but high

potential returns!

• Implicit promotion by the STM32 ODE

• Low volumes but with very high market base –

thousands of potential customers

Ideal for first low-volume trials or productions for customers

Opens door for further opportunities

• If I need a fast modification or design service, I have

professional and skilled support at hand

• If a want to scale up production volume, I can make

optimized deals

• Possibility to promote design customization skills

• A sizable part of the trials/small production customers

can grow exponentially very soon

Develo

pe

r’s v

iew

Part

ner’

s v

iew

Page 33: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

33The industrialization journey

From the Idea to the Product

I build a first prototype

(HW & SW) and can

leverage STM32 ODE

Function Packs

I finalize my project

and get ready for

industrialization /

commercialization

I get an advanced

prototype from ST

or ST partners

I choose components

among the STM32

ODE development &

expansion boards

I’ve got an Idea

I quickly

build my first

Prototype &

develop the SW

I get an

Advanced

Prototype from

ST Partners

I’m now

ready to

industrialize

I Leverage

the SW

developped on my

early prototypes

<$100

<$1000

$0

NOW! Week Month Year

Page 34: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

Takeaways

• Internet of Things presents a wealth of opportunities

• ST has all the building blocks adapted to the different needs of diverse

applications

• STM32 ODE is the right Environment for fast affordable developments

• It is already thought for typical IoT architectures, with ready-to-use backbones

• Exploit the ecosystem to cover the “last mile” to product introduction

34

We are full of more ideas…. stay tuned for further developments!!!

Page 35: Track 2   session 2 - st dev con 2016 - stm32 open development  environment

Going beyond with the STM32 Open Development Environment

35

Sense

Motion &

environmental sensors

Proximity sensor

Microphone

Connect

BLE

Wi-Fi

Sub-GHz

NFC

Power

Drive

Power management

LED Boost

Move

Actuate

Motor drive

Actuator

Translate

Audio

OpAmp

12 processor boards from 9 families

27 expansion boards covering all the key functions

www.st.com/stm32ode

www.st.com/stm32ode-fp