<?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: Query related to ISR - MCF5282 Coldfire in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Query-related-to-ISR-MCF5282-Coldfire/m-p/133433#M1252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;well, you have to set up the interrupt controller module:&lt;BR /&gt;&lt;BR /&gt;set up the IMR bit for UART0&lt;BR /&gt;set up the ICR register for UART0&lt;BR /&gt;and, if you are using codewarrior and the include files from freescale, the mcf5xxx_set_handler() function should be available to use.&lt;BR /&gt;&lt;BR /&gt;You also need to set up the uart module to enable interrupts, i believe.&lt;BR /&gt;&lt;BR /&gt;hope some of that helps,&lt;BR /&gt;Trevor&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Apr 2006 22:45:01 GMT</pubDate>
    <dc:creator>airswit</dc:creator>
    <dc:date>2006-04-24T22:45:01Z</dc:date>
    <item>
      <title>Query related to ISR - MCF5282 Coldfire</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Query-related-to-ISR-MCF5282-Coldfire/m-p/133432#M1251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I am writing Interrupt service routine to handle UART0 interrupt,&lt;/DIV&gt;&lt;DIV&gt;i want to know how i can map my ISR into the interrupt vector table, so that&lt;/DIV&gt;&lt;DIV&gt;when UART0 interrupt occurs it should execute my ISR.&lt;/DIV&gt;&lt;DIV&gt;Can anybody suggest me what are all the things i should configure for this&lt;/DIV&gt;&lt;DIV&gt;(i.e enabling/disabling some bits in SFR's and the files involved to do this like vector.s and so on),&lt;/DIV&gt;&lt;DIV&gt;I went thro' the Users manual of MCF5282, but i am little bit confused about&lt;/DIV&gt;&lt;DIV&gt;configuring my routine,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If there's any example about ISR mapping to Vector table it would be helpful.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Manjunath Chandrashekar&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2006 18:11:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Query-related-to-ISR-MCF5282-Coldfire/m-p/133432#M1251</guid>
      <dc:creator>Chandrashekar</dc:creator>
      <dc:date>2006-04-24T18:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Query related to ISR - MCF5282 Coldfire</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Query-related-to-ISR-MCF5282-Coldfire/m-p/133433#M1252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;well, you have to set up the interrupt controller module:&lt;BR /&gt;&lt;BR /&gt;set up the IMR bit for UART0&lt;BR /&gt;set up the ICR register for UART0&lt;BR /&gt;and, if you are using codewarrior and the include files from freescale, the mcf5xxx_set_handler() function should be available to use.&lt;BR /&gt;&lt;BR /&gt;You also need to set up the uart module to enable interrupts, i believe.&lt;BR /&gt;&lt;BR /&gt;hope some of that helps,&lt;BR /&gt;Trevor&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2006 22:45:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Query-related-to-ISR-MCF5282-Coldfire/m-p/133433#M1252</guid>
      <dc:creator>airswit</dc:creator>
      <dc:date>2006-04-24T22:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Query related to ISR - MCF5282 Coldfire</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Query-related-to-ISR-MCF5282-Coldfire/m-p/133434#M1253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;Thank you for the information and i need few more clarifications from you,&lt;/DIV&gt;&lt;DIV&gt;i am currently using MCF5282LITE EVB board and unable to find the necessary&lt;/DIV&gt;&lt;DIV&gt;include files from Freescale(as stated by you).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I configured the ICR and IMR as suggested by you and&lt;/DIV&gt;&lt;DIV&gt;I am&amp;nbsp;calling the below function in my application&lt;/DIV&gt;&lt;DIV&gt;setup_handler(64 + 13);//For UART0&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;but the interrupt is not getting invoked, i don't know what's wrong with my code.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;void setup_handler(unsigned short vec_index)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;unsigned long **autovector = (unsigned long **)0x20000000;&amp;nbsp; // The Vector Base Address&amp;nbsp;&lt;BR /&gt;&amp;nbsp;*(autovector + vec_index)&amp;nbsp; = (unsigned long *) &amp;amp;SCI1_tx_ISR;&amp;nbsp;&lt;BR /&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Actually i am using vector.s, int_handlers.c files for handling interrupts,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;can you guide me how to go about it,&lt;/DIV&gt;&lt;DIV&gt;if i get those include files to be used, it would be helpful.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Chandrashekar&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 12:07:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Query-related-to-ISR-MCF5282-Coldfire/m-p/133434#M1253</guid>
      <dc:creator>Chandrashekar</dc:creator>
      <dc:date>2006-04-25T12:07:08Z</dc:date>
    </item>
  </channel>
</rss>

