<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>My external inteerupt not working</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/26809/my-external-inteerupt-not-working</link><description> 
i m using EINT 2 on port P0.a5 on LPC 2148 

 
here is my code ..can anyone guide me pls.. 

 
 PINSEL0 = 0x80000000; //Select P0.7 for EINT2
 VICIntSelect = 0x00;
 VICVectCntl1 = 0x20 | 0x10; //EINT 2 is selected
 VICVectAddr1 = (unsigned long) intr2_srv;</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: My external inteerupt not working</title><link>https://community.arm.com/thread/136392?ContentTypeID=1</link><pubDate>Tue, 15 Feb 2011 00:02:48 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d06cbc1c-ef60-4b11-aae0-642b5cb5ec30</guid><dc:creator>Heena Panchal</dc:creator><description>&lt;p&gt;&lt;p&gt;
pls give some idea...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My external inteerupt not working</title><link>https://community.arm.com/thread/136391?ContentTypeID=1</link><pubDate>Mon, 14 Feb 2011 02:02:18 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a3372c88-f03f-4c3f-a102-a7bd3ad820a3</guid><dc:creator>Heena Panchal</dc:creator><description>&lt;p&gt;&lt;p&gt;
this is the interrupt routine...&lt;/p&gt;

&lt;pre&gt;
void intr2_srv (void) __irq
{
        manual();
        T0IR = 0x01;
        EXTINT |=0x04;                                 //clear interrupt
        VICVectAddr = 0; // Acknowledge Interrupt
}

void manual() // For blinking LEDs after 1sec delay.
{
IOSET0 =0x00000001;
timer0(2000);
IOCLR0 =0x00000001;
timer0(2000);
}

&lt;/pre&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My external inteerupt not working</title><link>https://community.arm.com/thread/126663?ContentTypeID=1</link><pubDate>Mon, 14 Feb 2011 01:59:48 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:89297cbc-f548-48e8-98a5-034f808a630a</guid><dc:creator>Heena Panchal</dc:creator><description>&lt;p&gt;&lt;p&gt;
i have also checked in debugging that interrupt is selected
...(keil debugger).&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My external inteerupt not working</title><link>https://community.arm.com/thread/126652?ContentTypeID=1</link><pubDate>Mon, 14 Feb 2011 01:56:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:40dfca87-aca1-40b4-ac3d-d3b805cc7237</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
So maybe your interrupt does work, but your interrupt handler
doesn&amp;#39;t acknowledge the interrupt?&lt;/p&gt;

&lt;p&gt;
You see - you haven&amp;#39;t shown us what your ISR looks like.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My external inteerupt not working</title><link>https://community.arm.com/thread/116235?ContentTypeID=1</link><pubDate>Mon, 14 Feb 2011 01:49:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5d242f43-43e3-47aa-b51a-d586f439b860</guid><dc:creator>Heena Panchal</dc:creator><description>&lt;p&gt;&lt;p&gt;
yes i have connected a wire to am giving high to low pulse..n m
checking the singal on port0.15.&lt;/p&gt;

&lt;p&gt;
and i have also timer to give delay ...so when i comment interrupt
part its running fine.&lt;br /&gt;
but when i start interrupt led doest glow..&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My external inteerupt not working</title><link>https://community.arm.com/thread/104592?ContentTypeID=1</link><pubDate>Mon, 14 Feb 2011 01:35:07 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5a8eb089-970e-490a-83d2-71f7533f3427</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Since we&amp;#39;re talking about an &lt;i&gt;external&lt;/i&gt; interupt, note that
includes &lt;b&gt;harware&lt;/b&gt; debugging - have you verified that a valid
signal is actually present at the required input pin...?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My external inteerupt not working</title><link>https://community.arm.com/thread/90840?ContentTypeID=1</link><pubDate>Mon, 14 Feb 2011 01:32:44 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4e52a898-dcf5-4cb6-b3ae-9301ded04e8d</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Remember: many parts of the world are still asleep at this
time!&lt;/p&gt;

&lt;p&gt;
After only 1 hour you&amp;#39;re getting impatient already?&lt;/p&gt;

&lt;p&gt;
This is a discussion forum - not a free consultancy service!&lt;br /&gt;
And, if you want an &lt;i&gt;express&lt;/i&gt; consultancy service, you must
expect to pay a premium for that!&lt;/p&gt;

&lt;p&gt;
Rather than just nagging, it would be more helpful if you would
actually supply some useful information about your problem.&lt;/p&gt;

&lt;p&gt;
You have just said that it &amp;quot;doesn&amp;#39;t work&amp;quot; - which is like saying,
&amp;quot;my car doesn&amp;#39;t work - what&amp;#39;s wrong with it&amp;quot;&lt;/p&gt;

&lt;p&gt;
What &lt;b&gt;debugging&lt;/b&gt; have you done to find out what&amp;#39;s actually
happening?&lt;/p&gt;

&lt;p&gt;
Have you studied the manufacturer&amp;#39;s &lt;b&gt;documentation&lt;/b&gt; for
guidance?&lt;/p&gt;

&lt;p&gt;
et, etc,...&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.8052.com/faqs/120313"&gt;www.8052.com/.../120313&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My external inteerupt not working</title><link>https://community.arm.com/thread/59166?ContentTypeID=1</link><pubDate>Mon, 14 Feb 2011 00:34:12 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:646580d2-fad4-4aa9-8660-d41cf1bf8312</guid><dc:creator>Heena Panchal</dc:creator><description>&lt;p&gt;&lt;p&gt;
can anyone pls help...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>