We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I am using STR9FAW44, and I get an external interrupt from WIU line 18(GPIO P6.2 pin). When CPU gets an interrupt from this pin it halts, it does not give any reaction. When I debug, it goes into interrupt routine, but when it returns from the intterrupt routine it jumps a memory address where includes some absurd things. Then it does noting.
What may be the cause of this problem?
Hi all, I can't still fix the problem. I increased stack sizes and tried again, but still problem exists. I rearrange my question and ask: I am using ST library v2.0 and I am trying get an interrupt from an external device(serocco-m serial controller). When an interrupt triggered, cpu jumps to the irq handler. Everything is normal until here, however strange things occurs when the cpu returns from IRQ handler. Some times it halts, jumps a strange address, some times it resets the whole system.
best regards Ramazan Arikan,
ok. what do you do inside the ISR? maybe you are causing a stack overflow there?
when you enter your ISR, is the value of the LR register correct?