<?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 Software Development KitのトピックRe: MQX_KSDK_1.0.0 with PE and fsl_uart auto initialization</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/MQX-KSDK-1-0-0-with-PE-and-fsl-uart-auto-initialization/m-p/355091#M527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello William,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the error from your screenshot ，it can config here :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="13.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46353i5F1F49F8C77F893A/image-size/large?v=v2&amp;amp;px=999" role="button" title="13.png" alt="13.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your question, i think you can&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; uncheck the "Auto Initialization" box , then program the uart_initial by yourself refer to your need.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope it helps &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Alice&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Sep 2014 06:06:57 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2014-09-30T06:06:57Z</dc:date>
    <item>
      <title>MQX_KSDK_1.0.0 with PE and fsl_uart auto initialization</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/MQX-KSDK-1-0-0-with-PE-and-fsl-uart-auto-initialization/m-p/355090#M526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I have created a MQX KSDK plus Processor Expert project using MXQ_KSDK_1.0.0 for the FRDM-K64F board following the tutorial &lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="2023" data-containertype="14" data-objectid="330292" data-objecttype="1" href="https://community.nxp.com/thread/330292#433784"&gt;MQX with KSDK and Processor Expert&lt;/A&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;. If I add a fsl_uart component it has the "Auto Initialization" checked by default:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="15226_15226.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119987iCB1220B645FAE2AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="15226_15226.png" alt="15226_15226.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2014-09-29 at 2.54.47 PM.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46324i963B8673348607FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2014-09-29 at 2.54.47 PM.png" alt="Screen Shot 2014-09-29 at 2.54.47 PM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;This causes a call to UART_DRV_Init() from inside Components_Init() which is called from PE_low_level_init() which is called from main(). This is all done before the call to PEX_RTOS_START() in main(). The problem is that UART_DRV_Init() includes calls to OSA_SemaCreate() before the kernel data structures are initialized and the code crashes. If you uncheck the "Auto Initialization" box then this code sequence is avoided and the remaining code will run. Is there a recommended way of using the fsl_uart component with MQX so that the initialization occurs after MQX is up and running? How then is fsl_uart coupled in to the MQX IO layer?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 19:04:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/MQX-KSDK-1-0-0-with-PE-and-fsl-uart-auto-initialization/m-p/355090#M526</guid>
      <dc:creator>intractablesubt</dc:creator>
      <dc:date>2014-09-29T19:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: MQX_KSDK_1.0.0 with PE and fsl_uart auto initialization</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/MQX-KSDK-1-0-0-with-PE-and-fsl-uart-auto-initialization/m-p/355091#M527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello William,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the error from your screenshot ，it can config here :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="13.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46353i5F1F49F8C77F893A/image-size/large?v=v2&amp;amp;px=999" role="button" title="13.png" alt="13.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your question, i think you can&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; uncheck the "Auto Initialization" box , then program the uart_initial by yourself refer to your need.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope it helps &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Alice&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 06:06:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/MQX-KSDK-1-0-0-with-PE-and-fsl-uart-auto-initialization/m-p/355091#M527</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2014-09-30T06:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: MQX_KSDK_1.0.0 with PE and fsl_uart auto initialization</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/MQX-KSDK-1-0-0-with-PE-and-fsl-uart-auto-initialization/m-p/355092#M528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MQX integration has been already improved and fixed in 1.1.0-GA PEx SP (scheduled on Q4 this year). For now as workaround must be init. function called from some task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;VF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2014 11:26:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/MQX-KSDK-1-0-0-with-PE-and-fsl-uart-auto-initialization/m-p/355092#M528</guid>
      <dc:creator>vfilip</dc:creator>
      <dc:date>2014-10-24T11:26:39Z</dc:date>
    </item>
  </channel>
</rss>

