2023-11-21 11:46 PM
Hello,
When I study code of TIM_InputCapture example in NUCLEO-U575ZI-Q, I am confused about the Clock sourece configuration of TIM1 as following shows:
why do you choose "disable" rather than "Internal Clock"?
thank you!
Solved! Go to Solution.
2023-11-22 1:34 AM
Hello @erdong
First let me thank you for posting.
The TIM1CLK frequency is set to SystemCoreClock (Hz), the Prescaler is 0, so the TIM1 counter clock is SystemCoreClock (Hz).
SystemCoreClock is set to 160 MHz for STM32U575ZITxQ Devices.
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.
2023-11-22 1:34 AM
Hello @erdong
First let me thank you for posting.
The TIM1CLK frequency is set to SystemCoreClock (Hz), the Prescaler is 0, so the TIM1 counter clock is SystemCoreClock (Hz).
SystemCoreClock is set to 160 MHz for STM32U575ZITxQ Devices.
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.
2023-11-22 5:52 PM
Firstly, thanks for your reply.
Is it mentioned in manual reference? Where can I find it?
And when can I use "internal clock" mode? How about the other TIMx?
thank you!