<?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 MicrocontrollersのトピックRe: Reading wave file from SD card using FRDM k64F in MQX</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-wave-file-from-SD-card-using-FRDM-k64F-in-MQX/m-p/609563#M36010</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olivia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use as reference the sai_dma_demo example located at the path ...Freescale_MQX_4_2\mqx\examples\sai_dma_demo\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition please check the below thread: &lt;A href="https://community.nxp.com/thread/335532"&gt;https://community.nxp.com/thread/335532&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Sol&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, 10 Feb 2017 00:17:07 GMT</pubDate>
    <dc:creator>soledad</dc:creator>
    <dc:date>2017-02-10T00:17:07Z</dc:date>
    <item>
      <title>Reading wave file from SD card using FRDM k64F in MQX</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-wave-file-from-SD-card-using-FRDM-k64F-in-MQX/m-p/609562#M36009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I want to read a wave file from the SD card . I am using MFS and my installation was successful I was able to detect the SD card . But now I want to write a code to open it and read a wave file. I have the USB code with me. But i dont know how to find the file path for sd card .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this code to read from USB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int error_code = MFS_NO_ERROR;&lt;BR /&gt; MFS_SEARCH_DATA search_data;&lt;BR /&gt; MFS_SEARCH_PARAM search;&lt;BR /&gt; char filepath [6] = "*.*";&lt;BR /&gt; MQX_FILE_PTR fs_ptr = NULL;&lt;BR /&gt; fs_ptr = _io_get_fs_by_name("a:");&lt;BR /&gt; search.ATTRIBUTE = MFS_SEARCH_ANY;&lt;BR /&gt; search.WILDCARD = (char *)&amp;amp;filepath;&lt;BR /&gt; search.SEARCH_DATA_PTR = &amp;amp;search_data;&lt;BR /&gt; //error_code = _io_ioctl(fs_ptr, IO_IOCTL_FIND_FIRST_FILE,(uint_32*)&amp;amp;search);&lt;BR /&gt; //while (error_code == MFS_NO_ERROR)&lt;BR /&gt; //{&lt;BR /&gt; /**********************File List in the USB*************************&lt;/P&gt;&lt;P&gt;printf ("%-12.12s %6lu %02lu-%02lu-%04lu %02lu:%02lu:%02lu\n",&lt;BR /&gt; search_data.NAME,&lt;BR /&gt; search_data.FILE_SIZE,&lt;BR /&gt; (uint_32)(search_data.DATE &amp;amp; MFS_MASK_MONTH) &amp;gt;&amp;gt;MFS_SHIFT_MONTH,&lt;BR /&gt; (uint_32)(search_data.DATE &amp;amp; MFS_MASK_DAY) &amp;gt;&amp;gt;MFS_SHIFT_DAY,&lt;BR /&gt; (uint_32)((search_data.DATE &amp;amp; MFS_MASK_YEAR) &amp;gt;&amp;gt;MFS_SHIFT_YEAR) + 1980,&lt;BR /&gt; (uint_32)(search_data.TIME &amp;amp; MFS_MASK_HOURS) &amp;gt;&amp;gt;MFS_SHIFT_HOURS,&lt;BR /&gt; (uint_32)(search_data.TIME &amp;amp; MFS_MASK_MINUTES) &amp;gt;&amp;gt;MFS_SHIFT_MINUTES,&lt;BR /&gt; (uint_32)(search_data.TIME &amp;amp; MFS_MASK_SECONDS) &amp;lt;&amp;lt; 1);&lt;BR /&gt; error_code = _io_ioctl(fs_ptr, IO_IOCTL_FIND_NEXT_FILE,(uint_32*)&amp;amp;search_data);&lt;/P&gt;&lt;P&gt;**********************************************************************/&lt;BR /&gt; // }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Olivia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 13:11:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-wave-file-from-SD-card-using-FRDM-k64F-in-MQX/m-p/609562#M36009</guid>
      <dc:creator>oliviachristyva</dc:creator>
      <dc:date>2017-02-07T13:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Reading wave file from SD card using FRDM k64F in MQX</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-wave-file-from-SD-card-using-FRDM-k64F-in-MQX/m-p/609563#M36010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olivia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use as reference the sai_dma_demo example located at the path ...Freescale_MQX_4_2\mqx\examples\sai_dma_demo\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition please check the below thread: &lt;A href="https://community.nxp.com/thread/335532"&gt;https://community.nxp.com/thread/335532&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Sol&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, 10 Feb 2017 00:17:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-wave-file-from-SD-card-using-FRDM-k64F-in-MQX/m-p/609563#M36010</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2017-02-10T00:17:07Z</dc:date>
    </item>
  </channel>
</rss>

