IoT.
augmented with
STM32 MCUs & LoRa™
Summary 2
1. What is IoT ?
2. Communication technologies – Overview
3. LPWAN
4. LoRa™ and LoRa Alliance
5. LoRa™ technology modulation and LoRaWAN™ network protocol
6. STM32 boosting LoRaTM (Roadmap, demos, competition, and schedule)
What is IoT ? 3
While M2M networks connect machines in closed systems,
IoT enhances the exiting networks through an intelligent cloud.
Cloud
• Real-time analytics
• Managed APIs
• Internet scale awareness
Things Human (us)
IoT use cases 4
• Consumer • Industrial
Services
• Health tracking Application Server
Admin control
• Food lifestyle
• Weight control
Wi-Fi • FW update …
Network Server
3G / 4G / Ethernet
Wi-Fi
4G
BLE Gateway LoRaTM
IoT - Driving the next semiconductor growth 5
45 billion connected devices are expected by 2020
Billion units installed base
2015 2020
50
21 billion 45 billion
40
30
20
10
0
Source : ABI, ST
Communication technologies - Overview 6
Baud rate
850/1900 MHz
900/1800 MHz
Mbps WiFi / BT Cellular
-M
5G
-NB-IOT
Kbps
2.4 GHz
Short Range LPWAN
bps
Sub-GHz
Range
10 m 100 m 1 km 10 km
ISM worldwide regulation 7
Output Power vs Duty Cycle
Countries Frequency band review Max. output power
EU 868 MHz 14 dBm
USA 915 MHz 20 dBm
Korea 900 MHz
14 dBm
Japan 920 MHz
Malaysia 862 to 875 MHz
Philippines 868 MHz
Vietnam 920 to 925 MHz
India 865 to 867 MHz
Singapore 922 MHz 20 dBm
Thailand 920 to 925 MHz
Indonesia 922 MHz
ANZ 915 to 928 MHz
Taiwan 920 to 925 MHz
China 470 to 510 MHz 17 dBm
Sub-GHz and IoT 8
The 2 solutions to address the IoT over LPWAN
• Sub-GHz is a fragmented segment with many dedicated protocols and solutions to
address different needs
• An initiative of standardization is ongoing with LTE, LoRaTM, Sigfox …
• A standardization will be an enabler for industrial applications (meters), Smart Cities …
What is LoRa™ ? 9
1. A Sub-GHz wireless technology enabling low data rate communication over long distances
2. Targeting M2M and Internet of Things, IoT applications
3. LoRa™ technology is a solution providing a WAN capability, using a MAC protocol named LoRaWAN
Long range Max lifetime Multi-usage Low cost
• Greater than cellular • Low power optimized • High capacity • Minimal infrastructure
• Deep indoor coverage • 10- to 20-year lifetime • Multi-tenant • Low-cost end-node
• Star topology • >10x vs cellular M2M • Public network • Open software
True location Bidirectional Global mobility Security
• Indoor and outdoor
• Accurate • Bidirectional • True mobility • Unique ID
• Scalable capacity • Seamless • Application
• Broadcast • Roaming • Network
ST and the Alliance 10
The Internet of Things era is now
The LoRa™ Alliance is an open, non-profit association of members. Its mission is to ensure that LoRaWAN™
is THE open global standard for SECURE, CARRIER-GRADE IoT LPWA connectivity.
Visit https://www.lora-alliance.org/
LoRa™ Alliance members 11
https://www.lora-alliance.org/
The LoRa™ network deployment 12
17 announced IoT deployments, 56 on-going operator trials
+320 member companies
LoRa™ technology modulation 13
• LoRa™ technology is based on the
Spread Spectrum Technology
• It is a Chirped Frequency
Modulation
• LoRa™ Spread Spectrum
technology means:
LoRaWAN™ device classes 14
3 classes to cover all use cases
LoRaWAN™ device classes 15
Class A – bidirectional communication
END DEVICES Source: Semtech
LoRaWAN™ device classes 16
Class B – Bidirectional Communication
END DEVICES Pre-programmed RX slots synchronized by gateway beacons Source: Semtech
LoRa™ network protocol 17
Network topology overview
D1 Dx Dx
D2 Dx Dx
D3 Dx Dx
Dx Dx Dx
Network Servers
Dx Dx Dx
Sub-GHz 3G / 4G / Ethernet Ethernet
Gateways (IP) (IP)
Devices Application Servers
LoRaTM Network Protocol 18
Solutions providers
Device
SILICON MODULES DEVICES GATEWAY NETWORK SERVER APPLICATON SERVER
LoRaWAN™ - Security 19
A native AES 128-bit security network protocol
• Device Address (DevAddr) is a 32-bit identifier
• Unique within the network
• Available in each data frame and shared between end-device, N.S and A.S
• Network Session Key (NwkSKey) is a 128-bit AES encryption key
• Unique per end-device and shared between end-device and N.S
• It allows message integrity communication between end-device and N.S
• Application Session Key (AppSKey) is a 128-bit AES encryption key
• Unique per end-device and shared between end-device and A.S
• It is used to encrypt / decrypt A.S server messages to the end-device
• To increase end-device authentication and security, a secure element can be added to the device
ST and Semtech LoRa™ agreement 20
• Semtech Corporation and STMicroelectronics announce
an agreement on Semtech's LoRa™ long-range
wireless RF technology
• Intends to boost STM32 MCUs with LoRa™ technology
to target IoT deployments by mobile network operators
and large-scale private networks
http://www.st.com/web/en/press/c2790
The perfect match: STM32/STM8 + LoRa™ 24
www.st.com/stm32-lrwan
STM32/STM8 are available in more than 1000 references
LoRa SX127x offers 4 different lines
Let’s get started 25
With a wide and existing ecosystem (Click on the icon or link)
Hardware tools Dev tools LoRaWAN™ stack
STM32CubeMX
ST-Link Utility
Partners IDE
P-NUCLEO-LRWAN1
Pack ST and Semtech System
Workbench
for STM32
+ demo code examples
STM32L0 sensor node demo 26
with ST NUCLEO-L073RZ , ST X-NUCLEO-IKS01A1, and Semtech I-NUCLEO-SX1272D
NUCLEO-L073RZ
Ultra-low-power node
STM32 Nucleo board
with STM32L073RZT6 MCU
I-NUCLEO-SX1272D
X-NUCLEO-IKS01A1
Motion MEMS Semtech SX1272MB2xAS
& environmental sensors LoRa™ expansion board
expansion board
Note: The demo source code is included in the I-CUBE-LRWAN1 FW package
Release your creativity 27
with the new STM32
/STM32 @ST_World st.com/e2e
www.st.com/stm32-lrwan