AnsweredAssumed Answered

STM32W Timer interrupt after x milliseconds [SOLVED] SimpleMAC 1.1.0 / 2.0.0 inside

Question asked by zucchi.simone_massim on Jun 29, 2012
Latest reply on Jan 17, 2013 by zucchi.simone_massim
Hello everybody. I'm looking to find the proper way to achieve this: I need an interrupt to be invoked every x [ms] in my software.
I'm working with a Dizic MB851 Rev. A board. I found on the datasheet the NVIC description to activate the TIM1 (or TIM2) interrupt, but I can't understand how to make the GPTimers really work. How do I set their clock? How do I set their prescaler (and therefore their timing for the update event)?
Thanks in advance.


*UPDATE: I solved the problem. Have a look at my post below