Home > News & Updates > X-CUBE-AZURE – MICROSOFT AZURE SOFTWARE EXPANSION FOR STM32CUBE

X-CUBE-AZURE – MICROSOFT AZURE SOFTWARE EXPANSION FOR STM32CUBE

Summary of X-CUBE-AZURE – MICROSOFT AZURE SOFTWARE EXPANSION FOR STM32CUBE


The X-CUBE-AZURE expansion package provides libraries and example applications enabling STM32L4, STM32F4, and STM32F7 microcontrollers to act as Azure IoT end devices. It supports four hardware platforms with Wi‑Fi (B-L475E-IOT01A, 32F413HDISCOVERY), Ethernet (32F769IDISCOVERY), and cellular (P-L496G-CELL02 with Quectel BG96) connectivity. Sample apps configure network parameters, demonstrate publishing telemetry and device state to Azure IoT Hub, and handle messages, methods, and twin updates for remote LED control, telemetry interval changes, and remote firmware update triggering.

Parts used in the X-CUBE-AZURE:

  • B-L475E-IOT01A board (with Inventek Wi-Fi module)
  • 32F413HDISCOVERY board (with Inventek Wi-Fi module)
  • 32F769IDISCOVERY board (native Ethernet interface)
  • P-L496G-CELL02 pack (STM32L496AGI6 low-power Discovery board)
  • Quectel BG96 modem (included on P-L496G-CELL02 for LTE Cat M1/NB/2G)
  • STM32L4 Series microcontrollers
  • STM32F4 Series microcontrollers
  • STM32F7 Series microcontrollers

The X-CUBE-AZURE Expansion Package consists of a set of libraries and application examples for STM32L4 Series, STM32F4 Series, and STM32F7 Series microcontrollers acting as end devices.

X-CUBE-AZURE – MICROSOFT AZURE SOFTWARE EXPANSION FOR STM32CUBE

X-CUBE-AZURE runs on four platforms. The B-L475E-IOT01A and 32F413HDISCOVERY boards support Wi-Fi® connectivity with an on-board Inventek module. The 32F769IDISCOVERY board provides a native Ethernet interface. The P-L496G-CELL02 pack includes an STM32L496AGI6-based low-power Discovery board equipped with Quectel’s BG96 modem (LTE Cat M1/NB/2G fallback) for cellular connectivity.

For the four platforms, a sample application configures the network connectivity parameters, and illustrates the various ways for a device to interact with Microsoft® Azure® IoT Hub. The application shows how a simple client application connects to the Azure® IoT Hub in order to publish device state and telemetry data, and receive device configuration from the cloud.

The application handles Azure® messages, methods and twin update commands. This allows, from the Azure IoT console, the remote control of the user LED state, the change of the telemetry interval, or the trigger of remote firmware update.

Read more: X-CUBE-AZURE – MICROSOFT AZURE SOFTWARE EXPANSION FOR STM32CUBE

Quick Solutions to Questions related to X-CUBE-AZURE:

  • What is X-CUBE-AZURE?
    It is an expansion package of libraries and example applications to enable STM32 microcontrollers to act as Azure IoT end devices.
  • Which STM32 series are supported?
    STM32L4, STM32F4, and STM32F7 Series are supported.
  • Which hardware platforms does X-CUBE-AZURE run on?
    It runs on B-L475E-IOT01A, 32F413HDISCOVERY, 32F769IDISCOVERY, and P-L496G-CELL02 platforms.
  • How is network connectivity provided on the supported boards?
    B-L475E-IOT01A and 32F413HDISCOVERY use on-board Inventek Wi-Fi, 32F769IDISCOVERY uses native Ethernet, and P-L496G-CELL02 uses the Quectel BG96 cellular modem.
  • What Azure features does the sample application demonstrate?
    It demonstrates publishing telemetry and device state, and handling Azure messages, methods, and twin updates.
  • Can the application receive remote commands from Azure IoT Hub?
    Yes, it can receive commands to control the user LED, change telemetry interval, and trigger remote firmware updates.
  • Does X-CUBE-AZURE include examples for configuring network parameters?
    Yes, the sample application configures the network connectivity parameters for each platform.
  • What cellular standard does the Quectel BG96 modem support on P-L496G-CELL02?
    It supports LTE Cat M1, NB, with 2G fallback.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top