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 tests intended for below boards: 32F072BDISCOVERY, 32L0538DISCOVERY, 32L476GDISCOVERY and STM32F3DISCOVERY.

Key Features

  • SMBus 3.0 transfers:
    • Quick command
    • Read/Write byte/word
    • Block transfers
    • Process call
    • Zone commands
  • PMBus 1.3.1 support:
    • Group command
    • Extended command
  • Notable features:
    • Alert signal and response
    • Address resolution protocol
    • Packet error checking
    • Host notification protocol
    • Up to 1 MHz speed tested


Technical Documentation

Product Specifications
Description Version Size
DB2538 DB2538: STM32 SMBus / PMBus™ embedded software expansion for STM32Cube 2.0 123.99 KB
Application Notes
Description Version Size
AN4502 AN4502: STM32 SMBus/PMBus™ embedded software expansion for STM32Cube™ 3.0 1.34 MB
User Manuals
Description Version Size
UM2312 UM2312: Development checklist for STM32Cube Expansion Packages 1.0 283.23 KB
UM2285 UM2285: Development guidelines for STM32Cube Expansion Packages 1.0 485.46 KB

Presentations & Training Material

Description Version Size
STM32 and STM8 embedded software solutions 7.0 3.12 MB

Publications and Collaterals

Description Version Size
STM32 Open Development Environment Brochure 17.09 1.21 MB
Sensor & motion algorithm software pack for STM32Cube 1.0 544.58 KB


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

Tools and Software

Embedded Software
MCU & MPU Embedded Software
Evaluation Tools
Product Evaluation Tools

Get Software

Part Number General Description Software Version Supplier Marketing Status GitHub link Download
X-CUBE-SMBUS STM32Cube SMBus/PMBus embedded software (AN4502) 2.0.2 ST Active -


Support & Community