Skip to main content
Associate
October 6, 2025
Question

Sequencer stop when LPTIM1 Started

  • October 6, 2025
  • 1 reply
  • 195 views

I am using the LoRaWAN_End_node application.  The application was working fine until I integrated the Low Power sample code.  The Sequencer appears to stop working (I suspect the timers are not working).  If I do not do add MX_LPTIM1_Init() in main everything appears to work.  The problem is without the LPTIM1 I can not wake up the processor.

 

HAL_LPTIM_Counter_Start_IT(&hlptim1,(2000 * LSI_VALUE / 1000)); 

HAL_PWREx_EnterSTOP2Mode(PWR_STOPENTRY_WFI);

 

Thanks for the help.

 

1 reply

Issamos
Lead III
October 8, 2025

Hello @jlaiosa 

To enter and exit low power modes on a LoRaWAN application based on the STM32WL. I suggest you to use the Low power and Timer server utilities. More details about that may be found on the AN5406 specially chapter 9.2 and 9.3.

Best Regards.

II

jlaiosaAuthor
Associate
October 8, 2025
Thank you for the reply.