Maximizing power efficiency using Batch Acquisition Mode (BAM), software expansion for STM32Cube (AN4515)

The X-CUBE-BAM embedded software describes an example of a BAM (batch acquisition mode) use case via a communication between an accelerometer and the STM32 microcontrollers.

Once the user moves the accelerometer, the direction (UP or DOWN) is displayed via the PC.

In this use case the accelerometer exchanges data with the STM32 microcontroller via the I2C. During the data transfer, the MCU power consumption is reduced thanks to the use of the batch acquisition mode (BAM) feature offered by the STM32 microcontrollers.

This application case is monitored by a terminal display through the USB virtual comport communication between the MCU and the PC.

The embedded software package includes one project:

X-NUCLEO-IKS01A1: this project is based on a STM32 microcontroller (embedded in a STM32 Nucleo board) and an accelerometer (embedded in the STM32 Nucleo expansion board X-NUCLEO-IKS01A1).

The embedded software example is developed with the STM32Cube embedded software. It uses the EWARM, MDK-ARM™ and SW4STM32 toolchains and can be easily tailored for any other toolchain.

For more details refer to the application note AN4515.


  • Batch acquisition mode (BAM)
  • Sleep, Stop and Standby modes
  • Executing code from RAM
  • Low-power application case
  • Current consumption measurement





Description バージョン サイズ
DB2661 DB2661: Maximizing power efficiency using batch acquisition mode (BAM), software expansion for STM32Cube 3.0 191 KB
Description バージョン サイズ
AN4515 AN4515: Using Batch Acquisition Mode (BAM) to maximize power efficiency on STM32F410, STM32F411, STM32F412, STM32F413 microcontroller lines 7.0 1 MB
Description バージョン サイズ
UM2312 UM2312: Development checklist for STM32Cube Expansion Packages 1.0 283 KB
UM2285 UM2285: Development guidelines for STM32Cube Expansion Packages 1.0 485 KB

プレゼンテーション & トレーニング資料

Description バージョン サイズ
STM32 and STM8 embedded software solutions 7.0 3 MB

Publications and Collaterals

Description バージョン サイズ
STM32 Open Development Environment Brochure 16.10 1 MB
Sensor & motion algorithm software pack for STM32Cube 1.0 675 KB


Description バージョン サイズ
SLA0048 SLA0048: Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT 5.1 87 KB


製品型番 General Description Software Version Supplier Marketing Status GitHub link ダウンロード
X-CUBE-BAM Maximizing power efficiency using Batch Acquisition Mode (BAM), software expansion for STM32Cube (AN4515) 1.2.0 ST Active -


サポート & コミュニティ