Indeed, you need to enable continuous mode as referenced in the reference manual and AN4865
The LPTIM output depends on the continuous comparison between the LPTIM counter and the LPTIM_CMP (or LPTIM_CCRx) values.
When your question is answered, please close this topic by choosing Select as Best the answer that answered your question or solved your problem. This will help other users find that answer faster.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.