Quickly connect the STM32U5
IoT sensor node to Microsoft
Azure IoT Cloud
Agenda
# Introduction to IoT
Overview of the STM32 IoT developer ecosystem and ST's market-ready
# IoT devices (Azure Certified Device Catalog)
presented by Mickael HAUDEBOURG (Product Marketing Engineer with STMicroelectronics)
# An introduction of Microsoft IoT and edge
presented by Liya Du (Principal Program Manager with Microsoft )
Hands-on demo of how to quickly connect an STM32U5-based sensor node
# to Azure IoT Central
presented by Alnur (Field Applications Engineer with STMicroelectronics)
# Q&A sessions 2
IoT and Cloud
While M2M network connects machines in closed systems,
IoT enhances the existing networks through an intelligent cloud
Cloud
• Real time analytics
• Managed APIs
• Internet scale awareness
Things Human (us)
3
What is IoT System
While M2M network connects machines in closed systems,
IoT enhances the existing networks through an intelligent cloud
ELECTRONIC
Device
IoT System ( Gateway Protocol)
BLE
Sidewalk,
Cellular,
Maters WIFI,
Wired User Interface
Sensors network
Cloud Dashboard
,…
devices
IoT
devices GATEWAY Cloud Services
Cloud Connection Azure
Security
devices Back-end system
Intelligent App STM32MP1x
STM32Wx
MSFT : Azure IoT Edge
IoT System ( IoT devices )
Cellular,
WIFI,
Wired
User Interface
network
,…
Cloud Dashboard
IoT Sensors
devices
Cloud Services
Azure
STM32U5
Back-end system
MSFT : X-cube-Azure
Microsoft and ST Partnership – IoT Solutions
STM32 IoT and cloud connection solutions partner
IoT Edge
RTOS
Azure RTOS
7
IoT Devices (SDKs)
Azure IoT on STM32U5
X-CUBE-AZURE reference integration simplifying your development
Microsoft Azure Plug and Play
ARM Trusted Firmware-M (TF-M)
AzureRTOS middleware
X-CUBE-AZURE
Wi-Fi and cellular connectivity
STSAFE for simple provisioning
8
Azure IoT Platform
certified for Azure IoT Plug and Play
Build end-to-end IoT solution with discovery kit for IoT node
Supports Azure IoT and App Services Visualization of real sensor data
Azure IoT Hub (Device Provisioning Service)
Azure IoT Central
Azure IoT Middleware (Azure Device SDK)
IoT Plug and Play State-of-the-art security based on TF-M
Device Update for IoT Hub (public preview)
Microsoft Defender for IoT
Based on Azure RTOS software components
B-U585I-IOT02A
Wi-Fi connectivity, Cellular, Device management, OTA, gather insights,
intelligent cloud and edge
9
STM32U5 IoT Kit
Your reference board for Cloud IoT Proof-of-Concepts
Wi-Fi Module Programming and Debug
Extension connectors
Extension Arduino (backside), PMOD,
modules STMOD+
STSAFE secure element
STM32U5 MCU
Sensors
Accel, Magnetometer, Pressure,
BLE module Humidity, ToF, Temperature
10
B-U585I-IOT02A
STM32U5 Microcontrollers
The new reference for secure and Cloud IoT applications
Higher Security
Certified PSA L3 and SESIP L3
Lower Power
58 ULPMark-CM
Richer applications
Cortex-M33 @160MHz, extended features set
11
Trusted Firmware-M (TF-M)
• Trusted Firmware for Cortex M (TF-M) implements the Secure Processing
Environment (SPE) for Armv8-M, Armv8.1-M
• Trusted Firmware-M consists of:
• Secure Boot , Isolation Control, communication and execution within SPE and with NSPE
• Secure Services -Crypto, Internal Trusted Storage (ITS), Protected Storage (PS) and Attestation
12
Dedicated STM32Cube Expansion Package
Connection to Azure Cloud service provider made as easy as 1, 2, 3
User Application Dedicated to Azure IoT Cloud
Dedicated IoT STM32Cube Expansion Packages
Azure
Specific Cloud Connectivity • X-CUBE-AZURE
MQTT
TLS
TCP/IP Stack Comprehensive SW solutions
SW or HW Crypto
• Cloud connectivity and security (MQTT, TLS)
Ethernet, Wi-Fi, Cellular, BLE • Applicative examples preconfigured for ST boards
Optional Secure Element* • Ethernet, Wi-Fi, BLE and Cellular technologies
STM32 series offer required secuity features to resist to remote SW attacks (PSA level 3) 13
STM32 Azure IoT software expansion
for STM32Cube
Ready-to-run firmware package to support quick evaluation and development of Azure IoT Cloud
applications
Connection to Azure IoT hubs through an MQTT over TLS connection
Wi-Fi™ or Cellular connectivity supported
ARM TrustZone supported
TF-M 1.3 with STSAFE-A110 Integration (X.509 certificate attestation stored in the STSAFE-A110)
It runs with Azure RTOS and NetXDuo network protocol stack.
Two example applications are provided:
• an application integrated with Trusted Firmware-M (with TrustZone security)
• an independent application (no TF-M).
STM32 Azure IoT software expansion
for STM32Cube
This application provides an example of Azure RTOS NetX/NetXDuo
Azure IoT Plug and Play usage
This reference design integrates
STM32 B-U585I-IOT02A board with either Cellular or WiFi connectivity and hardware security
Azure-RTOS
TF-M 1.3 with STSAFE-A110 Integration (The X.509 certificate stored in the STSAFE-A110)
ARM TrustZone
IoT Central
Device Provisioning Service (DPS)
Azure Plug and Play
Prebuilt Binaries for Quick Connect
Wi-Fi and Azure Connection Credentials stored in TF-M Protected Storage
Ultra-Low-Power STM35U585
Real time sensor data published and displayed in Azure cloud
ST Cellular IoT Solution Summary
Cloud and Application domain
Cloud Partner
User Application Server Application components
IoT Cloud ST components
AZURE IoT SDK
Platform Servers
Modem Partner
components
X-CUBE-CELLULAR
Operator partner
ST4SIM Modem M(V)NO internet
Cellular Iot Device
Connection
Management
ST X-CUBE-CELLULAR “Internet” domain Platform
X-CUBE-CELLULAR simplifies cellular IoT development
16
X-CUBE-CELLULAR
Application/Cloud SDK middleware Application and adaptation to Cloud
SDK(MQTT, LwM2M, Networking..)
Data interface (BSD socket)
Control Interface (proprietary ST)
AzureRTOS RTOS Generic Code
AT custom Sys ctrl Modem specific driver
Open source Licence: BSD
BG96,GM01Q,T1SE, …
17
STM32 and Azure Certification Programs
ST Reference Board STM32 MCU, MPU ST Secure Element ST Sensors Azure Connectivity
Yes / No Certification
Programs
B-U585I-IOT02A STM32U585AI Yes Many on-board ST’s IoT Plug and Wi-Fi®,
Arm® Cortex®-M33 STSAFE-A110 smart sensors, Arduino, Play Bluetooth®
core with Arm® STMod+ Low Energy
TrustZone® Cellular via
STMOD+
B-L4S5I-IOT01A STM32L4S5VIT6 Yes Many on-board ST’s IoT Plug and Wi-Fi®,
Arm® Cortex®-M4 STSAFA110S8SPL02 smart sensors, Arduino, Play Bluetooth®
STMod+ Low Energy
STM32MP157F-DK2 STM32MP157FAC1 No GPIO expansion IoT Edge Wi-Fi®,
Arm® Dual Cortex®- connector (Raspberry Pi® Bluetooth®
A7 + shield capability), Low Energy,
Arm® Cortex®-M4 ARDUINO® Uno V3 Ethernet
expansion connectors
32F746GDISCOVERY STM32F746NGH6 No Wide range of ST’s smart IoT Plug and Ethernet
Arm® Cortex®-M7 sensors, STMOD+ Play
18
An introduction of Microsoft IoT and edge
presented by Liya Du (Principal Program Manager with Microsoft )
Hands-on demo of how to quickly connect an
STM32U5-based sensor node to Azure IoT Central
presented by Alnur (Field Applications Engineer with STMicroelectronics)
Q&A session