<?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: Data Reading from the SD CARD in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Data-Reading-from-the-SD-CARD/m-p/1591033#M200883</link>
    <description>&lt;P&gt;We successfully write on the SD card and read from the SD card, while reading from SD card we were able get data via "char" only. To get the data we are receiving by using sprintf and fscanf function.&lt;/P&gt;&lt;P&gt;In SD card file we have provided integer data and we want to read data such as double and float.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For above technical support u provide solution as use float pointer for that can provide a example to execute?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Feb 2023 06:45:16 GMT</pubDate>
    <dc:creator>Shashi_ranjan_14</dc:creator>
    <dc:date>2023-02-01T06:45:16Z</dc:date>
    <item>
      <title>Data Reading from the SD CARD</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Data-Reading-from-the-SD-CARD/m-p/1582915#M200142</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I want to read data from an SD card. I can read the display, but they only print the "char" value. Can anyone teach me how to read a float or decimal value and print it? now i am using imxrt1050 board using mcuXpresso.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="iMXRT1050" id="iMXRT1050"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/61445"&gt;@nxp&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/207690"&gt;@IMXRT1050&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 06:17:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Data-Reading-from-the-SD-CARD/m-p/1582915#M200142</guid>
      <dc:creator>Shashi_ranjan_14</dc:creator>
      <dc:date>2023-01-16T06:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Data Reading from the SD CARD</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Data-Reading-from-the-SD-CARD/m-p/1584420#M200300</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200367"&gt;@Shashi_ranjan_14&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can use a float pointer to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 07:37:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Data-Reading-from-the-SD-CARD/m-p/1584420#M200300</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2023-01-18T07:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Data Reading from the SD CARD</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Data-Reading-from-the-SD-CARD/m-p/1591033#M200883</link>
      <description>&lt;P&gt;We successfully write on the SD card and read from the SD card, while reading from SD card we were able get data via "char" only. To get the data we are receiving by using sprintf and fscanf function.&lt;/P&gt;&lt;P&gt;In SD card file we have provided integer data and we want to read data such as double and float.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For above technical support u provide solution as use float pointer for that can provide a example to execute?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 06:45:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Data-Reading-from-the-SD-CARD/m-p/1591033#M200883</guid>
      <dc:creator>Shashi_ranjan_14</dc:creator>
      <dc:date>2023-02-01T06:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Data Reading from the SD CARD</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Data-Reading-from-the-SD-CARD/m-p/1592050#M200948</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200367"&gt;@Shashi_ranjan_14&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Like these code&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;    char ch;
    float *p;
    char data[4];
    float i=3.14159;
    char *pd;
    PRINTF("%f\r\n",i);
    pd = (char*)&amp;amp;i;
    for(ch=0;ch&amp;lt;4;ch++)
    	data[ch]=*pd++;

    p=(float*)&amp;amp;data[0];
    PRINTF("%f\r\n",*p);&lt;/LI-CODE&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT/How-to-print-the-quot-negative-float-point-number-quot-to-show/m-p/1056720" target="_blank"&gt;https://community.nxp.com/t5/i-MX-RT/How-to-print-the-quot-negative-float-point-number-quot-to-show/m-p/1056720&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 07:36:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Data-Reading-from-the-SD-CARD/m-p/1592050#M200948</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2023-02-02T07:36:53Z</dc:date>
    </item>
  </channel>
</rss>

