Track 2 session 4 - st dev con 2016 - opensoftwarex

47
October 4, 2016 Santa Clara Convention Center Mission City Ballroom Open Software eXpansion Fabrizio Rovati

Transcript of Track 2 session 4 - st dev con 2016 - opensoftwarex

Page 1: Track 2   session 4 - st dev con 2016 - opensoftwarex

October 4, 2016

Santa Clara Convention Center

Mission City Ballroom

Open Software eXpansion

Fabrizio Rovati

Page 2: Track 2   session 4 - st dev con 2016 - opensoftwarex

Agenda

• STM32 Open Development Environment

• Open Software eXpansion

• Audio

• Sensors

• RF

• Frameworks

• Ecosystem

• Conclusions

2

Page 3: Track 2   session 4 - st dev con 2016 - opensoftwarex

STM32 Open Development Environment

• STM32 Open Development Environment

• Open Software eXpansion

• Audio

• Sensors

• RF

• Frameworks

• Ecosystem

• Conclusions

3

Page 4: Track 2   session 4 - st dev con 2016 - opensoftwarex

Lowering the Barriers for Developers 4

Market

Device

Prototype Integrated Boards Final

Device

IdeaApplication

Test SW

Field

Test

Commercial

SW

Fast, affordable prototyping with development continuity to final device

Page 5: Track 2   session 4 - st dev con 2016 - opensoftwarex

STM32 Open Development Environment 5

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 6: Track 2   session 4 - st dev con 2016 - opensoftwarex

STM32 ODE X-CUBE packages 6

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 7: Track 2   session 4 - st dev con 2016 - opensoftwarex

Open Software eXpansion

• STM32 Open Development Environment

• Open Software eXpansion

• Audio

• Sensors

• RF

• Frameworks

• Ecosystem

• Conclusions

7

Page 8: Track 2   session 4 - st dev con 2016 - opensoftwarex

OpenSoftwareX 8

Open Software eXpansion environment

Middleware

open.MEMS open.AUDIO open.RF

open.FRAMEWORK

STM32 Nucleo

development

boards

STM32 ODE

STM32 Nucleo

expansion

boards

STM32Cube

software

STM32Cube

expansion

software+

HARDWARE SOFTWARE DRIVERS and HAL

Application examples

Page 9: Track 2   session 4 - st dev con 2016 - opensoftwarex

Open = Open Licensing

• Added value binary libraries for use with ST products

• Normally provided in binary form

• Free, automated and quick access to development license

• Clear path to production license

9

Page 10: Track 2   session 4 - st dev con 2016 - opensoftwarex

OpenSoftwareX licensing frameworkLicense types

• Two different licensing type supported:

• EVALUATION license

• The license is NODE-LOCKED, i.e. the licensed library is usable on a specific STM32 only.

• The request/authorization of this license type can be initiated and completed by the licensee

autonomously via a licensing server.

• The licensee is given a unique KEY for the specific device

10

Enabling rapid evaluation of software IPs

through a simple automated email-based activation process

Page 11: Track 2   session 4 - st dev con 2016 - opensoftwarex

OpenSoftwareX licensing frameworkLicense types

• Two different licensing type supported:

• PRODUCTION license

• The license is NODE-FREE, i.e. the licensed library is usable on any STM32-based mass–

produced devices

• Licensee agrees on the PRODUCTION license Limited License Agreement

• Licensee will get a new NODE-FREE KEY

• No need to rework the application, just insert the new key

11

Page 12: Track 2   session 4 - st dev con 2016 - opensoftwarex

OpenSoftwareXLicense Wizard

12

Node-free

license request flag

License type field

Select libraryIdentify boardGenerate requestEmail request

Licensee info

Page 13: Track 2   session 4 - st dev con 2016 - opensoftwarex

OR… license directly via the APP! 13

Option menu

ST BlueMS APP

Page 14: Track 2   session 4 - st dev con 2016 - opensoftwarex

OR… license directly via the APP! 14

License status pageST BlueMS APP

Page 15: Track 2   session 4 - st dev con 2016 - opensoftwarex

OR… license directly via the APP!

ST BlueMS APP

15

Page 16: Track 2   session 4 - st dev con 2016 - opensoftwarex

OR… license directly via the APP! 16

ST BlueMS APP

Page 17: Track 2   session 4 - st dev con 2016 - opensoftwarex

OR… license directly via the APP! 17

license enabled! ST BlueMS APP

Page 18: Track 2   session 4 - st dev con 2016 - opensoftwarex

Audio

