<?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: sdk_standard mqx +PE -- printf -kds3.0 in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/sdk-standard-mqx-PE-printf-kds3-0/m-p/458551#M15425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Who can help me ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Nov 2015 09:32:28 GMT</pubDate>
    <dc:creator>Fan_xy</dc:creator>
    <dc:date>2015-11-11T09:32:28Z</dc:date>
    <item>
      <title>sdk_standard mqx +PE -- printf -kds3.0</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/sdk-standard-mqx-PE-printf-kds3-0/m-p/458550#M15424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On&amp;nbsp; KDS3.0+KSDK1.3+PE&amp;nbsp;&amp;nbsp; --- FRDM-K22 ,&amp;nbsp; in KSDK select the "MQX Standard" .&lt;/P&gt;&lt;P&gt;I delete the "console " component, for if not,&amp;nbsp; there will be error , i see someone say in the SDK-Standard MQX , it can not include this component&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When create one simple project , then :&lt;/P&gt;&lt;P&gt;printf("hello\n");&lt;/P&gt;&lt;P&gt;There is show nothing in the terminal .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me how to printf to the terminal through UART when i create one project as is saide .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much !!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 12:34:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/sdk-standard-mqx-PE-printf-kds3-0/m-p/458550#M15424</guid>
      <dc:creator>Fan_xy</dc:creator>
      <dc:date>2015-11-05T12:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: sdk_standard mqx +PE -- printf -kds3.0</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/sdk-standard-mqx-PE-printf-kds3-0/m-p/458551#M15425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Who can help me ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 09:32:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/sdk-standard-mqx-PE-printf-kds3-0/m-p/458551#M15425</guid>
      <dc:creator>Fan_xy</dc:creator>
      <dc:date>2015-11-11T09:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: sdk_standard mqx +PE -- printf -kds3.0</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/sdk-standard-mqx-PE-printf-kds3-0/m-p/458552#M15426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello fan xy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached there is a project for the FRDM-K22F that uses printf in the Main task. Just as you mentioned, the&lt;STRONG&gt; fsl_debug_console&lt;/STRONG&gt; component is not required, so you need to remove it or simply disable it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;MQX_KSDK&lt;/STRONG&gt; must inherit a &lt;STRONG&gt;fsl_uart&lt;/STRONG&gt; component configured to use &lt;STRONG&gt;UART1&lt;/STRONG&gt; with pins &lt;STRONG&gt;PTE0/PTE1&lt;/STRONG&gt;, since those are pins mapped to the OpenSDA interface in FRDM-K22F.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you face any issues are have any questions.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!,&lt;BR /&gt;Jorge Gonzalez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 23:26:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/sdk-standard-mqx-PE-printf-kds3-0/m-p/458552#M15426</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-11-12T23:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: sdk_standard mqx +PE -- printf -kds3.0</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/sdk-standard-mqx-PE-printf-kds3-0/m-p/458553#M15427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very mcuh&amp;nbsp; Jorge.&lt;/P&gt;&lt;P&gt;I can print it now .&lt;/P&gt;&lt;P&gt;While i have still have a question , could you tell me why i only need add the UART driver and configure it , then the UART port can connected to&lt;/P&gt;&lt;P&gt;prinrf function ?&amp;nbsp; I debug step by step , and have not fund the printf function connected to the UART function .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank again !&lt;/P&gt;&lt;P&gt;fan !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 10:52:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/sdk-standard-mqx-PE-printf-kds3-0/m-p/458553#M15427</guid>
      <dc:creator>Fan_xy</dc:creator>
      <dc:date>2015-11-18T10:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: sdk_standard mqx +PE -- printf -kds3.0</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/sdk-standard-mqx-PE-printf-kds3-0/m-p/458554#M15428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello fan xy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good to know you can print now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MQX for KSDK has its own STDIO library, which uses the NIO drivers. The NIO driver for STDIO calls (printf, sprintf, etc.) is installed during bsp initialization, in the function &lt;STRONG&gt;_bsp_init()&lt;/STRONG&gt;. Then all the &lt;STRONG&gt;printf&lt;/STRONG&gt; calls will use the installed NIO_STDIO driver through the selected UART port.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That all happens under the hood of MQX. You just need to configure the inherited &lt;STRONG&gt;fsl_uart&lt;/STRONG&gt; component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 16:23:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/sdk-standard-mqx-PE-printf-kds3-0/m-p/458554#M15428</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-11-18T16:23:28Z</dc:date>
    </item>
  </channel>
</rss>

