2022-05-24 12:13 PM
I'm trying to use the timer interrupt to blink some LEDs while my main is running, but when I run the code I can't achieve the interruption.
Solved! Go to Solution.
2022-06-02 08:19 AM
Hello @Fealvares ,
Sorry for the late reply,
Please check UM1816 Description of STM32L1 HAL and low-layer drivers. Section 43 describes HAL TIM Generic Driver.
I hope this helps
If your issue is solved, please close this post by clicking the "Select as Best" button. This will help other members of the community find this response more quickly
Sara.
2022-05-27 08:53 AM
Hello @Fealvares ,
Thanks for your feedback,
Could you please share your ioc file to help us reproduce the issue ?
Sara.
2022-05-27 09:18 AM
Hi @Sara BEN HADJ YAHYA ,
Acutally I'm a beginner working with STM Tools. With a co-worker help I figure out that was a function missing in my code.
HAL_TIM_Base_Start_IT(&htimX);
But when I searched for how to configure the time interruptions, I couldn't find any code using this line.
Is there any kind of guide that would help me to use the HAL libs?
Att,
Felipe.
2022-06-02 08:19 AM
Hello @Fealvares ,
Sorry for the late reply,
Please check UM1816 Description of STM32L1 HAL and low-layer drivers. Section 43 describes HAL TIM Generic Driver.
I hope this helps
If your issue is solved, please close this post by clicking the "Select as Best" button. This will help other members of the community find this response more quickly
Sara.