cancel
Showing results for 
Search instead for 
Did you mean: 

Strange timer behavior when LPM is enabled in STM32WB55

IlliaGx
Associate III

Hi
I was here with a timer question not long ago, and everything seemed solved. https://community.st.com/t5/stm32-mcus-wireless/timer-tim2-does-not-work-when-ble-is-initialized-in-stm32wb55/m-p/794896#M24405
I am working on a custom device, but I made a demo version for the nucleo board to share the project.

Respected @FilipKremen  helped me then. Also, when regenerating the project with entering standby mode, everything crashed, and for many days, I couldn't find what the problem was because most of the files seemed to be identical. And now I added the functionality with the standby mode to the project with the timer example, and I was able to trace the problem.
If I activate #define CFG_LPM_SUPPORTED 1, entering standby mode on a long press of button 1 works, but the timer doesn't start at the initialization. 

At the same time, if CFG_LPM_SUPPORTED is 0, the timer works fine, but entering standby mode does not work.
Is this a bug, or am I missing something? Please help me

I am attaching a project for the Nucleo board

0 REPLIES 0