<?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: How to use scanf using KSDK v2</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-use-scanf-using-KSDK-v2/m-p/624456#M6563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please refer rtc demo code which includes SCANF usage.&lt;/P&gt;&lt;P&gt;...\SDK_2.0_FRDM-K64F\boards\frdmk64f\driver_examples\rtc&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&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>Fri, 20 Jan 2017 08:11:10 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2017-01-20T08:11:10Z</dc:date>
    <item>
      <title>How to use scanf using KSDK v2</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-use-scanf-using-KSDK-v2/m-p/624455#M6562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm 0cm 10pt;"&gt;How I can use scanf in baremetal project, using "Drivers minimal set" &amp;nbsp;printf is working at 11520 boud.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt;"&gt;I'm using KDS v3.2, KSDK v2.0 and FRDM-K64f&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 20:52:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-use-scanf-using-KSDK-v2/m-p/624455#M6562</guid>
      <dc:creator>shauldorf</dc:creator>
      <dc:date>2017-01-17T20:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to use scanf using KSDK v2</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-use-scanf-using-KSDK-v2/m-p/624456#M6563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please refer rtc demo code which includes SCANF usage.&lt;/P&gt;&lt;P&gt;...\SDK_2.0_FRDM-K64F\boards\frdmk64f\driver_examples\rtc&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&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>Fri, 20 Jan 2017 08:11:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-use-scanf-using-KSDK-v2/m-p/624456#M6563</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2017-01-20T08:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to use scanf using KSDK v2</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-use-scanf-using-KSDK-v2/m-p/624457#M6564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jennie Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My initial mean was not to use "fsl_debug_console".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please confirm my assumption?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I understand now is, creating new project I have to use "Drivers minimal set" because only there &amp;lt;stdio.&amp;gt; "printf" is supported no getc() and putc().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For strings and char I have to include "fsl_debug_console.h" and use debug console functions instead &amp;lt;sdtio.h&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shaul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 20:40:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-use-scanf-using-KSDK-v2/m-p/624457#M6564</guid>
      <dc:creator>shauldorf</dc:creator>
      <dc:date>2017-01-20T20:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to use scanf using KSDK v2</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-use-scanf-using-KSDK-v2/m-p/624458#M6565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shaul,&lt;/P&gt;&lt;P&gt;Regarding to your statement:&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;What I understand now is, creating new project I have to use "Drivers minimal set" because only there &amp;lt;stdio.&amp;gt; "printf" is supported no getc() and putc().&lt;/P&gt;&lt;P&gt;I don't quite understand. Can you please be more specific?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;For strings and char I have to include "fsl_debug_console.h" and use debug console functions instead &amp;lt;sdtio.h&amp;gt;&lt;/P&gt;&lt;P&gt;according to my test, Yes, I think so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jennie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jan 2017 08:48:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-use-scanf-using-KSDK-v2/m-p/624458#M6565</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2017-01-22T08:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to use scanf using KSDK v2</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-use-scanf-using-KSDK-v2/m-p/624459#M6566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jennie&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt; text-align: left; unicode-bidi: embed; direction: ltr;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;Using KSDK v2&amp;nbsp;to be able to use debug_console you have to create project using "project wizard" that at least will include "Drivers Minimal set" configuration (no Empty).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13158iD1BA3442AB753CCE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;In this case "printf()" (which is supported by &amp;lt;stdio.h&amp;gt;) statement is working without using&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;STRONG&gt;#include &lt;/STRONG&gt;"fsl_debug_console.h".&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;But only printf(), other stdio statemens like &amp;nbsp;scanf(), getc() and putc() doesn’t work.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;To get similar function I have to &lt;STRONG&gt;#include&lt;/STRONG&gt; "fsl_debug_console.h" and use &amp;nbsp;SCANF(), PUTCHAR() and GETCHAR() equivalent functions.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;This is what I wanted to confirm.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Thanks&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Shaul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jan 2017 09:55:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-use-scanf-using-KSDK-v2/m-p/624459#M6566</guid>
      <dc:creator>shauldorf</dc:creator>
      <dc:date>2017-01-22T09:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to use scanf using KSDK v2</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-use-scanf-using-KSDK-v2/m-p/624460#M6567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shaul,&lt;/P&gt;&lt;P&gt;yes, I think so. This is the same testing result as my side.&lt;/P&gt;&lt;P&gt;Normally if I choose SDK, I use SDK defined io functions rather than stdio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&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>Mon, 23 Jan 2017 07:57:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-use-scanf-using-KSDK-v2/m-p/624460#M6567</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2017-01-23T07:57:37Z</dc:date>
    </item>
  </channel>
</rss>

