2025-05-20 12:25 PM - edited 2025-05-20 4:10 PM
Hello,
I'm new to stm32 microcontrollers. I'm trying to figure out how to configure LPTIM1 in counting mode, external clock in using cubeMX. Is there any examples on how to set it up?
Is this even possible?
Thanks in advance.
2025-05-22 8:32 AM
Hello @Hooks77,
Yes, it is possible to configure LPTIM1 in counting mode using an external clock in STM32CubeMX. There are examples that describes how to configure and use the LPTIM peripheral to count pulses through the HAL API.
You can check this project in the STM32CubeG4 package with CubeMX configuration.
Hope that helps!
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.