Posted on May 17, 2011 at 13:01Thank you Mark! It took me 2 days more to understand it: TIM2 can be clocked with 72MHz although APB1 = 36MHz. Because of the multiplicator when the prescaler is not 1. APB1 and its following peripheral is not affected...
Posted on May 17, 2011 at 13:01Hi all, I have problems to calculate back from timersteps to seconds. I'm using TIMER2. cpu clock is 72MHz so TIMER2 at APB1 should be f_APB1=36MHz. I would calculate the time t=(TIM_PSC x TIM_CNT)/f_APB1 i.e. PSC = 20...
Posted on May 17, 2011 at 13:01Hello, I measure the time between two rising signal edges with TIM2. To get the best resolution I'm trying to change the timer prescaler on the fly. Means that when the captured value is to small I will reduce the pres...
Posted on May 17, 2011 at 13:00Hi, what is your experience using the jlink for debugging the STM32? Especially interrupts. In detail, when I enable the EXTI9_5 in the NVIC the ISR is executed when I debug with the jlink in the IAR 5.20 EWB. Once I d...