Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 91099

Circuit to generate a signal at a specific time after a trigger event. The timing can be defined by an RC time constant, or by clock pulses from an oscillator.

5 votes
Accepted

What does ClockDivision do, as opposed to the Prescaler for STM32 timers?

According to the stm32 F4 family datasheet register description, the "ClockDivision" stands for CKD: This bit-field indicates the division ratio between the timer clock (CK_INT) frequency and the dead-time … Beware TIM1 is a special Timer, the same description do not hold true for other general pupose timers(ex. TIM2 etc.) …
charansai's user avatar
  • 491
5 votes

How to dynamically adjust a timer with STM32

I think the mistake that you are doing is you are stopping the timer base clock in IRQHandler() and want to update it in PeriodElapsedCallback(), which will be executed inside the IRQHandler(). … The only thing you need to do is grab the CCR value dynamically and update the macro, you do not need to stop and start the timer..! The same problem is addressed here. …
charansai's user avatar
  • 491
2 votes

STM32F7 46 G Discovery setting TIM2 to 1 second

Your timer configuration looks fine for me but for Timer_Clock configuration to be precise, calculate Prescaler value from SystemCoreClock value. …
charansai's user avatar
  • 491