STM32Cube SMBus/PMBus embedded software (AN4502)

X-CUBE-SMBUS software package contains SMBus/PMBus stack implementation for STM32Cube.

The SMBus stack is built on STM32Cube HAL drivers to implement the transport layer. The middleware also includes the template for further expansion and personalization of PMBus support.

Strict usage of the STM32Cube ensures high portability to other microcontrollers of the STM32 family.

The package comes with an example and basic functionality test intended for STM32F072B-Discovery and STM32F3-Discovery boards.

Key Features

  • SMBus 2.0 transfers:
    • Quick command.
    • Read/Write byte/word.
    • Block transfers.
    • Process call.
  • PMBus 1.2 support:
    • Group command.
    • Extended command.
  • Notable features:
    • Alert signal and response.
    • Address resolution protocol.
    • Packet error checking.
    • Host notification protocol.
    • Up to 400 kHz speed tested.


Technical Documentation

Product Specifications
Description Version Size
DB2538 DB2538: STM32 SMBus/PMBus embedded stack firmware 1.0 112 KB
Application Notes
Description Version Size
AN4502 AN4502: STM32 SMBus/PMBus embedded stack firmware 1.0 1 MB

Publications and Collaterals

Description Version Size
STM32 Open Development Environment Brochure 15.10 4 MB


License Agreement
Description Version Size
SLA0048 SLA0048: Mix Liberty + OSS + 3rd- party V1 - SOFTWARE LICENSE AGREEMENT 2.19 113 KB

Tools and Software

Embedded Software
MCUs Embedded Software

Get Software

Part Number Software Version Marketing Status Supplier Order from ST
X-CUBE-SMBUS 1.0.0 Active ST


Support & Community