Page 1 of 1

Is it possible to use LPTIM with stm32duino, or do I have to resort to using HAL?

Posted: Wed Sep 13, 2023 2:30 am
by HaroldFloyd
When attempting to utilize LPTIM1 on a Nucleo 32 l031k6 board, I encountered errors indicating that TIM_TypeDef cannot accept the term "LPTIM1." Is it possible to use LPTIM with stm32duino, or do I have to resort to using HAL?

Re: Is it possible to use LPTIM with stm32duino, or do I have to resort to using HAL?

Posted: Wed Sep 13, 2023 6:43 am
by fpiSTM
LPTIM is not managed by the core.ypu have to use LL or HAL.
You will have to enable the HAL_LPTIM_MODULE_ENABLED