Posted on May 17, 2011 at 15:05Hi mozra27 Thank's for the suggestions!!! I will give it a try and come back to you with result. By the way here is the interrupt that I'm using: void TIM2_CAP_COM_IRQHandler (void)interrupt 14 { if (TIM2_GetITStatus...
Posted on May 17, 2011 at 15:05Thank's !!! Another question is: I'm using the internal HSI clock (16Mhz) and fmaster is 16Mhz(prescaler 2^0)is this the clock going in the TIM2 peripheral or not. I don't understand where the 2 Mhz come out, there is ...
Posted on May 17, 2011 at 15:05Hi brazov2! Thank's for the reply. I just want to generate a square wave at 125kHz and duty cycle at 50%. Nothing more. I just want to use The timer2 output compare interrupt but doesn't seem so linear in using it. Tha...
Posted on May 17, 2011 at 15:05Hi to All Looking in the examples of FWlib from ST in TIM2 PWM frequency Configuration, I don't understand how those numbers come out.I've read the read me file in the folder but seems wrong to me. In particular I woul...