Posted on May 17, 2011 at 15:11So I try to compile your code but it doesn't work because SMCR and BKR registers doesn't exist with TIMER2 or 3.So your code is unusable.Thanks.
Posted on May 17, 2011 at 15:11Hi brazov, Thanks for your response. I haven't touch this option byte. This is my code for TIM3.Code with TIM3: TIM3_DeInit();TIM3_TimeBaseInit(0,150);TIM3_OC2Init(TIM3_OCMODE_PWM1,TIM3_OUTPUTSTATE_ENABLE,1,TIM3_OCPOL...
Posted on May 17, 2011 at 15:10Hi LowPowerMcu,I have already read all AN or datasheet that discuss about IAP.But I have always a little problem.In an old post, I have discribe this one.Merci pour ta réponse.Si tu as déjà travaillé sur le sujet, je p...
Posted on May 17, 2011 at 15:09Hi,If you want to generate an interrupt each 1ms, you can use the output compare.And it's run very well.Example in library TIM2.Regards.