Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Nested interrupts in ARM - don't work

Status
Not open for further replies.

kekon

Full Member level 3
Joined
Sep 19, 2002
Messages
155
Helped
5
Reputation
10
Reaction score
3
Trophy points
1,298
Location
Poland, Białystok
Activity points
1,493
I have a problem with STR710 chip.
When the microcontroller enters IRQ interrupt service routine it normally sets the I bit in the CSPR register which disables interrupts. This normally prevents any next nested interrupt to be entered. In an attempt to overcome the problem i modified the code and before entering given interrupt handler (to which processor jumps from IRQ isr) i clear I bit to reenable interrupts. After clearing the bit the processor immediately starts executing code from the beginning of IRQ isr. It looks as if it were in infinite loop and all the software "hungs up". I cannot solve the problem. Do you have any experience with that ?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top