Prototyping with
STMicroelectronics Open Development
EASYTECH
Prototypage rapide des Objets Connectés
19 Novembre 2015
Agenda 2
Introduction
Ecosystem & Tools make fast prototyping
possible
STM32 Environment & tools to program
prototypes
Demonstrations
Presentation
Introduction
Existing Things Augmented(Making Things Smarter)
4
It used to tell you
the time
Now it tells
you what to do
It used to remind you
of someone close to
your heart
Now it reminds you
to take care of your
heart
It used to just
provide power
Now it talks to your machines
and tells how you much they
are consuming
They used to help you
see clearly
Now they help you
to see more
New things to augment life 5
Smart Car
Reduce emissions
Increase safety
Save fuel
Smart City
Reduce traffic congestion
Better use of resources
Improve security
Smart Home
Make entertainment more
interactive and immersive
Increase comfort & Save energy
Smart Me – Healthcare
Empower patients
Help physicians monitor and
diagnose remotely
Smart Me – Fitness & Wellness
Help to lead healthier lives
Optimize sports performance
Early warning of illness
Augmented Life Architecture
Cloud
User/Utility
Things
Th
ing
s
Things
Things
Things
Th
ing
s
Things
Gateway
opportunities across the value chain
Ecosystem & Tools
make fast prototyping possible!
The needs of developers
• A microcontroller is usually the first choice of
developers when designing a new application.
• A set of extra functions are keys to implement
the system.
• Easy to use Integrated Development
Environment to allow fast development and
production
8
Environmental
Sensors
Audio
Motion Sensors
Dual Interface
Security
RF link
Motor Control
Touch Sensors
Arduino democratizes technology 9
• Easy to Use
• Open source
• Community of users
• Proof of Concept
Market
Lowering the Barriers for Developers 10
Device
PrototypeForm factor
DeviceFinal
Device
Idea Application
Test SW
Field
Test
Commercial
SW
Fast, affordable prototyping with development continuity to final devices
The needs of developers
• A microcontroller is usually the first choice of
developers when designing a new application.
• A set of extra functions are keys to implement
the system.
• Easy to use Integrated Development
Environment to allow fast development and
production
11
Environmental
Sensors
Audio
Motion Sensors
Dual Interface
Security
RF link
Motor Control
Touch Sensors
STM32 Open Development Environment 12
Exp
an
sio
n b
oa
rds
Rapid Prototyping
• Modular hardware enables broad deployment through a standardized
development framework
• Stack multiple expansion boards to add power management, sensors,
connectivity and more to the STM32 Nucleo development boards
• Intuitive software tools offer: code examples and documentation
to get up and running quickly
• Price competitive boards
Flexible power supply
through USB or
external source
Integrated debugging
and programming
ST-LINK probe
STM32 microcontroller
complete product range
from ultra-low power to high-performance
Morpho and Arduino
expansion headers
STM32 NucleoDevelopment Boards
13
MCU STM32– ARM Cortex platform 14
More than 450 compatible devices
Releasing your creativity
Real Time Performance: ART Accelerator, up to 180MHz/215DMPIS
Outstanding power Efficiency: <1uA RTC,
188uA/MHz, 0.3uA standby
Standard and Advanced peripherals: USB-OTG HS, Camera, Ethernet, CAN, CRYPTO, SD 16-bit ADC, PGA
Maximum Integration: Reset Circuit, Voltage Reg., Int. RC, PLL, PVD, POR
Extensive Ecosystem: ARM+ST ecosystem (EVAL boards, discovery kits, SW lib, RTOS)
Flash size (bytes)
216 pins20 pins
16 K
2 M
Cortex
M0+/M3/M4
Processing
Ultra Low Power
High Performance
MovePower InteractConnect
Sense
STM32 NucleoExpansion Boards
15
DIL24 support for
new devices
X-NUCLEO-IKS01A1
LIS3MDL LSM6DS0
LPS25H HTS221
Motion MEMS sensors
Environmental sensors
The building blocks of the objects 16
Augmented Things
Sensors & Actuators
Processing
Communication
InterfacesTouch Sensor
Proximity sensor
MEMS
microphones
Ultra-low power
connectivity
Analog
Energy
Smart energy
Management
Low-power brain
and processing
Sensor fusionMotion
MEMS
Image sensors
Environmental
Sensors
Micro-actuators
Hardware Tools ST offer - Positioning
Fast agile prototyping Feature highlight, prototyping Full feature evaluation
STM32 Nucleo Discovery Kits Evaluation Boards
+ ST-Link programmer and debugger
$10 $10 - $25 $250 - $450
STM32 Environment & tools
to program prototypes
What is Ecosystem ? 19
Hardware Development
Tools
Evaluation and Promotion boards
Debug Probes
Communication Bridges
Mass Programming tools
Software Development
Tools
Configuration Tools
Development & Debugging Tools
Monitoring Tools
Embedded Software
HAL / Drivers
RTOS
Firmware Stacks
Application Bricks
Information and sharing
Web site
Product selectors
Communities & Social Media
Ecosystem
ST-designed
Open source
Partners
Information and Sharing 20
Information MCU Selection Communities and Social Media
+ Local trainings / Technical Support
+ Local Sales forces / Distributors
ST.COM ST MCU Finder Various social media
ST Forums on microcontrollers
Facebook.com/stm32
YouTube.com/STonlineMedia
Twitter.com/@ST_World
Mbed.org
Openstm32.org
STM32 Open Development Environment 21
STM32 Nucleo
development boards
STM32Cube
software
STM32Cube
expansion software
STM32 Nucleo
expansion boards
Developer community and support
Compatibility with multiple Development Environments
Software Tools ST offer - Positioning
Generate Code Compile and Debug Monitor
STM32CubeMX Partners IDEs STMStudio
Loops
STM32CubeMX 23
• STM32CubeMX, microcontroller
configuration, step-by-step
• Step 1: Select the microcontroller
• Through easy filtering capabilities
• Step 2: Configure the microcontroller
• Pinout wizard
• Clock tree wizard
• Peripherals and middleware wizards
• Power consumption wizard1
• Step 3: Initialization code generation
• Generates code for your favorite IDE
• Works with STM32Cube Embedded
software offer !
STM32Cube & Expansion SW
Each STM32 Nucleo expansion board leverages STM32Cube expansion SW
that enables users to start coding their application from day one
24
• STM32Cube HAL pre-integrated drivers
• Specific middleware libraries
• Relevant sample application, with ready-made IDE
projects
• Example of “vertical prototypes” integrating
functionality from several expansion boards/SW
• Released in source code with permissive licenses (with
a few exceptions)
• Open.X Expansion SW with easy evaluation license
included
25
Ultra-low power
connectivity
Motion
MEMS
Environmental
Sensors
Algorithms
Sensor fusion
Open.Software
• License SW for single-use on specific
target hardware (STM32 Nucleo
Development Board)
• Click through license on website
Easy access to portfolio for DevelopersFast Prototyping
NFC
Low-power
microcontrollers
Ranging & ambient
light sensor
MEMS
mirrors
STM32Cube and Mbed 26
STM32F0 STM32F2 STM32F3 STM32F4 STM32L0
STM32CubeMXConfiguration tool on PC
C code generation1
for initialization,
depending on user
choices
Hardware Abstraction Layer API
Application level Demonstrations
Demonstrations on ST boardsCMSIS
Utilities
Utilities
TCP/I
P
FAT
File
Sys.
Gfx
USB
Host /
Device
Middleware level
RTOS
STM32Cube Embedded Software deliverables
User Application
CMSIS-
DRIVER
Mbed
core
STM32F1 STM32L1
STMStudio• Free ST Monitoring Tool STMStudio
• Takes benefit from low cost STLink-V2 debugging probe
• Ability to select any global variable of your program to be monitored, just providing the
compiled file (elf)
• Several acquisition methods:
• 100% non-intrusive one !
• Application-synchronized one
• Ability to monitor the behavior of chosen variables, through a collection of graphical
widgets
27
Key take-away
• Powerful, small and affordable technologies
• STM32 Nucleo and Connectivity, sensors and power
expansion boards for easy system development
• Multiple open development platforms: STM32 Cube,
Mbed, Java, Matlab, .NET
28
STM32Java
Thank You!
29
Top Related