Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

LPC2148 interrupt doubt

Status
Not open for further replies.

kandhu26

Member level 5
Joined
Sep 7, 2009
Messages
93
Helped
13
Reputation
26
Reaction score
12
Trophy points
1,288
Location
chennai / bangalore
Activity points
1,858
i am using 0.30 pin as external interrupt...when i am pressing the switch[interrupt switch] it will go to 5V.[becoz in circuit normally pull down with resistor when the switch is pressed it will go to 5V].first 20 times it was working properly[interrupt was generated]..then suddenly the interrupt is not working[the pin{0.30} itself gone]...my doubt is should i produce interrupt using 5V here...
 

Most I/O pins of the LPC2148 are 5V tolerant, so that would work. Pressing an interrupt button could however start that interrupt many times if it is level triggered.

You should NOT use 5V if the MCU is not power with 3V at the same time. 5V tolerance is only during active mode of the MCU, meaning 3V has to be present for the I/O to tolerate 5V. (Check datasheet)

hth, Bob
 

Hi

Not sure how your software works - but you need to free the interrupt by reseting its vector

This might be one source of your problem

All the best

Bobi

The microcontroller specialist
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top