<?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>S12 / MagniV Microcontrollersのトピック9S12XDP512 - Spurious interrupt</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9S12XDP512-Spurious-interrupt/m-p/127934#M795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN style="font-size: 3;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 3;"&gt;I'm have a problem with spurious interrupt in a 9S12XDP512 processor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 3;"&gt;I have two interrupts that some times occurs at the same time (XINT and PIT1).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 3;"&gt;Looking with the scope I realized that when they occur at the same time XINT ISR is runned and the PIT1 ISR gives me a spurious interrupt.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 3;"&gt;What can I do to make the processor run the PIT1 ISR after it ends the XINT ISR?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;--&lt;BR /&gt;&lt;SPAN style="font-size: 2;"&gt;Alban Edit: Part number in subject line.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by Alban on &lt;SPAN class="date_text"&gt;2007-03-26&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;01:18 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2007 18:41:04 GMT</pubDate>
    <dc:creator>Ermin</dc:creator>
    <dc:date>2007-03-26T18:41:04Z</dc:date>
    <item>
      <title>9S12XDP512 - Spurious interrupt</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9S12XDP512-Spurious-interrupt/m-p/127934#M795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN style="font-size: 3;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 3;"&gt;I'm have a problem with spurious interrupt in a 9S12XDP512 processor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 3;"&gt;I have two interrupts that some times occurs at the same time (XINT and PIT1).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 3;"&gt;Looking with the scope I realized that when they occur at the same time XINT ISR is runned and the PIT1 ISR gives me a spurious interrupt.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 3;"&gt;What can I do to make the processor run the PIT1 ISR after it ends the XINT ISR?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;--&lt;BR /&gt;&lt;SPAN style="font-size: 2;"&gt;Alban Edit: Part number in subject line.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by Alban on &lt;SPAN class="date_text"&gt;2007-03-26&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;01:18 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 18:41:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9S12XDP512-Spurious-interrupt/m-p/127934#M795</guid>
      <dc:creator>Ermin</dc:creator>
      <dc:date>2007-03-26T18:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: 9S12XDP512 - Spurious interrupt</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9S12XDP512-Spurious-interrupt/m-p/127935#M796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;What should happen is the XINT interrupt should be called by the hardware and set the I bit in the CCR.&amp;nbsp; This will prevent all maskable interrupts.&amp;nbsp; The XINT ISR should end with a rti instruction which will restore the previous state of the CCR.&amp;nbsp; If the I bit was clear before the XINT interrupt, it should now be clear, and the PIT1 interrupt should be taken.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You should be able to monitor the state of the I bit through this process by placing breakpoints.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Are you clearing the I bit in your startup code to enable interrupts?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 23:35:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9S12XDP512-Spurious-interrupt/m-p/127935#M796</guid>
      <dc:creator>StephenRussell</dc:creator>
      <dc:date>2007-03-26T23:35:05Z</dc:date>
    </item>
  </channel>
</rss>

