cancel
Showing results for 
Search instead for 
Did you mean: 

timer 16 has hang or stop working for 1 sec.

kalpeshpatil102
Associate III
Posted on November 11, 2016 at 08:10

 

 

The original post was too long to process during our migration. Please click on the attachment to read the original post.
2 REPLIES 2
Walid FTITI_O
Senior II
Posted on November 11, 2016 at 16:11

Hi patil.kalpesh, 

You should use in this case the commutation feature on Timer. Timer is configured Timing Mode, each time a COM event occurs, a new TIM1

configuration will be set in advance. Only changed states are programmed. 

You would refer to the ''TIM_6Steps'' example in STM32CubeF0 at this path: STM32Cube_FW_F0_V1.6.0\Projects\STM32F072RB-Nucleo\Examples_MIX\TIM

You would also have a look to a new application note

http://www.st.com/content/ccc/resource/technical/document/application_note/group0/91/01/84/3f/7c/67/41/3f/DM00236305/files/DM00236305.pdf/jcr:content/translations/en.DM00236305.pdf

which talks about commutation and use it in a one of its firmware examples.

-Hannibal-

kalpeshpatil102
Associate III
Posted on November 13, 2016 at 07:07

thank you Hannibal.

 in my code i am using two timer . one timer with interrupt and other timer is without interrupt . there are possible to conflict of these to timer . 

please help me 

thank you