0% found this document useful (0 votes)
11 views33 pages

En - Microcontrollers IoT Connectivity Made Easier STM32 MCUs LoRa

The document discusses the integration of STM32 microcontrollers with LoRa® technology to enhance IoT applications, particularly in industrial settings. It covers various aspects of IoT, communication technologies, and the benefits of using LoRa® for long-range, low-power connectivity. Additionally, it highlights the partnership between STMicroelectronics and Semtech to promote LoRa® solutions for IoT deployments.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views33 pages

En - Microcontrollers IoT Connectivity Made Easier STM32 MCUs LoRa

The document discusses the integration of STM32 microcontrollers with LoRa® technology to enhance IoT applications, particularly in industrial settings. It covers various aspects of IoT, communication technologies, and the benefits of using LoRa® for long-range, low-power connectivity. Additionally, it highlights the partnership between STMicroelectronics and Semtech to promote LoRa® solutions for IoT deployments.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 33

IoT connectivity made easier

STM32 MCUs & LoRa®


Agenda

# What is IoT?

# Communication technologies overview

# What is LPWAN?

# LoRa® and LoRa Alliance

# LoRa® technology modulation and LoRaWAN network protocol

# STM32 boosting LoRa® (Roadmap, demos, competition and schedule)

2
The key to the success of your Industrial IoT application

Inexpensive Global mobility

Multi-usage

Security Long range

Max lifetime

Bidirectional True location

More info from slide 10 3


What is IoT ?
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
4
LoRa® takes Industrial IoT a step further

Cosumer IoT Industrial IoT


Rely on Bluetooth ® LE, Wi-Fi and 4G Extend the range of connected objects with LoRa®

Services
• Health tracking Ethernet
• Food lifestyle Network Server
• Weight control 3G / 4G
Wi-Fi * Application server
• FW update … Ethernet
3G / 4G Admin control

Wi-Fi *

Gateway

Bluetooth LE

* Wi-Fi to Cloud connection via a Gateway

5
IoT connected devices are growing rapidly

45 billion connected devices are expected by 2023

Billion units installed base

50 2019 2023

40 45
billion
30

20
27
billion
10

- 6
Source: ABI Research
Communication technologies - overview
Baud rate
850/1900 MHz
900/1800 MHz
Mbps Wi-Fi / BT Cellular
5G
-M

-NB-IOT

Kbps 2.4 GHz


Short Range LPWAN

Sub-GHz

bps
Range

10 m 100 m 1 km 10 km
7
ISM worldwide regulation

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


8
Sub-GHz and IoT

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 on-going with LTE, LoRa®, Sigfox…
• Standardization will be an enabler for industrial applications (meters), Smart Cities

9
What is LoRa® ?
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 provides a WAN capability, using a MAC protocol named LoRaWAN

Long range Max lifetime Multi-usage Inexpensive


• 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 • Bidirectional • True mobility • Unique ID
• Accurate • Scalable capacity • Seamless • Application
• Broadcast • Roaming • Network

Source: Semtech 10
ST and the alliance

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 LPWAN connectivity.
Visit www.lora-alliance.org

Source: LoRa Alliance 11


The LoRa® alliance

Source: LoRa Alliance 12


The LoRa® network deployment

Decembre 2020
LoRa® Alliance is not responsible for the accuracy of information presented

Source: LoRa Alliance 13


LoRa® technology modulation

• LoRa® technology is based on the


Spread Spectrum Technology
• It is a Chirped Frequency
Modulation

Source: Semtech 14
LoRaWAN device classes

3 classes to cover all use cases

Class name Intended usage

Battery powered sensors (or actuators with no latency Mainly uplink with two potential
A (“all”) constraint) downlink slots after each uplink
Most energy efficient communication class.
Must be supported by all devices.
Battery powered actuators Programmed downlink slots to
B (“beacon”) Energy efficient communication class for latency- allow control within certain
controlled downlink. latency limits
Based on slotted communication synchronized with a
network beacon.
Main powered actuators Lowest latency command and
C (“continuous”) Devices which can afford to listen continuously. control for less power critical
No latency for downlink communication. devices

Source: Semtech 15
LoRaWAN device classes

Class A – Bidirectional Communication

END DEVICES
Source: Semtech 16
LoRaWAN device classes

Class B – Bidirectional Communication

END DEVICES Pre-programmed RX slots synchronized by gateway beacons


Source: Semtech 17
LoRa® network protocol

Network topology overview

D1 Dx Dx

D2 Dx Dx

D3 Dx Dx

Dx Dx Dx

Network Servers
Dx Dx Dx

Gateways
Devices Application
Servers
Long-range Sub-GHz 3G / 4G / Ethernet Ethernet
LoRa® (IP) (IP)
18
LoRa® network protocol

Solution providers

Device

SILICON MODULES DEVICES GATEWAY NETWORK SERVER APPLICATON SERVER

Powered by STM32
19
LoRaWAN - security

A native 128-bit AES 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

20
ST and Semtech LoRa® agreement

