2007-03-07 09:43 PM
2007-03-01 05:12 AM
Hi Guys.
I'm using a STR712FR2 with the Rowley Crossworks IDE. I'm having problems with my external interrupts, in that I can't exit the interrupt function. I'm using P0.10. I initialised the interrupts as follows: P0.10 as a TTL input. XTI->MRH |= 0x20; XTI->TRH |= 0x20; EIC->IER0 |= 0x20; And I set the priority and enable global interrupts. But like I said my problem isn't entering the interrupt, it's exiting it. The code supplied by Rowley takes care of reading the IVR and before I exit the function I do the following: EIC->IPR |= 0x20; XTI->PRH |= 0x20; and I read port 0 on the advice of a colleague. Can anyone tell me what I might be doing wrong? Thanks Neil2007-03-07 09:43 PM
Thanks Zouhair.
I've been able to get my interrupt going using parts of the STR71x lib. Neil