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

Post here first, or if you can't find a relevant section!
Post Reply
HaroldFloyd
Posts: 1
Joined: Fri Jun 23, 2023 12:14 pm

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

Post 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?
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

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

Post 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
Post Reply

Return to “General discussion”