<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LPC Microcontrollersのトピックlpc2388 interrupt is not working</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc2388-interrupt-is-not-working/m-p/833336#M33264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on RTC, I am getting a difference of 3 second, so i try to calibrate the RTC time, I had generate the 1Hz clock using a timer0, Interrupt Subroutine&amp;nbsp; is called when Timer Tick is equal to Match register value, code is working fine on simulator but not on my board,&amp;nbsp; code without interrupt&amp;nbsp; works fine on board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Routine code&amp;nbsp;&lt;/P&gt;&lt;P&gt;__irq void myTimer0_ISR (void)&amp;nbsp;&lt;BR /&gt;{&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;long int regval;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;regval = T0IR;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// RTC_Time set_time;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;RTC_SEC = RTC_SEC - 3;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;T0IR = ( T0IR | (0x01) ); &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;VICVectAddr&amp;nbsp; = 0x00;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;main&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(T0TC==T0MR0);&lt;BR /&gt; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// RTC_Get_Time();&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;VICVectAddr4 = (unsigned) myTimer0_ISR; &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;VICVectCntl4 = 0x00000024;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;VICIntEnable = 0x00000010;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;VICIntSelect = 0x00000000; &lt;BR /&gt; &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;//T0TCR = 0X00;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;What I missed here, Please suggest.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Sep 2018 05:01:07 GMT</pubDate>
    <dc:creator>mohammadfaizan</dc:creator>
    <dc:date>2018-09-18T05:01:07Z</dc:date>
    <item>
      <title>lpc2388 interrupt is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc2388-interrupt-is-not-working/m-p/833336#M33264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on RTC, I am getting a difference of 3 second, so i try to calibrate the RTC time, I had generate the 1Hz clock using a timer0, Interrupt Subroutine&amp;nbsp; is called when Timer Tick is equal to Match register value, code is working fine on simulator but not on my board,&amp;nbsp; code without interrupt&amp;nbsp; works fine on board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Routine code&amp;nbsp;&lt;/P&gt;&lt;P&gt;__irq void myTimer0_ISR (void)&amp;nbsp;&lt;BR /&gt;{&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;long int regval;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;regval = T0IR;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// RTC_Time set_time;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;RTC_SEC = RTC_SEC - 3;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;T0IR = ( T0IR | (0x01) ); &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;VICVectAddr&amp;nbsp; = 0x00;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;main&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(T0TC==T0MR0);&lt;BR /&gt; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// RTC_Get_Time();&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;VICVectAddr4 = (unsigned) myTimer0_ISR; &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;VICVectCntl4 = 0x00000024;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;VICIntEnable = 0x00000010;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;VICIntSelect = 0x00000000; &lt;BR /&gt; &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;//T0TCR = 0X00;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;What I missed here, Please suggest.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 05:01:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc2388-interrupt-is-not-working/m-p/833336#M33264</guid>
      <dc:creator>mohammadfaizan</dc:creator>
      <dc:date>2018-09-18T05:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: lpc2388 interrupt is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc2388-interrupt-is-not-working/m-p/833337#M33265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2018 06:16:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc2388-interrupt-is-not-working/m-p/833337#M33265</guid>
      <dc:creator>mohammadfaizan</dc:creator>
      <dc:date>2018-09-24T06:16:02Z</dc:date>
    </item>
  </channel>
</rss>

