2017-07-10 12:48 PM
Hi all,
I am using STM8S003K3 mcu to develop a project based on some interrupt applications (TIMER overflow, UART receive). When I try to enable general interrupts by using 'enableInterrupts()' function mcu gets stuck and all functions halt down. I enable peripheral interrupt registers but the general interrupts are not working properly. Is there anybody who has ever encountered the same problem and any solution?
Thanks in advance for your support.
Kind regards,
Ozgur BOSTAN
#stm8s-interrupt #stm8s003k32017-07-10 11:33 PM
Could you please show use your interrupt vector table?
2017-07-11 02:28 AM
I do not where the vector table is or how to use it. This might be the problem. I have used the sample codes provided with std perip library. It would be great if you give me the directions to use and find the vector table.
Thanks in advance.
2017-07-11 03:01 AM
You have not mentioned which toolchain do you use. In the case of Cosmic the stm8_interrupt_vector.c file is what you are looking for.
2017-07-11 04:03 AM
Ohh, sorry for that. It is IAR Embedded Workbench.