<?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>problem LPC2148 VIC IRQ request</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/39942/problem-lpc2148-vic-irq-request</link><description> 
 Hi 

 
 the code given below needs to run the ISR when a cpature event
occurs. 
But on simulating the code and running it on debugger it doesnot
switch to irq mode and hence does not go to ISR for that
event. 

 
 I have tried running the simplest</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: problem LPC2148 VIC IRQ request</title><link>https://community.arm.com/thread/80662?ContentTypeID=1</link><pubDate>Tue, 16 Oct 2012 20:51:02 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0d64b830-886d-44ae-861a-4ef68b596b30</guid><dc:creator>Aparna p</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;b&gt;The problem is that the control doesnot go to the ISR routine
on an capture event.It works upto that : ISR address is loaded into
VICVect Address register. After that it doesnot go to IRQ
mode.&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;
Help in this direction is appreciated.&lt;/p&gt;

&lt;p&gt;
The code within the ISR is OK. It can be changed. That does&amp;#39;nt
matter.&lt;/p&gt;

&lt;p&gt;
Thanks&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem LPC2148 VIC IRQ request</title><link>https://community.arm.com/thread/67793?ContentTypeID=1</link><pubDate>Tue, 16 Oct 2012 04:59:52 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:32db0618-b6cd-430c-aa6c-ff22e52a6585</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
I can see that you have:&lt;/p&gt;

&lt;pre&gt;
    IODIR1 = 0x00FF0000;
    IOSET1 = 0xffff;
&lt;/pre&gt;

&lt;p&gt;
&lt;br /&gt;
Reading the user manual for the processor, I see that a &amp;#39;1&amp;#39; sets a
pin as output.&lt;br /&gt;
So you set:&lt;br /&gt;
P1.0..P1.15 as inputs&lt;br /&gt;
P1.16..P1.23 as outputs&lt;br /&gt;
P1.24..P1.31 as inputs.&lt;/p&gt;

&lt;p&gt;
Then you decide to set P1.0..P1.15 high - but you just informed
the processor that the pins are inputs...&lt;/p&gt;

&lt;p&gt;
How many other interesting things do you have in your code?&lt;/p&gt;

&lt;p&gt;
Maybe you should spend some time with the user manual for the
processor. Check every single line - and add proper comments. Right
now, it seems like the comment &amp;quot;/* LPC21xx definitions */&amp;quot; got there
by accident.&lt;/p&gt;

&lt;p&gt;
Come back when you have scanned every single source code line and
it seems to match the processor documentation. But this time, you
could decide to skip the &lt;b&gt;bold&lt;/b&gt; feature. It really isn&amp;#39;t
meaningful to make the full post bold...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>