<?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>Kinetis Design Studio中的主题 PE, Round Robin</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/PE-Round-Robin/m-p/395073#M2495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's the recommended way of creating an MQx task in KDS? I was expecting it to be through OS_Task in the component library via processor expert. However, I want to create a time sliced task but processor expert seems to only support the attribute for 'Floating point task'. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a field to wedge the MQX_TIME_SLICE_TASK attribute or do I forget about using PE for tasks and create them manually?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jun 2015 00:35:16 GMT</pubDate>
    <dc:creator>rajbatra</dc:creator>
    <dc:date>2015-06-12T00:35:16Z</dc:date>
    <item>
      <title>PE, Round Robin</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/PE-Round-Robin/m-p/395073#M2495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's the recommended way of creating an MQx task in KDS? I was expecting it to be through OS_Task in the component library via processor expert. However, I want to create a time sliced task but processor expert seems to only support the attribute for 'Floating point task'. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a field to wedge the MQX_TIME_SLICE_TASK attribute or do I forget about using PE for tasks and create them manually?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 00:35:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/PE-Round-Robin/m-p/395073#M2495</guid>
      <dc:creator>rajbatra</dc:creator>
      <dc:date>2015-06-12T00:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: PE, Round Robin</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/PE-Round-Robin/m-p/395074#M2496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MQX creates a task template structure as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;const TASK_TEMPLATE_STRUCT&amp;nbsp; MQX_template_list[] =&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; /* Task Index,&amp;nbsp;&amp;nbsp; Function,&amp;nbsp;&amp;nbsp; Stack,&amp;nbsp; Priority, Name,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Attributes,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Param, Time Slice */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; { WORLD_TASK,&amp;nbsp;&amp;nbsp; world_task, 700,&amp;nbsp;&amp;nbsp; 9,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "world",&amp;nbsp; MQX_AUTO_START_TASK, 0,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 },&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; { HELLO_TASK,&amp;nbsp;&amp;nbsp; hello_task, 700,&amp;nbsp;&amp;nbsp; 8,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "hello",&amp;nbsp; 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; 0,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 },&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; { 0 }&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last element of each structure is the time slice. If you set this value the scheduling policy will be Round Robin, if not it is FIFO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using classic MQX please see&amp;nbsp; chapter 3.4.2 Round Robin Scheduling of MQX_User_Guide.pdf located in C:\Freescale\Freescale_MQX_4_2\doc\mqx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using MQX for KSDK you must see at the same chapter of MQX RTOS for Kinetis SDK User's Guide.pdf located in C:\Freescale\KSDK_1.2.0\doc\rtos\mqx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 17:01:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/PE-Round-Robin/m-p/395074#M2496</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2015-06-23T17:01:20Z</dc:date>
    </item>
  </channel>
</rss>

