Sometimes LPTIM2 does not start when using one shot mode. I see this happened 4 years ago to another user and their question went unanswered. So I'll try. (STM32L4R5ZIT6)
// Code to start the one shot timer void set_delta_alarm(Long t) { LL_LPTIM_Enable(LPTIM2); while (0 == LL_LPTIM_IsEnabled(LPTIM2)) ; LL_LPTIM_SetAutoReload(LPTIM2, t); // * TE_SECOND / ONE_SECOND); LL_LPTIM_ClearFLAG_ARRM(LPTIM2); LL_LPTIM_Star...