• Semtech Corporation and STMicroelectronics announce


an agreement on Semtech's Lora® long-range wireless
RF technology

• Intended to boost STM32 MCUs with LoRa®


technology to target internet of things deployments by
mobile network operators and large-scale private
networks

→ STMicroelectronics and Semtech partnership Press Release

21
LoRa® powered by STM32WL

Find out more at www.st.com/STM32WL World first!


Single Silicon Die

STM32L4
+ (G)FSK
(G)MSK
BPSK

=
+
Arm®
STM32WL
Cortex®-M0+

22
Alternatives: LoRa® powered by STM32

Find out more at www.st.com/STM32-LRWAN

USI® Module Murata® Module


AT command All-in-one Open

First generation Flexible design architecture Latest generation


modules based on More than 1300 STM8/STM32 part numbers modules based on
STM32L0 STM32WL
• STM32CubeWL Embedded Software contains LoRaWAN stack for STM32WL.
• I-CUBE-LRWAN STM32 Embedded Software (LoRaWAN stack for standalone STM32s) is compatible with Semtech SX127x & SX126x transceivers.
23
STM32WL – ecosystem overview

Fully integrated into the rich and market-proven STM32 ecosystem

STM32 Nucleo-64 Dev tools Stacks


Flexible prototyping STM32CubeMX LoRaWAN (ST)
STM32CubeWL Sigfox (ST)
STM32CubeMonitor
STM32CubeProg Wireless-MBUS / Mioty (Stackforce)
STM32CubeIDE + Partners IDEs Zeta (Zifisense)

24
Software development tools

A complete flow, from configuration to


upmonitoring
to monitoring

FREE
IDE’s

More to come after mass market launch

STM32CubeMX, GUI Builders


Partners IDEs
ST and Partner IDEs
STM32CubeMonitor
STM32CubeProg/Monitor
Configure & Generate Code Compile andDebug
Compile and Debug STM32CubeProg
Monitor, Program & Utilities

25
The STM32WL Nucleo-64 at a glance

Main Features

SMA Antenna connector


NUCLEO-WL55JC1
Arduino extension connectors :
868/915/923 MHz easy access to add-ons
EU/US/APAC
STM32WL
(under a metallic shield)
NUCLEO-WL55JC2
Integrated ST-LINK/V3:
433/470 MHz mass storage device flash programming
CN
4 push buttons, 3 color LEDs,
Jumper settings

Flexible board power supply :


through USB or external source 26
STM32WL - certifications overview

Protocol and commercial certifications

27
Legacy LoRaWAN ecosystem for STM32

With a wide and existing ecosystem

Hardware tools Dev tools LoRaWAN stack

STM32CubeMX

ST-Link Utility
Discovery kit Expansion board
ST and Murata® ST and USI® Partners IDE
P/N: B-L072Z-LRWAN1 P/N: I-NUCLEO-LRWAN1

LoRa Starter Pack I-CUBE-LRWAN


ST, USI® & RinsingHF®
P/N: P-NUCLEO-LRWAN2 System
P/N: P-NUCLEO-LRWAN3 for STM32

(Click on the icon or link) 28


Legacy hardware tools
B-L072Z-LRWAN1:
Murata® STM32 and LoRa® Discovery kit
Flexible board power supply:
through USB or external source

Integrated ST-Link/V2-1:
mass storage device flash programming

2 push buttons, 2 color LEDs,


Jumper settings

Arduino extension connectors :


easy access to add-ons

Murata® module

SMA Antenna connector

29
Legacy hardware tools
I-NUCLEO-LRWAN1:
USI ® STM32 Nucleo expansion board for LoRa ®

SMA antenna connector

Pressure, humidity, temperature, and 3D


MEMS

Arduino extension connector

USI® module

30
Hardware tools
P-NUCLEO-LRWAN 2 & 3:
LoRaWAN Starter Pack

SMA antenna connector

USI® module

RisingHF® module
Pressure, humidity,
temperature,
3D MEMS

Gateway & end-node


shields on Arduino
extension connectors

Pack P-NUCLEO-LRWAN2 Pack P-NUCLEO-LRWAN3 31


EU/US/APAC (868/915/923 MHz) CN (433/470 MHz)
LoRa® technology powered by STM32

The widest ecosystem-ever now available!

Best-in-class in ultra-low-power LoRa® Gateway STM32F7 based


and Long Range

Widest HW and SW ecosystem

Easy to use NUCLEO-WL55JCx


STM32WL Nucleo Board

B-L072Z-LRWAN1 I-NUCLEO-LRWAN1 STANDALONE SOLUTIONS


LPWAN Discovery kit LoRa® + Mems Shield LoRa® Nucleo Packs
32
Find out more at www.st.com/STM32WL

© STMicroelectronics - All rights reserved.


ST logo is a trademark or a registered trademark of STMicroelectronics International NV or its affiliates in the EU and/or other countries.
For additional information about ST trademarks, please refer to www.st.com/trademarks.
All other product or service names are the property of their respective owners.

You might also like