STMicroelectronics, recently unveiled the industry's first LoRa SoC that integrates a wireless microcontroller (MCU) and LoRa transceiver on a single silicon die. The industry currently has either discrete MCUs and transceivers, or both components under the same package but on different dies (System-in-Package). The new solution from STMicroelectronics opens the door to original applications by enabling simpler, more flexible, more integrated, and more power-efficient designs. It targets OEMs and select ST customers who will also have access to a LoRaWAN stack on demand, thus accelerating their production ramp-ups.
STMicroelectronics wrote a blog post that talks about why the LoRa-enabled SoC a game changer. We have summarized their thoughts below.
Why LoRa in an STM32 MCU?
According to 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-GHz 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 highlighted that LoRa is an excellent modulation for smart grids and provides a methodology to optimize 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 democratization of the Long Range (LoRa) technology.
More Flexible - Dual Output Power and Multiple Modulation
The new device embeds a specially engineered radio based on 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 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, optimize 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 bill of materials as well as operating costs.
The sub-GHz 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 organizations looking to create unique solutions. Supporting all these modulations thus adds to the flexibility and international appeal of the STM32WL.
Efficiency - Architecture Optimizations and Memory Headroom
The STM32WL benefits from optimizations introduced on the STM32WB, the STM32 MCU that integrates a Bluetooth module and became available in 2019. Traditionally, engineers need two 32 MHz external crystals: one that synchronizes 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 bill of materials and the PCB design simplification. The company optimized power management by including a switched-mode power supply 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 optimize 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.
Preparing for the STM32WL
According to STMicroelectronics, 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 OEM today use a BGA housing but a wider variety of packages will be available by the end of 2020, along with a Sigfox stack.
Click here to read the original blog post from STMicroelectronics.