2006-12-06 02:27 AM
2011-05-17 12:34 AM
I have Timer2 running in PWM mode at 8Khz. I need to turn it on and off to run a buzzer. This works, but only once. I am setting and clearing bit 2^15 in the TIM2_CR1 register during an interrupt on Timer3.
Any suggestions?2011-05-17 12:34 AM
My bad. I called GPIO_DeInit to set up other bits in the port that held the PWM bit. DeInit resets all port bit definitions.