hi all iam using LPC1788 M3 cortex ARM 7 controller iam trying to execute the timer and serial interrupt program. in both the cases iam unable to return from the interrupt handler routine.
iam also working on LPC2378 ARM 7 controller where i have executed both the programs mentioned above. there iam using VICVECTADDR=0 to return from interrupt to main. what is the case in LPC1788? please help. Thanks in advance
InThe Name Of Allah
Hi
I was Downloaded LPC1788 CMSIS and use GPIO Interrupt Project and run keil Debugger.
Problem is that GPIO Handler Never Call.
NVIC_SetPriority(GPIO_IRQn, 1); NVIC_EnableIRQ(GPIO_IRQn); GPIO_IntCmd(2, 1<<9, 1);
but with Software Trriger, GPIO Handler called :
NVIC->STIR = GPIO_IRQn;
Which port pin are you using as interrupt? Are you configuring the interrupt enable registers? (ENR/ENF) Have you enable the interrupt in NVIC? NVIC_EnableIRQ(GPIO_IRQn);
In case if you have the firmware library, there is an example code. refer to it.