This article provides guidelines on how to use the LPBAM feature in the STM32U5 series to allow peripherals to be autonomous and optimize the power consumption in STOP2 mode.
The LPBAM stands for low-power background autonomous mode. It is an operating mode available in the STM32U5 products series that allows peripherals to be functional and autonomous in Stop 2 mode independently from the device power modes without any software running.
Two major advantages result from using the LPBAM feature :
Power consumption is optimized (around 4µA in STOP2)
CPU bandwidth is offloaded (peripheral configuration and transfers are done by DMA)
The following Wiki article provides LPBAM use cases and a complete example of how to drive LPGPIO with code, scenario configuration, and power consumption measurement.