This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Getting unwanted interrupts in LPC2103

Hi, I am using Keil microvision 3 and using the NXP MCU LPC2103 . Now whenever i am writing somthing to the pin connect block P0SEL0 (.30 an .31 the value written is 0x40000000) to select the functionality of EXT INT2 then i am getting external interrupt (that is my code is branching to the ISR of EXT INT2).

But the thing is that i have not connected anything to the external interrupt pin (that is P0.15).

The board i am using is MCB2103.

Please help me in this regard. (any pointer to some example code is highly appreciated).

Thanks in advance
kaushik

Parents Reply Children
  • You have connected an interrupt line to a separate chip that isn't powered up, and you don't have a pull-up?

    First of all - be careful about powering only parts of your solution. The FPGA may get voltages way about it's VCC (since it's VCC is zero if not powered up) and that is outside the specifications. unless the FPGA pins are specifically designaed for such use.

    Add a serial resistor between FPGA and ARM, and then a pull-up or pull-down resistor depending on what levels you like to have the signals when the FPGA isn't there and driving them.