cancel
Showing results for 
Search instead for 
Did you mean: 

Stop activity

v_mo83
Associate
Posted on August 29, 2015 at 07:50

Hi,

 please helpe me for this problem: we program stm32f103 using IAR

and I wants makes a signal using TIM2 but micro works for one time after 

programming after turn off power other dont work and stop out signal that made of TIM2

I dont know this problem please guide me.

thank so much

2 REPLIES 2
ztraiger
Associate
Posted on August 29, 2015 at 09:15

Try to step by step with debugger and verify that your MCU runs OK, and not stuck in infinite loop.

Posted on August 29, 2015 at 14:55

Not really sure I understand what the question is, it's very hard to decipher.

Do you want one pulse, or a stream of pulses?

Are you using PWM mode? Programming the width as zero will turn it off, and will disabling the timer.

Perhaps you can show what code you have now,and diagram the pulse you want, and the one you're observing currently?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..