cancel
Showing results for 
Search instead for 
Did you mean: 

How to initialise timer for 1.25ms interrupt in stm32f7 ..provide example

Girish1
Associate III
1 ACCEPTED SOLUTION

Accepted Solutions
Issamos
Lead II

Hello @Girish1 

To configure a timer to count for 1.25 ms use this relation:

1.25ms=(1/timer_frequency)*(Arr_register-1)*(prescaler_register-1) this is how to configure it. 

You can find a full exemple with tutorial her .

Best regards.

II

View solution in original post

1 REPLY 1
Issamos
Lead II

Hello @Girish1 

To configure a timer to count for 1.25 ms use this relation:

1.25ms=(1/timer_frequency)*(Arr_register-1)*(prescaler_register-1) this is how to configure it. 

You can find a full exemple with tutorial her .

Best regards.

II