<?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のトピックRe: Connecting with SD card</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Connecting-with-SD-card/m-p/520322#M3580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Dave on Tue Oct 23 13:02:18 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Okay, I took a look at the schematic - it shows the SD card is connected to the SPI bus, and that there is no GPIO input to indicate that the card is present or not...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The MCI example code won't work here, because the card is connected to the SPI bus, not the MCI bus...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are going to have to write a driver for the SPI bus, and then you are going to need to either write a FS or use one like Chan's to talk to the drive.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Notice that the SPI bus is #1, so your pin configuration should look something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; // pin configuration...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; LPC_IOCON-&amp;gt;P4_20&amp;nbsp; |= 3;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // SSP1_SCLK&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; LPC_GPIO1-&amp;gt;DIR |= (1&amp;lt;&amp;lt;12);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // SD \CS&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; LPC_GPIO1-&amp;gt;SET |= (1&amp;lt;&amp;lt;12);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // ...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; LPC_IOCON-&amp;gt;P4_22&amp;nbsp; |= 3;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // SSP1_MISO&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; LPC_IOCON-&amp;gt;P4_23&amp;nbsp; |= 3;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // SSP1_MOSI&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:41:03 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:41:03Z</dc:date>
    <item>
      <title>Connecting with SD card</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Connecting-with-SD-card/m-p/520317#M3575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Map on Sun Oct 21 06:21:05 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am struggling with how to connect SD Card using mini SUN7 LPV1788 ARM Cortex M3 with LCD touch screen. I would like to read and write a recorded MP3 file into an SD card. It is a project. The task is to record voices through a microphone and write them into an SD Card. The problem is I don't have any example codes which are compatible with the mentioned model. Would anyone send me a code which works or is compatible for that? Thank you in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:40:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Connecting-with-SD-card/m-p/520317#M3575</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting with SD card</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Connecting-with-SD-card/m-p/520318#M3576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by barumba on Sun Oct 21 19:10:06 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you mean mini SUN7 LPC1788 ARM Cortex M3 model? I have the same problem about connecting with Micro SD card.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have mini SUN7 LPC1788 ARM Cortex M3 Rev.D model (Picture in Attach File) and try to use the MCI example code for lpc177x_8x but it's replied "No CARD is being plugged, Please check!!!". Even if Micro SD Card is in slot. Has someone have the solution for solve this problems?&amp;nbsp; Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(I tried to setting _CURR_USING_BRD macro to any board type in bsp.h but have the same result)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:41:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Connecting-with-SD-card/m-p/520318#M3576</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting with SD card</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Connecting-with-SD-card/m-p/520319#M3577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Map on Tue Oct 23 02:07:27 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;please anyone help me!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:41:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Connecting-with-SD-card/m-p/520319#M3577</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting with SD card</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Connecting-with-SD-card/m-p/520320#M3578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Dave on Tue Oct 23 09:32:54 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps you can upload the schematics?&amp;nbsp; I'll have a look at them and see if I can help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:41:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Connecting-with-SD-card/m-p/520320#M3578</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting with SD card</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Connecting-with-SD-card/m-p/520321#M3579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Map on Tue Oct 23 10:17:05 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you Mr.Dave ,very appreciate . :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this file is schematic.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:41:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Connecting-with-SD-card/m-p/520321#M3579</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting with SD card</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Connecting-with-SD-card/m-p/520322#M3580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Dave on Tue Oct 23 13:02:18 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Okay, I took a look at the schematic - it shows the SD card is connected to the SPI bus, and that there is no GPIO input to indicate that the card is present or not...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The MCI example code won't work here, because the card is connected to the SPI bus, not the MCI bus...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are going to have to write a driver for the SPI bus, and then you are going to need to either write a FS or use one like Chan's to talk to the drive.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Notice that the SPI bus is #1, so your pin configuration should look something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; // pin configuration...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; LPC_IOCON-&amp;gt;P4_20&amp;nbsp; |= 3;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // SSP1_SCLK&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; LPC_GPIO1-&amp;gt;DIR |= (1&amp;lt;&amp;lt;12);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // SD \CS&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; LPC_GPIO1-&amp;gt;SET |= (1&amp;lt;&amp;lt;12);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // ...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; LPC_IOCON-&amp;gt;P4_22&amp;nbsp; |= 3;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // SSP1_MISO&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; LPC_IOCON-&amp;gt;P4_23&amp;nbsp; |= 3;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // SSP1_MOSI&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:41:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Connecting-with-SD-card/m-p/520322#M3580</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:41:03Z</dc:date>
    </item>
  </channel>
</rss>

