AnsweredAssumed Answered

TIM1 CH1 output generation on PA8 STM32F100C8

Question asked by Limestone on Jul 5, 2012
Latest reply on Dec 15, 2013 by Bellons

I have extensivly searched the forum and tried several code examples found here inorder to get this resolved. I have worked with STM32s for about two years and never had any problems with generating a simple PWM / OC pulse before.

I am trying to generate ANY kind of pulse from TIM1 Channel 1 on PA8 on a STM32F100C8, LQFP48.

No matter what i do, i will always get a steady state on either high or low ( I can change that by inserting TIM_CtrlPWMOutputs(TIM1, ENABLE); in the end of the code) . The pin is connected  directly to a testpoint with no other connections to that trace.

I have tried and faild to get this running under the latest version of atollic, coocox and IAR.
I am using version 3.5.0 of the system libraries.

My own guess is that it has to do with the fact that it is generation on a advanced timer (TIM1) but as i cant even get the TIM1_Syncro example to run, it seems like something that is more closely related to this device.

Does anyone have a working example of a TIM1 generated pulse on PA8 on a STM32F100C8?

Best regards