<?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>S32 Design StudioのトピックS32K144 sprintf doesn't work for floating point formatter(%f)</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/S32K144-sprintf-doesn-t-work-for-floating-point-formatter-f/m-p/722884#M2110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am developing an MCU application using S32K144EVB-Q100&amp;nbsp;EVB&amp;nbsp;and using S32DS_ARM_Win32_v2.0 as IDE.&lt;/P&gt;&lt;P&gt;However, I have a trouble in printing out floating point using %f format.&lt;/P&gt;&lt;P&gt;Especially, I got in trouble of using sprintf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I run below code,&lt;/P&gt;&lt;P&gt;char buffer[512];&lt;/P&gt;&lt;P&gt;float testValue = 3.0;&lt;/P&gt;&lt;P&gt;sprintf(buffer, "test:%f\r\n", testValue);&lt;/P&gt;&lt;P&gt;//&amp;nbsp;writeout the buffer to uart console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"test:" was only printed out to the uart console.&lt;/P&gt;&lt;P&gt;In debbugging mode, I could also see there are no characters of testValue(floating value) variable in buffer array.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Apr 2018 08:17:07 GMT</pubDate>
    <dc:creator>taehyunyoon</dc:creator>
    <dc:date>2018-04-11T08:17:07Z</dc:date>
    <item>
      <title>S32K144 sprintf doesn't work for floating point formatter(%f)</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32K144-sprintf-doesn-t-work-for-floating-point-formatter-f/m-p/722884#M2110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am developing an MCU application using S32K144EVB-Q100&amp;nbsp;EVB&amp;nbsp;and using S32DS_ARM_Win32_v2.0 as IDE.&lt;/P&gt;&lt;P&gt;However, I have a trouble in printing out floating point using %f format.&lt;/P&gt;&lt;P&gt;Especially, I got in trouble of using sprintf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I run below code,&lt;/P&gt;&lt;P&gt;char buffer[512];&lt;/P&gt;&lt;P&gt;float testValue = 3.0;&lt;/P&gt;&lt;P&gt;sprintf(buffer, "test:%f\r\n", testValue);&lt;/P&gt;&lt;P&gt;//&amp;nbsp;writeout the buffer to uart console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"test:" was only printed out to the uart console.&lt;/P&gt;&lt;P&gt;In debbugging mode, I could also see there are no characters of testValue(floating value) variable in buffer array.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 08:17:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32K144-sprintf-doesn-t-work-for-floating-point-formatter-f/m-p/722884#M2110</guid>
      <dc:creator>taehyunyoon</dc:creator>
      <dc:date>2018-04-11T08:17:07Z</dc:date>
    </item>
  </channel>
</rss>

