2025-03-30 11:12 PM
I was wondering by which reason the HAL_LPTIM_AutoReloadMatchCallback is not being called.
All the functions called in the inside the HAL_LPTIM_Init return HAL_OK.
2025-04-10 7:52 AM
Hi @carlesls2,
I am not an expert in the LPTIM, but I will try to help you.
You need to check if the LPTIM is enabled or not, and also if it is clocked or not.
You can also directly use this example: STM32CubeG0/Projects/NUCLEO-G031K8/Examples/LPTIM/LPTIM_PulseCounter at master · STMicroelectronics/STM32CubeG0 · GitHub .
Thank you.
ELABI.1
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.