cancel
Showing results for 
Search instead for 
Did you mean: 

Using TIM9 for PWM input

tamirmichael1975
Associate II
Posted on July 03, 2013 at 10:29

Which IRQ do I need to use ? I don't see any IRQ related to TIM9 at stm32f4xx_it.h.

TIM8 can also do PWM input - which IRQ do I need to use there ?

void TIM8_BRK_TIM12_IRQHandler(void);       /* TIM8 Break and TIM12 */

void TIM8_UP_TIM13_IRQHandler(void);        /* TIM8 Update and TIM13 */

void TIM8_TRG_COM_TIM14_IRQHandler(void);   /* TIM8 Trigger and Commutation and TIM14 */

void TIM8_CC_IRQHandler(void);              /* TIM8 Capture Compare */

Thanks in advance
2 REPLIES 2
tamirmichael1975
Associate II
Posted on July 03, 2013 at 10:33

I looked in the vector table and it seems as of TIM9 cannot generate interrupts. Is this correct? I would expect that TIM8 would handle PWM input in its CC interrupt, but that does not work. Any ideas?

Posted on July 03, 2013 at 10:46

RM0090 p.251

TIM1_BRK_TIM9

TIM1 Break interrupt and TIM9 global

interrupt