Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
How does Cortex-M3 core capture the interrupt signal
Locked
Locked
Replies
1 reply
Subscribers
119 subscribers
Views
3148 views
Users
0 members are here
Options
Share
More actions
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
How does Cortex-M3 core capture the interrupt signal
Jade Tsien
over 12 years ago
Note: This was originally posted on 31st March 2013 at
http://forums.arm.com
Hi,
I'm using the Cortex-M3 and handling the interrupts of it. It seems that if I set ISR entry to the right interrupt vector number, the core shall do the right ISR when there is an interrupt signal occure.
But how can the core recogize that which of the interrupt vector number shall the interrupt signal be corresponded to?
For example, if I design a uart for the cortex-m3 to I/O, there occures a uart interrupt, then how does the core distinguish that the interrupt signal is from uart not spi or other peripheral?
NVIC just set the interrupt priority and enable/disable some interrupts, or can NVIC relate the uart interrupt signal to
[size=2]IRQ#16, if IRQ#16 is the entry of uart ISR?[/size]
[size=2]Well, another question is that I'v set the interrupt vector table in file 'exceptions.c', but when I read the content in [/size]
[size=2]mem 0x00000008, I get 0 not the function address of NMI_Handler. How can I write the ISR entry to the right interrupt vector?[/size]
[size=2]
[/size]
[size=2]Hoping for your answers sincerely![/size]
0
Quote