2026-01-28 12:43 AM
Hi ST Community,
I create LBPAM application which continuously convert ADC4 data channel 22 (PC4) of STM32U575 VGTX.
I add HAL_DBGMCU_EnableDBGStopMode(); so I can debug in stop mode. I run LPTIM1 and ADC4 before going to STOP mode. I also move VoltageData buffer to SRAM4 uint16_t VoltageData[32] __attribute__((section(".sram4")));
LPBAM configuration contains one queue in Circular mode and only one node for ADC4 conversion.
After enter stop mode 2, no adc4 trigger, and VoltageData always is 0.
I attach my configuration so you guy can check it.
Thank you.
2026-01-28 4:04 AM
The posted code doesn't use ADC4 at all as far as I can tell. No MX_ADC4_Init call. No other calls in main().
In the IOC file, ADC4 is not enabled.
Am I missing it somewhere?
2026-01-28 8:36 PM
@TDK I configure ADC4 in LPBAM configuration.
I run ADC4 in MX_ADC4_Init() (LPBAM/ChargeDetection/lpbam_chargedetection_volmealoop_config.c)
2026-03-31 3:58 PM
Hello BLS_Karo,
Have you observed the same behavior in STOP 1 or STOP 0 modes?
otherwise , you can refer to a similar example located in the U5 CubeFW at:
"STM32Cube_FW_U5_V1.7.0\Projects\NUCLEO-U575ZIQ\Applications\LPBAM\LPBAM_ADC_IntExtChannelSwitch"
BRs.