Hi Sid,
Do I understand it correctly. That you enabled the external
interrupts but not the GIE? You need to enable the Global interrupt
enable otherwise you won't get any interrupts. You also say that
you see a change in the IFR register. This is good, it means that
you actually see the interrupt on your DB_EINT pin. Which means
there is no hardware problem. I expect that enabling the global
interrupt will do the trick. It is used to enable/disable all interrupts
at once. Each interrupt independtly must be enabled in the IER
register.
Hope this helps,
Cheers,
Paul Kamphuis
sr. software architect
Relitech BV
On 2 Nov 2001, at 23:07, Sidney Jung wrote:
> I was wondering if anyone could help me with a
small, but very urgent,
> problem.
>
> I am trying to get the external interrupts going by inputting to the
> pins DB_EINT4 to 7 on the
> Extended Perpheral Interface (which claim to be outputs in the pin
> assignments, they could be right?!?) with simple Normally Open push
> buttons. I am using CCS1.05 and I have assigned an ISR from the HWI
> module. I am also enabling these specific interrupts with IER (not
> GIE). I can see that the IFR is flagging my interrupt bits, but it is
> not servicing them. Is there more I need to do? Also, the RESET IER
> bit is always LOW (IER bit 0) and the NMI bit is HIGH (IER bit 1),
> when in the notes it says it should be the other way around (RESET
> HIGH, NMI LOW in IER). What do I need to do? Am I wrong, the notes
> wrong or the board faulty? I desperately need help.
>
> Thanks,
> Sid.
>
>
> _____________________________________
> Note: If you do a simple "reply" with your email client, only
the
> author of this message will receive your answer. You need to do a
> "reply all" if you want your answer to be distributed to the
entire
> group.
>
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to
>
> To Post: Send an email to
>
> To Leave: Send an email to
>
> Archives: http://www.yahoogroups.com/group/c6x
>
> Other Groups: http://www.dsprelated.com
> ">http://docs.yahoo.com/info/terms/
|