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 ?
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 ?