cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L552 LPTIM1 counter mode interupt

Hooks77
Associate II

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.

1 REPLY 1
Sarra.S
ST Employee

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.