Using TIM9 for PWM input
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-07-03 1:29 AM
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
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-07-03 1:33 AM
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?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-07-03 1:46 AM
Posted on July 03, 2013 at 10:46
RM0090 p.251
TIM1_BRK_TIM9 TIM1 Break interrupt and TIM9 global interrupt