<?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>LPC Microcontrollers中的主题 Help With SD Card over SD interface</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Help-With-SD-Card-over-SD-interface/m-p/520835#M3837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Aditya Mittal on Mon Mar 30 06:05:19 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; I am using demo kit for LPC1788 controller developed by Embedded Artists. I am trying to use the SD Card on the eval kit, over SD Interface (and not SPI). I have taken the help from sample files for MCI Interface downloaded form LPCware.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached are the files for reference (one is the application file and other is the low level driver file). I followed the steps/sequence to initialize the SD card as given the reference file, which is working fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Problem is when I try to read from and write to SD card I again have to follow the same sequence of steps as for initialization, which I feel is incorrect. While I believe, I should only be required to send commands from CMD 3 onwards to enter in data transfer mode and subsequently to read and write.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My requirement is that I should be able to perform read/write operations any number of times and whenever required by my application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me to improve my understanding and possible reason and solution for my problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Aditya Mittal&lt;/SPAN&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338126"&gt;Mci_ReadWrite.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338126"&gt;lpc177x_8x_mci.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:45:24 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:45:24Z</dc:date>
    <item>
      <title>Help With SD Card over SD interface</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Help-With-SD-Card-over-SD-interface/m-p/520835#M3837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Aditya Mittal on Mon Mar 30 06:05:19 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; I am using demo kit for LPC1788 controller developed by Embedded Artists. I am trying to use the SD Card on the eval kit, over SD Interface (and not SPI). I have taken the help from sample files for MCI Interface downloaded form LPCware.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached are the files for reference (one is the application file and other is the low level driver file). I followed the steps/sequence to initialize the SD card as given the reference file, which is working fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Problem is when I try to read from and write to SD card I again have to follow the same sequence of steps as for initialization, which I feel is incorrect. While I believe, I should only be required to send commands from CMD 3 onwards to enter in data transfer mode and subsequently to read and write.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My requirement is that I should be able to perform read/write operations any number of times and whenever required by my application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me to improve my understanding and possible reason and solution for my problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Aditya Mittal&lt;/SPAN&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338126"&gt;Mci_ReadWrite.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338126"&gt;lpc177x_8x_mci.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:45:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Help-With-SD-Card-over-SD-interface/m-p/520835#M3837</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help With SD Card over SD interface</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Help-With-SD-Card-over-SD-interface/m-p/520836#M3838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by embd02161991 on Tue Mar 31 10:25:37 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Aditya,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please try using LPCOpen&amp;nbsp; example&amp;nbsp; for EA board. There is a SDMMC example in the software package which can be your starting point. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;You can find them here : &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Flpcopen-software-development-platform-lpc17xx-packages" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc17xx-packages&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP Technical Support&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:45:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Help-With-SD-Card-over-SD-interface/m-p/520836#M3838</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:45:25Z</dc:date>
    </item>
  </channel>
</rss>

