<?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: I need your help. plz. about interrupt.</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/I-need-your-help-plz-about-interrupt/m-p/134864#M1509</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Go the Freescsl web page for the MCF52233, located &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MCF52233&amp;amp;srch=1" rel="nofollow" target="_blank"&gt;here&lt;/A&gt;. Scroll down and you'll find an archive named Coldfire_TCIPI_Lite provided by InterNiche. The source contains some information on interrupt vectors that may be of use to you. Also, if you use the Codewarrior development tools, there are some example programs provided with them.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;---Tom&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Oct 2006 05:41:11 GMT</pubDate>
    <dc:creator>J2MEJediMaster</dc:creator>
    <dc:date>2006-10-31T05:41:11Z</dc:date>
    <item>
      <title>I need your help. plz. about interrupt.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/I-need-your-help-plz-about-interrupt/m-p/134863#M1508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm&amp;nbsp;graduated student in korea.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I need your help strongly!! for using coldfire interrupt handling especially in M52233DEMO board.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We're studying&amp;nbsp;how to handle the coldfire interrupt in M52233DEMO board for our class.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So, I tried to find something to&amp;nbsp;which I refer, but I didn't find any information about that.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Anybody, could you help me?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If anybody have any example for interrupt handling with M52233DEMO board, it will be very useful to me.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please.. Help me..&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;regards.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2006 02:41:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/I-need-your-help-plz-about-interrupt/m-p/134863#M1508</guid>
      <dc:creator>Jeremy</dc:creator>
      <dc:date>2006-10-31T02:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: I need your help. plz. about interrupt.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/I-need-your-help-plz-about-interrupt/m-p/134864#M1509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Go the Freescsl web page for the MCF52233, located &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MCF52233&amp;amp;srch=1" rel="nofollow" target="_blank"&gt;here&lt;/A&gt;. Scroll down and you'll find an archive named Coldfire_TCIPI_Lite provided by InterNiche. The source contains some information on interrupt vectors that may be of use to you. Also, if you use the Codewarrior development tools, there are some example programs provided with them.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;---Tom&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2006 05:41:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/I-need-your-help-plz-about-interrupt/m-p/134864#M1509</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2006-10-31T05:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: I need your help. plz. about interrupt.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/I-need-your-help-plz-about-interrupt/m-p/134865#M1510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi&lt;BR /&gt;&lt;BR /&gt;Here is one example which may help.&lt;BR /&gt;&lt;BR /&gt;1. Configure a peripheral to use an interrupt.&lt;BR /&gt;Here is a routine to set up the PIT timer 0 and enable its interrupt.&lt;BR /&gt;&lt;BR /&gt;extern void fnStartTick(void)&lt;BR /&gt;{&lt;BR /&gt;PIT_PCSR_0 = (PIT_PRESCALE | PIT_DBG | PIT_OVW | PIT_PIF | PIT_RLD); // prepare for load&lt;BR /&gt;PIT_PMR_0 = TICK_DIVIDE; // load interval value&lt;BR /&gt;&lt;BR /&gt;IC_ICR_0_55 = (INTERRUPT_LEVEL_4 | INTERRUPT_PRIORITY_0); // define interrupts level and priority&lt;BR /&gt;IC_IMRH_0 &amp;amp;= ~(PIT_0_PIF_INT_H | MASK_ALL_INT); // unmask interrupt source&lt;BR /&gt;&lt;BR /&gt;PIT_PCSR_0 = (PIT_PRESCALE | PIT_DBG | PIT_OVW | PIT_PIF | PIT_RLD | PIT_PIE | PIT_EN); // start PIT with interrupt enabled&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Notes: Each interrupt has an ICR where its level and priority is defined. Here they are 4 and 0 respectively. Then the interrupt source is unmasked (in IMRH). Finally the interrupt in the peripheral is enabled (how it is performed depends on the peripheral). You will need to read the users' manual (interrupt section and corresponding peripheral section). [Note that the user is responsible for avoiding more that one source using particular level/priority setting.]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2. The interrupt vector table must include the interrupt service routine.&lt;BR /&gt;&lt;BR /&gt;Here is a small extract from the interrupt vector table (MCF52235_vectors.s) where the handling routine has been set. The PIT 0 uses vector77 (see the users' manual to see which vectors are used by which interrupt)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vector74: .long _irq_handler&lt;BR /&gt;vector75: .long _irq_handler&lt;BR /&gt;vector76: .long _irq_handler&lt;BR /&gt;vector77: .long _RealTimeInterrupt /* TICK timer interrupt */&lt;BR /&gt;vector78: .long _irq_handler&lt;BR /&gt;vector79: .long _irq_handler&lt;BR /&gt;vector7A: .long _irq_handler&lt;BR /&gt;&lt;BR /&gt;3. Finally the interrupt routine must be programmed. It is called when the interrupt occurs and must usually also reset the interrupt so that it only enters once per interrupt. In the following example the first line resets the interrupt flag.&lt;BR /&gt;&lt;BR /&gt;/**************************** Real Time Clock interrupt ******************************************/&lt;BR /&gt;&lt;BR /&gt;__interrupt__ void RealTimeInterrupt(void)&lt;BR /&gt;{&lt;BR /&gt;PIT_PCSR_0 = (PIT_PRESCALE | PIT_DBG | PIT_OVW | PIT_PIF | PIT_RLD | PIT_PIE | PIT_EN); // Reset interrupt request flag&lt;BR /&gt;fnRtmkSystemTick(); // operating system tick&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As a student you qualify for free use of the uTasker operating system and integrated TCP/IP stack. Go to &lt;A href="https://community.nxp.com/www.uTasker.com" target="test_blank"&gt;www.uTasker.com&lt;/A&gt; and request an educational license and you can receive complete project code. The project runs on your M52233DEMO (you can also load the binary to test it immediately from &lt;A href="http://www.utasker.com/software/software.html" target="test_blank"&gt;http://www.utasker.com/software/software.html&lt;/A&gt; ). There is a tutorial at &lt;A href="http://www.utasker.com/docs/M5223X/uTaskerV1.2-Tutorial-M5223X.PDF" target="test_blank"&gt;http://www.utasker.com/docs/M5223X/uTaskerV1.2-Tutorial-M5223X.PDF&lt;/A&gt; with step-by-step instruction sfor the CodeWarrior and your board.&lt;BR /&gt;&lt;BR /&gt;To see what it does, visit an on-line demo here &lt;A href="http://212.254.22.36" target="test_blank"&gt;http://212.254.22.36&lt;/A&gt; and see it via web cam at &lt;A href="http://212.254.22.36:8080" target="test_blank"&gt;http://212.254.22.36:8080&lt;/A&gt;. You can Telnet it, control things via Browser, receive Emails from it etc...&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Mark&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/www.mjbc.ch" target="test_blank"&gt;www.mjbc.ch&lt;/A&gt; / &lt;A href="https://community.nxp.com/www.uTasker.com" target="test_blank"&gt;www.uTasker.com&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2006 08:29:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/I-need-your-help-plz-about-interrupt/m-p/134865#M1510</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2006-10-31T08:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: I need your help. plz. about interrupt.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/I-need-your-help-plz-about-interrupt/m-p/134866#M1511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello! I have a M52233DEMO with a NicheTask. I can't understand how to handle interrupts in the operating system running the tasks. Can somebody explain to me?&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 19:52:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/I-need-your-help-plz-about-interrupt/m-p/134866#M1511</guid>
      <dc:creator>ak_mnpp</dc:creator>
      <dc:date>2011-07-20T19:52:16Z</dc:date>
    </item>
  </channel>
</rss>

