2013-07-30 03:06 AM
Hello! I have problem with this line in my application with STM32F100VLDiscovery:
NVIC_EnableIRQ(TIM15_IRQn); I have error - TIM15_IRQn undeclared. I did try also - NVIC_EnableIRQ(TIM15_UP_IRQn); - error again; I don't know why and how I can turn on this interrupt. ;2013-07-30 04:16 AM
Project defines STM32F10X_LD_VL, STM32F10X_MD_VL or STM32F10X_HD_VL as appropriate.
TIM1_BRK_TIM15_IRQn TIM1_BRK_TIM15_IRQHandler2013-07-30 04:36 AM
Ok, will find, now not have (it is my first project with vldisco).
But why work NVIC_EnableIRQ(TIM3_IRQn); or also work NVIC_EnableIRQ(TIM4_IRQn);, but with TIM15 not? (sorry for my poor English:)2013-07-30 04:45 AM
Because some vectors can support multiple interrupt sources, and are named to describe those sources. Likely due to design convenience.
2013-07-30 04:57 AM
Ok, thank you for help:) I have little problems with this forum yet. (edit, delete message etc).
2013-07-30 05:08 AM
2013-07-30 05:09 AM
Yes, even if you used the BRK interrupt, you'd simply need to check the source and service them appropriately. Look at a TIM interrupt which handles CC1, CC2, CC3, etc
You'd add code that looked at both TIM1 and TIM15 sources as required.