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
Read-Only
Author
vikram gaikwad
Posted
5-Sep-2008 08:15 GMT
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.

Read-Only
Author
Per Westermark
Posted
5-Sep-2008 09:14 GMT
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.

Read-Only
Author
vikram gaikwad
Posted
5-Sep-2008 09:51 GMT
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.

Read-Only
Author
Per Westermark
Posted
5-Sep-2008 10:13 GMT
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.

Read-Only
Author
vikram gaikwad
Posted
5-Sep-2008 10:28 GMT
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