• STM32 Open Development Environment

• Open Software eXpansion

• Audio

• Sensors

• RF

• Frameworks

• Ecosystem

• Conclusions

18

Page 19: Track 2   session 4 - st dev con 2016 - opensoftwarex

Acoustic Processing - MEMS MicrophonesOpen.Audio

19

Sound Source

Localization

osxAcousticSL

Beamforming

osxAcousticBF

Acoustic Echo

Cancellation

osxAcousticEC

Using a MEMS microphone

array, it estimates the angle of

arrival of audio signal

Small and compact directional

virtual microphone based on

ST MEMS microphone array

Based on the Speex.org Open

Source libraries

Support for µ4 (micro-4)

The smallest microphone array architecture ever!

Page 20: Track 2   session 4 - st dev con 2016 - opensoftwarex

Sensors

• STM32 Open Development Environment

• Open Software eXpansion

• Audio

• Sensors

• RF

• Frameworks

• Ecosystem

• Conclusions

20

Page 21: Track 2   session 4 - st dev con 2016 - opensoftwarex

Open.MEMS for developersSensor Fusion

21

osxMotionFX – inputs/outputs

osxMotionFX – GUI osxMotionFX – features

• Magnetometer calibration routine

• Gyroscope bias compensation

• Dynamic distortion (hand jitter),

measured by the accelerometer

• Power saving

Page 22: Track 2   session 4 - st dev con 2016 - opensoftwarex

Open.MEMS for developersMotion and Gesture processing

Activity Recognition

osxMotionAR

Carry Position Determination

osxMotionCP

Gesture Recognition

osxMotionFX

Detects

Walking, Fast Walking, Running,

Biking, Driving, Stationary

Detects

In Hand, Near Head, Shirt Pocket,

Trouser Pocket, On Desk, Arm Swing

Detects

gestures such as Glance, Pick-up,

Wake-up

Optimized for low power and always on experience

Uses Machine Learning based models to achieve higher accuracy

22

Page 23: Track 2   session 4 - st dev con 2016 - opensoftwarex

RF

• STM32 Open Development Environment

• Open Software eXpansion

• Audio

• Sensors

• RF

• Frameworks

• Ecosystem

• Conclusions

23

Page 24: Track 2   session 4 - st dev con 2016 - opensoftwarex

Bluetooth Low Energy ProfilesList of profiles supported by OSXSmartConnPS

24

• Slave profiles (peripheral role):

• Alert Notification Client

• Blood Pressure Sensor

• Find Me Locator

• Find Me Target

• Glucose Sensor

• Health Thermometer

• Heart Rate

• Phone Alert Client

• Proximity Monitor

• Proximity Reporter

• Time Client

• Time Server

• Master profiles (central role):

• Heart Rate Collector

• Time Client

• Find Me Locator

• Blood Pressure Collector

• Health Thermometer Collector

• Alert Notification Client

• Glucose Collector

Test it with STM32 BLE Profiles App

STM32 BLE Profiles

Page 25: Track 2   session 4 - st dev con 2016 - opensoftwarex

6LoWPAN

• Source code available in the osxContiki6LP package

• This package is based on STM32Cube and it provides a porting of the

Contiki OS and IPv6/6LoWPAN protocol stack 3.0, for STM32 L1 and F4

families, using the SPIRIT1 sub-1GHz radio transceiver

• Support for mesh networking by

the means of the standard RPL

protocol over IPv6 based protocol

stack, a key technology for large

wireless sensors networks

deployments

25

Sensor

Node

Sensor

Node

Sensor

Node

Sensor

Node

6LoWPAN

Border Router

IPv6 Host

Page 26: Track 2   session 4 - st dev con 2016 - opensoftwarex

Frameworks

• STM32 Open Development Environment

• Open Software eXpansion

• Audio

• Sensors

• RF

• Frameworks

• Ecosystem

• Conclusions

26

Page 27: Track 2   session 4 - st dev con 2016 - opensoftwarex

Open.Framework applications

• BLUEMICROSYSTEM

• Bluetooth Low Energy & sensor applications

• BlueVoiceLink

• Bluetooth Low Energy & audio applications

27

Page 28: Track 2   session 4 - st dev con 2016 - opensoftwarex

BLUEMICROSYSTEM

• A family of fully compatible applications, tailored to your needs

28

Function BMS1 BMS2 BMS3

Microcontroller(NUCLEO-F401RE or NUCLEO-L476RG)

Bluetooth Low Energy(X-NUCLEO-IDB04A1 or X-NUCLEO-IDB05A1)

