<?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のトピックhow to setup Interrupt handler for UART0 for MCF5282 ColdFire Processor?</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/how-to-setup-Interrupt-handler-for-UART0-for-MCF5282-ColdFire/m-p/133686#M1288</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;Hello All,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;i am currently using MCF5282LITE EVB board and CodeWarrior IDE(Evaluation version) for development and debugging.&lt;/DIV&gt;&lt;DIV&gt;I am trying to use UART0 module in the interrupt mode:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have configured the ICR and IMR as per the info given in User's manual 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;, 13 being the vector number for UART0,&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, Guide me what are all the include files&lt;/DIV&gt;&lt;DIV&gt;from Freescale i should use to develop my code.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&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;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Apr 2006 11:20:06 GMT</pubDate>
    <dc:creator>Chandrashekar</dc:creator>
    <dc:date>2006-04-26T11:20:06Z</dc:date>
    <item>
      <title>how to setup Interrupt handler for UART0 for MCF5282 ColdFire Processor?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/how-to-setup-Interrupt-handler-for-UART0-for-MCF5282-ColdFire/m-p/133686#M1288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;Hello All,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;i am currently using MCF5282LITE EVB board and CodeWarrior IDE(Evaluation version) for development and debugging.&lt;/DIV&gt;&lt;DIV&gt;I am trying to use UART0 module in the interrupt mode:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have configured the ICR and IMR as per the info given in User's manual 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;, 13 being the vector number for UART0,&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, Guide me what are all the include files&lt;/DIV&gt;&lt;DIV&gt;from Freescale i should use to develop my code.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&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;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2006 11:20:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/how-to-setup-Interrupt-handler-for-UART0-for-MCF5282-ColdFire/m-p/133686#M1288</guid>
      <dc:creator>Chandrashekar</dc:creator>
      <dc:date>2006-04-26T11:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to setup Interrupt handler for UART0 for MCF5282 ColdFire Processor?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/how-to-setup-Interrupt-handler-for-UART0-for-MCF5282-ColdFire/m-p/133687#M1289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;go to the product site, and download their hearder/example files:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.freescale.com/files/netcomm/software/app_software/code_examples/MCF5282SC.zip" target="test_blank"&gt;http://www.freescale.com/files/netcomm/software/app_software/code_examples/MCF5282SC.zip&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;that should get you started. the way to set up interrupts with that code (assuming it is close to the mcf5213 includes) is the mcf5xxx_set_handler(vector#,function name) function.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2006 13:03:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/how-to-setup-Interrupt-handler-for-UART0-for-MCF5282-ColdFire/m-p/133687#M1289</guid>
      <dc:creator>airswit</dc:creator>
      <dc:date>2006-04-26T13:03:13Z</dc:date>
    </item>
  </channel>
</rss>

