<?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: Task with priority 8 and kernel isr how works the system? in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Task-with-priority-8-and-kernel-isr-how-works-the-system/m-p/158636#M983</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The kernel isr is not handled by MQX at all - it &lt;STRONG&gt;must not&lt;/STRONG&gt; call any MQX function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should pass information to other tasks (if required) by an application-implemented mechanism (usually&lt;BR /&gt;ring buffers with head and tail pointers and total size fields).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more information see Reference Manual chapter:&lt;/P&gt;&lt;P&gt;2.1.45 _int_install_kernel_isr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PetrL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Nov 2010 04:01:36 GMT</pubDate>
    <dc:creator>PetrL</dc:creator>
    <dc:date>2010-11-01T04:01:36Z</dc:date>
    <item>
      <title>Task with priority 8 and kernel isr how works the system?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Task-with-priority-8-and-kernel-isr-how-works-the-system/m-p/158634#M981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a system that works with MQX RTOS 3.5 on Coldifire MCF52259 one task always active with priority 8 plus a kernel isr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TASK_TEMPLATE_STRUCT MQX_template_list[] =&lt;BR /&gt;{&lt;BR /&gt;//&amp;nbsp; Task number, Entry point, Stack, Pri, String, Auto?&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; { MAIN_TASK, Main_task,&amp;nbsp;&amp;nbsp; 5000,&amp;nbsp; 8,&amp;nbsp;&amp;nbsp; "main_prof", MQX_AUTO_START_TASK, 0L, 0},&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; { 0,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,&amp;nbsp;&amp;nbsp; 0,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0, 0L, 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#define GPT0_INTERRUPT_LEVEL&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7&lt;BR /&gt;#define GPT0_INTERRUPT_PRIORITY&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;_int_install_kernel_isr(MCF5225_INT_TIMA_C0F,(void (_CODE_PTR_)(void))isrINT_CF0);&lt;BR /&gt;&lt;BR /&gt;_mcf5225_int_init(MCF5225_INT_TIMA_C0F,GPT0_INTERRUPT_LEVEL,GPT0_INTERRUPT_PRIORITY,TRUE);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With this configuration, when my hw interrupt starts, the system blocks the task and execute the interrupt or I need to use task queue inside interrupt kernel for suspending the task?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 20:38:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Task-with-priority-8-and-kernel-isr-how-works-the-system/m-p/158634#M981</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2010-10-27T20:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Task with priority 8 and kernel isr how works the system?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Task-with-priority-8-and-kernel-isr-how-works-the-system/m-p/158635#M982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reading the MQX User guide I see&amp;nbsp; there are restrictions on ISRs, so if I use a kernel interrupt I can't use _taskq_suspend()&lt;BR /&gt;_taskq_suspend_task()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;these restrictions are valid also for kernel interrupts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 22:24:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Task-with-priority-8-and-kernel-isr-how-works-the-system/m-p/158635#M982</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2010-10-27T22:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Task with priority 8 and kernel isr how works the system?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Task-with-priority-8-and-kernel-isr-how-works-the-system/m-p/158636#M983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The kernel isr is not handled by MQX at all - it &lt;STRONG&gt;must not&lt;/STRONG&gt; call any MQX function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should pass information to other tasks (if required) by an application-implemented mechanism (usually&lt;BR /&gt;ring buffers with head and tail pointers and total size fields).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more information see Reference Manual chapter:&lt;/P&gt;&lt;P&gt;2.1.45 _int_install_kernel_isr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PetrL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 04:01:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Task-with-priority-8-and-kernel-isr-how-works-the-system/m-p/158636#M983</guid>
      <dc:creator>PetrL</dc:creator>
      <dc:date>2010-11-01T04:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Task with priority 8 and kernel isr how works the system?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Task-with-priority-8-and-kernel-isr-how-works-the-system/m-p/158637#M984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shinji,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am having difficulty getting my kernel interrupt working for me, I do not know how/what to save/restore before and after my function call in kernel ISR, I was wondering if you could explain to me about your approach on how you are doing your kernel ISR?&lt;/P&gt;&lt;P&gt;Thanks;&lt;/P&gt;&lt;P&gt;Geek19&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 02:41:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Task-with-priority-8-and-kernel-isr-how-works-the-system/m-p/158637#M984</guid>
      <dc:creator>Geek19</dc:creator>
      <dc:date>2012-08-09T02:41:43Z</dc:date>
    </item>
  </channel>
</rss>

