Dear All,
I'm trying to implement a counting button through MCB2140's INT1 button. I already changed GPIO 0.14 to EINT1 function, installed an ISR function for it. Inside the ISR function, I just print UART an 'a' character and set the VICVectAddr(0xFFFFF030) to 0. But when running the code, there are a lot of 'a' characters printed out instead of what I expected is only one 'a', and the system seems hang. I tried to disable EINT1 interrupt source, uninstall ISR for it, change the GPIO 0.14 to GPIO function inside the ISR (just before setting VICVectAddr to 0)...but they don't help!!! Please give me some advices!!!
Thanks for your time, Tuong Nguyen