Posted on May 17, 2011 at 13:26Hi Lufter, The errors I'm getting after pasting that code in stm32f10x_it.c in TIM1_CC_IRQHandler() error1:identifier ''TIM_OCInitStructure'' is undefined error2: identifier ''PWMdata'' is undefined error3: error: ...
Posted on May 17, 2011 at 13:26Hi, I'm using timer1 & in code TIM_TimeBaseStructure.TIM_Period = 399 i.e to get a output frequency of 20KHz. I've written a loop to get the output to read values in PWM data but the frequency is changing continously. ...
Posted on May 17, 2011 at 13:26Hi , I've decided to use TIM1 (PA8 ) as output. I need only one SPWM signal. I wish to know where to keep that code for PWM[i] which you were talking about. I tried keeping that code in STM32f10x_it.c but it was showin...
Posted on May 17, 2011 at 13:26Hi lowpowermcu, I guess you are right, I dont have code for stm32f1x_it.c that matches main.c. Can you tell me or provide code for stm32f1x_it.c? Do i neeed to change other files like gpio,nvic,tim,lib,flash,rcc as wel...