Azure RTOS & Embedded Wireless Network Framework Simplifies IoT Application Development

1. Overview of Azure RTOS

Azure RTOS is a real-time operating system (RTOS) for Internet of Things (IoT) and edge devices powered by microcontrollers (MCUs). Azure RTOS is designed to support highly constrained devices (battery-powered and flash memory capacity of less than 64 KB). In short, this is a complete set of multi-threading functions, middleware and desktop development tool suite for IoT application development.

2. Azure RTOS system components

The Azure RTOS platform is a collection of runtime solutions including Azure RTOS ThreadX, Azure RTOS NetX and NetX Duo, Azure RTOS FileX, Azure RTOS GUIX, and Azure RTOS USBX.

 3. Azure RTOS version download

Azure RTOS v6.2 (released on Oct.'22) provides native support for Device Update

ADU Agent source code: https://aka.ms/azrots/adu 

STM32 sample code: https://github.com/azure-rtos/samples • https://learn.microsoft.com/en-us/shows/internet-of-thingsshow/a-sneak-peek-into-updating- an-azure-rtos-device-ota

4. Azure RTOS operates ewf embedded wireless network

Currently, in general embedded wireless development, the following problems will occur:

1. There is a lack of driver framework and API standards on MCU, which adds a lot of work to improve;

2. Communication driver development and optimization of MCUs from different manufacturers have different standards;

3. Self-developed AT Host layer software for modules, although diversified, is difficult to achieve compatibility;

4. Customized AT command processing for each module requires the creation of different types of documents;

5. The wireless module integrates different levels of TCP/IP protocol stacks • Unique initialization, configuration and exception handling processes for cellular and WIFI networks;

6. The life cycle does not match, the supply is unstable, and the re-adaptation workload is low in reusability.

Embedded Wireless Framework is a set of lightweight abstraction layer framework, specially developed to solve resource-constrained embedded application scenarios. It is compatible with C99 standard development, meets MISRA C 2012 certification requirements, and provides unified, configurable and scalable The API is provided to application developers so that applications can easily run on different hardware platforms. The clear API and layered design decouple the module manufacturer’s driver and the chip manufacturer’s driver. Each partner can independently complete the development and support a variety of RTOS, Bare-metal implementation without OS.

GitHub - Azure/embedded-wireless-framework: Microsoft's Embedded Wireless Framework is a design concept that enables users to abstract application code from host port drivers and communication adapter drivers primarily in microcontroller-based projects.

5. EWF sample project

1. Project 1:

MCU: STM32U585 Discovery Kit

Cellular: Quectel BG95 – Cat-M, NB-IoT

The TCP/IP protocol stack and MQTT client run on the BG95 module and connect to Azure IoT Hub

Complete example project of STM32CubeIDE: embedded-wireless-framework/examples/STM32U585_Discovery_GCC at main · Azure/embedded-wireless-framework · GitHub

 2. Project 2

MCU: STM32U575 NUCLEO board

 WiFi: EMW3080 – 802.11b/g/n 

TCP/IP protocol stack and MQTT client run on EMW3080 module, connected to Azure IoT Hub

Complete example project of STM32CubeIDE: embedded-wireless-framework/examples/STM32U575_Nucleo_GCC at main · Azure/embedded-wireless-framework · GitHub

Guess you like

Origin blog.csdn.net/qq_18235445/article/details/128382434