When I set up an external edge sensitive interrupt EINT3 on an lpc2129 all sorts of problems happen. The jtag stops working and won't work again until I reprogram through the ISP. The pin is sitting stable at about 2.8 volts when I run the following code. If I set up for level sensitive it is ok. // initialise pin 0.30 (EINT3) to have a negative edge // triggered interrupt PINSEL1_bit.P0_30=0x2; EXTMODE = 0x08; // enable the interrupt control VICIntSelect &= ~(1<<VIC_EINT3); // IRQ on external interrupt VICVectAddr3 = (uint32_t)&ShutdownRamInterrupt; VICVectCntl3 = 0x20 | VIC_EINT3; // vector interrupt for external 3 VICIntEnable = (1<<VIC_EINT3); // Enable external 3 interrupt. Anybody used EINT3 edge sensitive on an lpc2129 thanks Doug
Message
external interrupt problem
2004-07-22 by douglasbolton
Attachments
- No local attachments were found for this message.