cancel
Showing results for 
Search instead for 
Did you mean: 

Sequencer stop when LPTIM1 Started

jlaiosa
Associate

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.

 

0 REPLIES 0