cancel
Showing results for 
Search instead for 
Did you mean: 

LPTimer counts only to 1 if running on LSE

Felix_livetec
Associate II

Hi,

 

I'm using on a STM32L4R9 a LPTimer1 in interrupt mode. If i use it with the PCLK1, HSI or LSI as clocksource it works as expected. It counts to the ARR value and then the interrupt occours. If i use the LSE as clocksource the LPTimer seems only to count to 1 and the interrupt happens way to often (propably also at 1).

The LSE is also used for the RTC, which works fine.

 

 

 

10 REPLIES 10

Of course not. I completely overlooked it. Probably because I didn't expect that the compiler wouldn't have an error here.

Thank you

Felix