Keil™, An ARM® Company

Discussion Forum

not able to re-enter in hareware interrupt.

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Author
vikram gaikwad
Posted
5-Sep-2008 00:15
Toolset
ARM
New! not able to re-enter in hareware interrupt.

Hi all,

I am using lpc2138 working with EXT3 interrupt. hardware interrupt works fine for first time when I reset the board. But thereafter it does not detect any interrupt on EXT3. Plz suggest any re-initialization I have to do to detect hardware interrupt next time onwords.

Thank you in advance.

Author
Per Westermark
Posted
5-Sep-2008 01:14
Toolset
ARM
New! RE: not able to re-enter in hareware interrupt.

Are you acknowledging the ext3 interrupt and the vic? You need these two assigns to get any more interrupts from the same source.

Searching for EINT3 in the user manual should give you all information needed to reset the EINT3 interrupt source.

Author
vikram gaikwad
Posted
5-Sep-2008 01:51
Toolset
ARM
New! RE: not able to re-enter in hareware interrupt.

Thanks for showing interest.

I am doing this in my ISR

EXTINT = 0x08; //clear EINT3 flag
VICVectAddr = 0; /* Update VIC priorities */

Then also 2nd time onwords it is not working.

Author
Per Westermark
Posted
5-Sep-2008 02:13
Toolset
ARM
New! RE: not able to re-enter in hareware interrupt.

Do you have edge-trigged or level-trigged interrupts?

If level-trigged, then it will not be possible to reset the interrupt until the interrupt signal is back to idle.

Author
vikram gaikwad
Posted
5-Sep-2008 02:28
Toolset
ARM
New! RE: not able to re-enter in hareware interrupt.

I am using edge trigger.

Next Thread | Thread List | Previous Thread Start a Thread | Settings