<?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のトピックRe: Exception processing</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Exception-processing/m-p/214267#M10738</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; What must i do to be sure that one ISR, for exemple TMP3_OVF ,&amp;nbsp; can be interrupted by others ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're in luck. The Coldfire is very good at that. It uses different interrupt PRIORITIES, and higher level priority interrupts can interrupt the lower ones.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have to enable the individual interrupts in the interrupt controller for all of your sources.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then list your sources in priority order, and program them in the interrupt controller with levels 1 to 6.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You don't have to do anything else. The higher level ones will automatically interrupt the lower priority ones.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's a fair bit of setting up the controllers. Download some samples and read them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Read the WHOLE of the "Interrupt Controller Module" in the Reference Manual for the chip. I'm reading the MCF5329 manual, but they should all be similar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "Table of Interrupt Sources" is very important, especially the "Flag Clearing Mechanism" column. The first thing ewach of your interrupt service routines must do is the "flag clearing operation" for the particular source.&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;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Read the&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jul 2010 19:07:21 GMT</pubDate>
    <dc:creator>TomE</dc:creator>
    <dc:date>2010-07-22T19:07:21Z</dc:date>
    <item>
      <title>Exception processing</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Exception-processing/m-p/214266#M10737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi hall.&lt;/P&gt;&lt;P&gt;I'm working on a MCF51AC256.&lt;/P&gt;&lt;P&gt;ColdFire V1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've just experience with HCS08 (DZ60). I have made a very small RT system on I.&lt;/P&gt;&lt;P&gt;On HSC08, If you put "asm CLI" in the ISR, you can "preempt" it (the isr can be interrupted).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On a Coldfire, the Exception processing is more complex and i have some difficulty to do what i want...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my application:&lt;/P&gt;&lt;P&gt;- i only run as supervisor&lt;/P&gt;&lt;P&gt;- I just use module ISR (FTM, SCI...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What must i do to be sure that one ISR, for exemple TMP3_OVF ,&amp;nbsp; can be interrupted by others ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank's in advance for your reply.&lt;/P&gt;&lt;P&gt;Iko.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 20:56:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Exception-processing/m-p/214266#M10737</guid>
      <dc:creator>Iko</dc:creator>
      <dc:date>2010-07-21T20:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Exception processing</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Exception-processing/m-p/214267#M10738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; What must i do to be sure that one ISR, for exemple TMP3_OVF ,&amp;nbsp; can be interrupted by others ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're in luck. The Coldfire is very good at that. It uses different interrupt PRIORITIES, and higher level priority interrupts can interrupt the lower ones.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have to enable the individual interrupts in the interrupt controller for all of your sources.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then list your sources in priority order, and program them in the interrupt controller with levels 1 to 6.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You don't have to do anything else. The higher level ones will automatically interrupt the lower priority ones.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's a fair bit of setting up the controllers. Download some samples and read them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Read the WHOLE of the "Interrupt Controller Module" in the Reference Manual for the chip. I'm reading the MCF5329 manual, but they should all be similar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "Table of Interrupt Sources" is very important, especially the "Flag Clearing Mechanism" column. The first thing ewach of your interrupt service routines must do is the "flag clearing operation" for the particular source.&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;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Read the&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 19:07:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Exception-processing/m-p/214267#M10738</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2010-07-22T19:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Exception processing</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Exception-processing/m-p/214268#M10739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi TomE.&lt;/P&gt;&lt;P&gt;Tanks for this answer. this help me a lot!&lt;/P&gt;&lt;P&gt;I'll follow your tips.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Merci beaucoup (i'm french &lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" id="smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Iko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jul 2010 14:28:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Exception-processing/m-p/214268#M10739</guid>
      <dc:creator>Iko</dc:creator>
      <dc:date>2010-07-24T14:28:15Z</dc:date>
    </item>
  </channel>
</rss>

