<?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>topic Re: M5223X Edge Port interrupt priorities in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M5223X-Edge-Port-interrupt-priorities/m-p/145753#M3139</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Simon&lt;BR /&gt;&lt;BR /&gt;Thanks for your input.&lt;BR /&gt;&lt;BR /&gt;I am tending to believe the same (and am preparing to modify some code to suit).&lt;BR /&gt;So if no one can convince of the opposite - or of couse an expert can confirm (which would be the best case) - it looks as though this will become the definitive answer....&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Mark&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Sep 2007 01:31:51 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2007-09-15T01:31:51Z</dc:date>
    <item>
      <title>M5223X Edge Port interrupt priorities</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M5223X-Edge-Port-interrupt-priorities/m-p/145751#M3137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to clear up an issue with Edge Ports on M5223X.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The user manual states that the edge port consists of IRQ line 1..7, but there are 2 edge port control registers and all together IRQ1..15. I am assuming that there are this really 15 edge ports as defined.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is stated that the edge port have a fixed mid point priority (0x8) for IRQ1..7, where the user can still define an interrupt level (1..7). No two interrupt sources should have the same level/prioity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This means that if IRQ1..IRQ7 are used, each must have a differnet priority level from 1..7 and the one with level 7 will in effect become a NMI (can not be masked).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has this been understood correctly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The thing which is giving a bit of confusion is to do with the IRQ8..15 interrupts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are these also assigned a fixed mid pint priority or can the user define any mix of level and priority?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It does in fact seem logical that they are free since the IRQ1..7 would have already used up all the mid-level priority/level combinations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But can any one give a definite answer??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark Butcher&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 20:08:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M5223X-Edge-Port-interrupt-priorities/m-p/145751#M3137</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2007-09-13T20:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: M5223X Edge Port interrupt priorities</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M5223X-Edge-Port-interrupt-priorities/m-p/145752#M3138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hi Mark&lt;BR /&gt;&lt;BR /&gt;This is definitely NOT a definitive answer, but my reading is the same as yours. IRQ1-7 have fixed priorities, but IRQ8-15 are free and can be configured through Interrupt Controller 1 to have any levels / priorities.&lt;BR /&gt;&lt;BR /&gt;As supporting evidence, I notice that there are 8 IRQs for the second EdgePort, and only 7 for the first. Since there is no level 8, I think they must be configurable.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Simon&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2007 22:14:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M5223X-Edge-Port-interrupt-priorities/m-p/145752#M3138</guid>
      <dc:creator>SimonMarsden_de</dc:creator>
      <dc:date>2007-09-14T22:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: M5223X Edge Port interrupt priorities</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M5223X-Edge-Port-interrupt-priorities/m-p/145753#M3139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Simon&lt;BR /&gt;&lt;BR /&gt;Thanks for your input.&lt;BR /&gt;&lt;BR /&gt;I am tending to believe the same (and am preparing to modify some code to suit).&lt;BR /&gt;So if no one can convince of the opposite - or of couse an expert can confirm (which would be the best case) - it looks as though this will become the definitive answer....&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Mark&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Sep 2007 01:31:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M5223X-Edge-Port-interrupt-priorities/m-p/145753#M3139</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2007-09-15T01:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: M5223X Edge Port interrupt priorities</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M5223X-Edge-Port-interrupt-priorities/m-p/145754#M3140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Mark, Simon,&lt;BR /&gt;&lt;BR /&gt;For IRQ1-7, you can't change priorities, neither levels, as long as Interrupt Control Registers (ICRn) 1 to 7 are Read Only registers (Reference Manual, 15.3.6), and Edge Port interrupts 1 to 7 are located at ICR0.1 to ICR0.7 (RM, 15.3.6.1).&lt;BR /&gt;By default, they are allocated at corresponding levels: IRQ1»level1; IRQ2»level2; ... (RM 15.1.1)&lt;BR /&gt;It's the same for ICR1.1-7, though those register have not any interrupt source associated.&lt;BR /&gt;On the other hand, Edge Port Interrupts 8 to 15 are related with ICR1.32 to ICR1.39 (RM, Table15-14), and thus, you can change levels and priorities for IRQ8 to 15.&lt;BR /&gt;&lt;BR /&gt;There are not NMI in this Coldfire. All interrupts are source-maskable (IMRHn and IMRLn, at RM15.3.2), where the interrupt source is maked, regardless of levels and priorities.&lt;BR /&gt;Anyway, all interrupts at defined at level 7 have more priority than any program or interrupt routine (RM15.31), thus their code will be executed always the interrupt is not masked at IMRH/Ln register.&lt;BR /&gt;&lt;BR /&gt;As far as I know&lt;BR /&gt;don't loose your head,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.citcea.upc.edu" rel="nofollow" target="_blank"&gt;Oriol&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 22:14:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M5223X-Edge-Port-interrupt-priorities/m-p/145754#M3140</guid>
      <dc:creator>Oriol_CiTCEA</dc:creator>
      <dc:date>2007-09-17T22:14:35Z</dc:date>
    </item>
  </channel>
</rss>