Motion & Environmental sensors(X-NUCLEO- IKS01A1)

NFC secure pairing & TAG(X-NUCLEO-NFC01A1)

Ambient light & proximity, touchless UI(X-NUCLEO-6180XA1)

MEMS microphones(X-NUCLEO-CCA02M1)

www.st.com/BLUEMICROSYSTEM

Page 29: Track 2   session 4 - st dev con 2016 - opensoftwarex

ST BlueMS APP

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

• Both iOS and Android version

• https://github.com/STMicroelectronics-CentralLabs

• APP available on Google Play and Apple Store

29

ST BlueMS

Page 30: Track 2   session 4 - st dev con 2016 - opensoftwarex

BLUEMICROSYSTEMsensing & actuating

30

Environmental page LSM6DS3/DSM EventsLed StatusAccelerometer plot

Page 31: Track 2   session 4 - st dev con 2016 - opensoftwarex

BLUEMICROSYSTEMleverage HW features

31

LS

M6

DS

3/D

SM

Eve

nts

Pedometer Wake Up OrientationDouble Tap

Page 32: Track 2   session 4 - st dev con 2016 - opensoftwarex

BLUEMICROSYSTEM: Open.MEMS libraries 32

osxMotionAR osxMotionCPosxMotionGR osxMotionFX

Page 33: Track 2   session 4 - st dev con 2016 - opensoftwarex

BLUEMICROSYSTEM: Console & debug 33

Serial Console (stdout/stderr) Debug Console (stdin/stdout/stderr)

Page 34: Track 2   session 4 - st dev con 2016 - opensoftwarex

BLUEMICROSYSTEM: Touchless UI 34

Page 35: Track 2   session 4 - st dev con 2016 - opensoftwarex

BLUEMICROSYSTEM: Secure pairing 35

Page 36: Track 2   session 4 - st dev con 2016 - opensoftwarex

BLUEMICROSYSTEM: Firmware upgrade 36

Page 37: Track 2   session 4 - st dev con 2016 - opensoftwarex

BLUEMICROSYSTEM: Firmware upgrade 37

Page 38: Track 2   session 4 - st dev con 2016 - opensoftwarex

BLUEMICROSYSTEM supports SensorTile

• The connectable multi-sensor node

38

Sensing, Tracking and Monitoring

Embedded Processing Unit

Motion GamingAlgorithms Augmented livingAudio

Page 39: Track 2   session 4 - st dev con 2016 - opensoftwarex

BlueVoiceLink SDKVoice over Bluetooth Low Energy

39

Real-time voice streaming for remotely controlled applications

(addressing the RCU and wearable market)

Page 40: Track 2   session 4 - st dev con 2016 - opensoftwarex

BlueVoice Integration in

BLUEMICROSYSTEM40

Cloud-based

ASR Service

8 kHzADPCM

osxBlueVoice 2.0.0

BLUEMICROSYSTEM2 V XYZ

Page 41: Track 2   session 4 - st dev con 2016 - opensoftwarex

ST BlueMS – ASR Demo 41

Hold on & speak!

Release

KO

OK

Page 42: Track 2   session 4 - st dev con 2016 - opensoftwarex

Ecosystem

• STM32 Open Development Environment

• Open Software eXpansion

• Audio

• Sensors

• RF

• Frameworks

• Ecosystem

• Conclusions

42

Page 43: Track 2   session 4 - st dev con 2016 - opensoftwarex

No soldering.

No components purchasing.

No hardware production plan needed!

Diolan SensiBLEMuch Smaller than STM32 Nucleo dev. Boards

+

+

+ +

43

Page 44: Track 2   session 4 - st dev con 2016 - opensoftwarex

Download App Insert Battery Explore ST BLUEMS App

Environmental Page Sensor Fusion

SensiBLE

SensiBLE & OSX SW: 100% compatibility

BLUEMICROSYSTEM1 pre-

flashed

ST BlueMS

1 2 3

44

Page 45: Track 2   session 4 - st dev con 2016 - opensoftwarex

Diolan SensiBLE

• Zero effort and time spent from 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

45

• 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 OSX

• 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 46: Track 2   session 4 - st dev con 2016 - opensoftwarex

Takeaways

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

applications

• STM32 ODE is the right environment for fast affordable developments

• Open Software eXpansion provides added value libraries and end-to-end

applications in sensors, audio and RF field

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

46

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

Page 47: Track 2   session 4 - st dev con 2016 - opensoftwarex

Thank You