2025-01-05 11:33 PM - last edited on 2025-01-06 02:47 AM by SofLit
How to set the clock source for TIM3
We are trying to use TIM3. We also want to use an external CLK as the clock source for TIM3, but we don't know how to set it.
.ioc file - Where should I change the TIM3 clock source settings?
2025-01-05 11:48 PM
Hello @pass3master
Could you please provide the MCU you are Using.
Best Regards.
STTwo-32
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.
2025-01-05 11:50 PM
The MCU we are using is STM32H743ZIT6.
2025-01-06 02:57 AM - edited 2025-01-06 02:57 AM
Hello,
From the reference manual RM0433: / section 39.3.3 Clock selection:
You can select an external clock source for TIM3:
In CubeMx:
2025-01-06 08:29 PM
That was a very easy-to-understand answer. Thank you.
If I select Internal Clock, what will be the accuracy and error of CLK?
2025-01-07 02:04 AM
@pass3master wrote:
If I select Internal Clock, what will be the accuracy and error of CLK?
It will be the accuracy of the system clock source: HSE/HSI etc ..
HSI, CSI accuracies are provided in the datasheet. HSE depends on the clock source you put as input.
If the original question has been answered please accept the comment that answered your original question.