cancel
Showing results for 
Search instead for 
Did you mean: 

Questions about TIM_InputCapture example in NUCLEO-U575ZI-Q

erdong
Associate

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:

erdong_0-1700638992270.png

why do you choose "disable" rather than "Internal Clock"?

thank you!

 

1 ACCEPTED SOLUTION

Accepted Solutions
Ghofrane GSOURI
ST Employee

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.

Timer1 clock.png

View solution in original post

2 REPLIES 2
Ghofrane GSOURI
ST Employee

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.

Timer1 clock.png

erdong
Associate

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!