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.
Key FeaturesBatch acquisition mode (BAM)
Sleep, Stop and Standby modes
Executing code from RAMLow-power application case
Current consumption measurement
The STM32Cube.AI is an extension pack of the widely used STM32CubeMX configuration and code generation tool enabling AI on STM32 Arm® Cortex®-M-based microcontrollers.
The X-CUBE-VS4A Expansion Package consists of a set of libraries and application examples for STM32F7 Series microcontrollers acting as Alexa-enabled devices. It runs on the 32F769IDISCOVERY board, which provides a native Ethernet interface.
Check out our video to get inspired to release your creativity