<?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のトピックClarification for MCF5282LITE EVB include files and ISR</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Clarification-for-MCF5282LITE-EVB-include-files-and-ISR/m-p/133508#M1266</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;Hello Trevor,&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;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Apr 2006 12:11:42 GMT</pubDate>
    <dc:creator>Chandrashekar</dc:creator>
    <dc:date>2006-04-25T12:11:42Z</dc:date>
    <item>
      <title>Clarification for MCF5282LITE EVB include files and ISR</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Clarification-for-MCF5282LITE-EVB-include-files-and-ISR/m-p/133508#M1266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;Hello Trevor,&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;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 12:11:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Clarification-for-MCF5282LITE-EVB-include-files-and-ISR/m-p/133508#M1266</guid>
      <dc:creator>Chandrashekar</dc:creator>
      <dc:date>2006-04-25T12:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification for MCF5282LITE EVB include files and ISR</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Clarification-for-MCF5282LITE-EVB-include-files-and-ISR/m-p/133509#M1267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;To get UART interrupts, you need to insure that:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;1) the desired interrupts are enabled in the UART module&lt;/DIV&gt;&lt;DIV&gt;2) the interrupt controller is setup to allow UART interrupts (ICRn, IMR)&lt;/DIV&gt;&lt;DIV&gt;3) the appropriate handler pointer is loaded into the appropriate vector in the vector table&lt;/DIV&gt;&lt;DIV&gt;4) the core's interrupt level in the status register (SR) is equal to or below the interrupt level programmed into the ICRn&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2006 04:08:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Clarification-for-MCF5282LITE-EVB-include-files-and-ISR/m-p/133509#M1267</guid>
      <dc:creator>mnorman</dc:creator>
      <dc:date>2006-04-28T04:08:51Z</dc:date>
    </item>
  </channel>
</rss>

