<?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: 52259 in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/52259/m-p/193839#M8524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you enabled interrupts to the processor core? That is, changed the SR from x7xx to x0xx ? (_asm_int_on() or similar)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Mar 2011 23:25:19 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2011-03-28T23:25:19Z</dc:date>
    <item>
      <title>52259</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/52259/m-p/193838#M8523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt;My board is MCF52259DEMOMCU&lt;/SPAN&gt;&lt;P&gt;I tried many times to get interrupt controller trapped but no use.&lt;/P&gt;&lt;SPAN&gt;The PIT0 has worked since I check its counter and see the flag on. But it hasn't jumped into exception vector. I cannot do anything because the interrupt isn't executed as it should be!&lt;/SPAN&gt;&lt;P&gt;Could someone tell me why? Thanks!&lt;/P&gt;&lt;PRE&gt;void test_timer() { // enable interrupt // PIT0 - 55 MCF_INTC0_ICR55 = MCF_INTC_ICR_IL(5) | MCF_INTC_ICR_IP(5); MCF_INTC0_IMRH &amp;amp;= ~(MCF_INTC_IMRH_INT_MASK55 | MCF_INTC_IMRL_MASKALL); //config timer MCF_PIT0_PCSR = 0; MCF_PIT0_PCSR = MCF_PIT_PCSR_EN | MCF_PIT_PCSR_PIE | MCF_PIT_PCSR_PRE(0); }int main(void){ int counter = 0; __initialize_hardware(); test_timer();#if (CONSOLE_IO_SUPPORT || ENABLE_UART_SUPPORT)&amp;nbsp; printf("Hello World in C from MCF52259 derivative on MCF52259 board\n\r");#endif for(;;) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter++; }}&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:48:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/52259/m-p/193838#M8523</guid>
      <dc:creator>fafvin</dc:creator>
      <dc:date>2020-10-29T09:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: 52259</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/52259/m-p/193839#M8524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you enabled interrupts to the processor core? That is, changed the SR from x7xx to x0xx ? (_asm_int_on() or similar)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 23:25:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/52259/m-p/193839#M8524</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2011-03-28T23:25:19Z</dc:date>
    </item>
  </channel>
</rss>

