cancel
Showing results for 
Search instead for 
Did you mean: 

IRQ number of TIM11 on STM32F103FxF,G

dhaselwood
Associate II
Posted on July 22, 2013 at 04:34

The datasheet for 'F103F,G parts show additional timers, e.g. TIM11, not present on the earlier parts, e.g. 'F103RB.  Where is documentation that specifies the IRQ number for these timers?

The datasheet says the NVIC has 60 interrupt channels, yet the datasheet for STM32F103xC, STM32F103xD and STM32F103xE that does not have these timers also shows 60 interrupt channels, which suggests these timers must share interrupt vectors with something else.
5 REPLIES 5
Posted on July 22, 2013 at 14:31

STMicro\STM32F10x_StdPeriph_Lib_V3.4.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_xl.s

                DCD     TIM1_BRK_TIM9_IRQHandler      ; TIM1 Break and TIM9

                DCD     TIM1_UP_TIM10_IRQHandler      ; TIM1 Update and TIM10

                DCD     TIM1_TRG_COM_TIM11_IRQHandler ; TIM1 Trigger and Commutation and TIM11

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Amel NASRI
ST Employee
Posted on July 22, 2013 at 14:53

Also, in STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h

TIM1_TRG_COM_TIM11_IRQn = 26, 
/*!< TIM1 Trigger and Commutation Interrupt and TIM11 global interrupt */

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

dhaselwood
Associate II
Posted on July 22, 2013 at 22:49

Posted on July 22, 2013 at 23:31

I would rather ST put the IRQ numbers in the datasheet for the part.  Looking at code files for documentation seems backwards.

It is in the reference manual, the code was a quick place to look.

Page 193, Table 62

http://www.st.com/web/en/resource/technical/document/reference_manual/CD00171190.pdf

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
dhaselwood
Associate II
Posted on July 23, 2013 at 03:22