<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックMCF5235 Interrupt Vector 191</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5235-Interrupt-Vector-191/m-p/164698#M5574</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using a MCF5235 processor with the eTPU loaded with the Freescale Set1 and Tpu channels 0 through 7&amp;nbsp; programmed as GPIO.&lt;BR /&gt;&lt;BR /&gt;If we raise more than one of the first 8 eTpu inputs simulataneously (inputs are wired together) the processor takes vector 191 (VBR + 0x2FC)&lt;BR /&gt;&lt;BR /&gt;Vector 191 is INTC1 source 63 which according to the RM rev 1.1 on page 13-18 is "Not used".&lt;BR /&gt;&lt;BR /&gt;Obviously this is not the case.&lt;BR /&gt;Can someone tell us what the interrupt means and why it might occur.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I filed SR 1-782546511 on Thu 25-Aug-2011 but as of today (5-Sep-11) the SR has not been assigned to anyone.&lt;/P&gt;&lt;P&gt;Perhaps the forum can do better? &lt;SPAN aria-label="Wink" class="emoticon-inline emoticon_wink" style="height:16px;width:16px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hoping that someone can help us,&lt;/P&gt;&lt;P&gt;best wishes,&lt;/P&gt;&lt;P&gt;Ahlan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Sep 2011 21:47:06 GMT</pubDate>
    <dc:creator>Ahlan</dc:creator>
    <dc:date>2011-09-05T21:47:06Z</dc:date>
    <item>
      <title>MCF5235 Interrupt Vector 191</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5235-Interrupt-Vector-191/m-p/164698#M5574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using a MCF5235 processor with the eTPU loaded with the Freescale Set1 and Tpu channels 0 through 7&amp;nbsp; programmed as GPIO.&lt;BR /&gt;&lt;BR /&gt;If we raise more than one of the first 8 eTpu inputs simulataneously (inputs are wired together) the processor takes vector 191 (VBR + 0x2FC)&lt;BR /&gt;&lt;BR /&gt;Vector 191 is INTC1 source 63 which according to the RM rev 1.1 on page 13-18 is "Not used".&lt;BR /&gt;&lt;BR /&gt;Obviously this is not the case.&lt;BR /&gt;Can someone tell us what the interrupt means and why it might occur.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I filed SR 1-782546511 on Thu 25-Aug-2011 but as of today (5-Sep-11) the SR has not been assigned to anyone.&lt;/P&gt;&lt;P&gt;Perhaps the forum can do better? &lt;SPAN aria-label="Wink" class="emoticon-inline emoticon_wink" style="height:16px;width:16px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hoping that someone can help us,&lt;/P&gt;&lt;P&gt;best wishes,&lt;/P&gt;&lt;P&gt;Ahlan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 21:47:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5235-Interrupt-Vector-191/m-p/164698#M5574</guid>
      <dc:creator>Ahlan</dc:creator>
      <dc:date>2011-09-05T21:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: MCF5235 Interrupt Vector 191</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5235-Interrupt-Vector-191/m-p/164699#M5575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check all of the Interrupt Pending registers to see what the interrupt controllers think they're doing. Check both IRLRn﻿ and IACKLPRn registers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;13.2.1.6 Interrupt Control Register (ICRnx, (x = 1, 2,..., 63))﻿&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Each ICRnx specifies the interrupt level (1–7) and the priority within the level (0–7). All ICRnx&lt;/FONT&gt; &lt;FONT face="courier new,courier"&gt;registers can be read, but only ICRn8 to ICRn63 can be written. It is the responsibility of the&lt;/FONT&gt; &lt;FONT face="courier new,courier"&gt;software to program the ICRnx registers with unique and non-overlapping level and priority&lt;/FONT&gt; &lt;FONT face="courier new,courier"&gt;definitions. Failure to program the ICRnx registers in this manner &lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;can result in undefined behavior&lt;/STRONG&gt;&lt;/FONT&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Multiple TPU interrupts at the same priority/level could be causing this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's nothing in the errata for this chip matching this problem, but read SECF180 in the MCF5208 Errata and make sure you're not triggering any Spurious Interrupts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom (A Random Poster)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 07:20:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5235-Interrupt-Vector-191/m-p/164699#M5575</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2011-09-06T07:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: MCF5235 Interrupt Vector 191</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5235-Interrupt-Vector-191/m-p/164700#M5576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thread from 2009, same cause:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/51128#51128" title="https://community.freescale.com/message/51128#51128"&gt;https://community.freescale.com/message/51128#51128&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 16:10:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5235-Interrupt-Vector-191/m-p/164700#M5576</guid>
      <dc:creator>MrBean</dc:creator>
      <dc:date>2011-09-06T16:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: MCF5235 Interrupt Vector 191</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5235-Interrupt-Vector-191/m-p/164701#M5577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to TomE and Mr Bean for solving this problem!&lt;/P&gt;&lt;P&gt;Indeed simultaneously raising interrupts that have the same level/priority causes the processor to take an illegal vector.&lt;/P&gt;&lt;P&gt;Strangely it was always 191 - and sad that Freescale doesn't document this problem more clearly and that no-one at Freescale could be bothered to reply to my SR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks to the Forum :smileyhappy:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The coding error stems from our porting the application from CPU32 where the TPU generated the interrupt vector of the lowest numbered channel when multiple interrupt requests were present.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think it is a definite weakness of Coldfire that the ICR level/priority has to be unique and even worse that if it isn't then unspecified nasty things happen!.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MfG&lt;/P&gt;&lt;P&gt;Ahlan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 19:32:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5235-Interrupt-Vector-191/m-p/164701#M5577</guid>
      <dc:creator>Ahlan</dc:creator>
      <dc:date>2011-09-06T19:32:10Z</dc:date>
    </item>
  </channel>
</rss>

