DSP, Micros & Memory


MCU with embedded LoRa transceiver

29 April 2020 DSP, Micros & Memory

The STM32WL is the world’s first wireless microcontroller (MCU) to integrate a LoRa transceiver on its silicon die. Until now, the industry either had discrete MCUs and transceivers, or both components under the same package but on different dies (System-in-Package). The new device opens the door to original applications by enabling simpler, more flexible, more integrated and more power-efficient designs.

The first STM32WLs launched by STMicroelectronics target OEMs and select customers who will also have access to a LoRAWAN stack on demand, thus accelerating their production ramp-ups.

Why LoRa in an STM32 MCU?

In a survey presented at the 2017 International Symposium on Signals, Circuits, and Systems, researchers established that LoRa could solve the significant challenges that plague the widespread adoption of IoT devices. Its use of sub-gigahertz frequencies along with its chirp spread spectrum modulation technique enables the transmission of small packages over long distances while making it more resilient against interferences and more robust overall.

In fact, in another paper published in the International Journal of Electrical Power & Energy Systems, Chinese scholars show that LoRa is an excellent modulation for smart grids and provides a methodology to optimise the implementation of smart meters. They also make the point that smart grids are a great tool to reduce greenhouse gas emissions and meet the latest European standards. The STM32WL is thus an essential step toward the democratisation of the Long Range (LoRa) technology.

What makes the STM32WL more flexible

The new device embeds a specially engineered radio based on a Semtech SX126x that offers two power outputs: one up to 15 dBm and the other up to 22 dBm. Additionally, since the transceiver offers a linear frequency range from 150 MHz to 960 MHz, it is possible to use the STM32WL in every region of the world. For instance, European standards demand that LoRa systems use the lower output and a frequency of 868 MHz while North America can go up to 22 dBm and requires 915 MHz.

Developers can thus tailor the STM32WL series to their particular region, optimise its performance and easily open their system to other countries. Additionally, being able to qualify one component for the STM32 MCU and the transceiver will save time and reduce the bills of material as well as operating costs.

The sub-gigahertz transceiver of the STM32WL is compatible with LoRa, (G)FSK, (G)MSK and BPSK modulation schemes. It’s easy to underestimate the scope of this feature. However, it means the STM32WL can run both a LoRaWAN stack, through LoRa modulation, and a Sigfox stack thanks to its support of binary phase shift keying (BPSK). Companies no longer have to choose between one or the other.

Compatibility with (G)FSK and (G)MSK, and BPSK signifies that the STM32WL will also work with proprietary protocols that are popular among organisations looking to create unique solutions. Supporting all these modulations thus adds to the flexibility and international appeal of the STM32WL.

What makes the STM32WL so efficient?

The STM32WL benefits from optimisations introduced on the STM32WB, the STM32 MCU that integrates a Bluetooth module and that became available in 2019. Traditionally, engineers need two 32 MHz external crystals: one that synchronises with the Cortex-M4 and another for the LoRa transceiver. Thanks to ST’s architectural implementations, the system only needs one crystal for the high-speed clock of the MCU and the radio, thus contributing to the reduction of the bills of material and PCB design simplification.

ST optimised power management by including a switched-mode power supply (SMPS) and an LDO to shorten the STM32WL’s wake-up from any low-power mode. It usually takes about 60 µs to get such SMPS ready, but thanks to the presence of the LDO, the MCU can wake in 5 µs or less, even if the SMPS isn’t ready yet. When taking the STM32WL out of sleep, stop, or standby, the system first uses the LDO and can start processing information while waiting for the SMPS to get ready.

ST planned for various memory needs and will have devices with 64 KB, 128 KB, and 256 KB of Flash to meet the applicative needs of various developers while also helping them meet their cost targets. Teams could thus write their software on a larger test model without worrying too much about running out of resources, then take the time to optimise their code to run on a smaller memory footprint. Having the LoRa radio on the same die as the STM32 MCU also makes the pin configuration simpler thanks to an upcoming version of STM32CubeMX.

How to prepare for the STM32WL

Enthusiasts or professionals looking to prepare for the mass market availability of the STM32WL can start working on an STM32L4 Nucleo board and a Semtech expansion board such as the SX1262DVK1DAS, the SX1262DVK1CAS or the SX1262DVK1BAS.

The STM32L4 is close to the Cortex-M4 present in the STM32WL and developers can experiment with its security and safety features, such as memory protection, private key acceleration, true random number generator, error correction system and watchdogs, among many others.

Porting the code to the STM32WL will require changes, but they will be minimal, thus enabling teams to get a leg up on the competition. The devices shipping to OEMs today use a BGA housing but a wider variety of packages will be available by the end of 2020, along with a Sigfox stack.


Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Analysis of switch-mode power supply: inductor violations
Altron Arrow Editor's Choice Power Electronics / Power Management
Common switch-mode power supply (SMPS) design errors are discussed, and their appropriate rectification is specified, with details on complications that arise with the power stage design of DC-DC switching regulators.

Read more...
Microsoft Windows IoT on ARM
Altron Arrow Computer/Embedded Technology
This expansion means that the Windows IoT ecosystem can now harness the power of ARM processors, known for their energy efficiency and versatility.

Read more...
The 8-bit survival syndrome – Part 2
DSP, Micros & Memory
Just like the 4-bit pre-microcontroller, the 8-bit MCU has been finding ways to stick around. Their features and speeds have been improving, offering competitive reasons to work with them.

Read more...
Accelerating the commercialisation of the 5G IoT markets
Altron Arrow Editor's Choice Telecoms, Datacoms, Wireless, IoT
Fibocom unveils Non-Terrestrial Networks (NTN) module MA510-GL, enabling satellite and cellular connectivity to IoT applications.

Read more...
Microchip introduces ECC608 TrustMANAGER
Altron Arrow Circuit & System Protection
To increase security on IoT products and facilitate easier setup and management, Microchip Technology has added the ECC608 TrustMANAGER with Kudelski IoT keySTREAM, Software as a Service (SaaS) to its Trust Platform portfolio of devices, services and tools.

Read more...
Enhanced code protection for USB µC portfolio
Future Electronics DSP, Micros & Memory
To help easily incorporate USB power and communication functionality into embedded systems, Microchip Technology has launched the AVR DU family of microcontrollers.

Read more...
General-purpose MCU with RISC-V architecture
EBV Electrolink DSP, Micros & Memory
Renesas has released a general-purpose MCU to enhance its existing RISC-V portfolio, and this is its first MCU using a RISC-V core developed internally at the company.

Read more...
8-bit MCU with I3C support
Avnet Silica DSP, Micros & Memory
The PIC18-Q20 8-bit microcontrollers from Microchip easily interface with devices operating in multiple voltage domains, and the built-in I3C interface supports higher-speed and lower-power data transfers than I2C.

Read more...
xG26 sets new standard in multiprotocol wireless device performance
Altron Arrow AI & ML
Silicon Labs has announced its new xG26 family of Wireless SoCs and MCUs, which consists of the multiprotocol MG26 SoC, the Bluetooth LE BG26 SoC, and the PG26 MCU.

Read more...
SolidRun unveils new SoM
Altron Arrow AI & ML
SolidRun and Hailo has unveiled a game-changer for engineers and AI product developers with the launch of their market-ready SoM, which packs the cutting-edge capabilities of the Hailo-15H SoC.

Read more...