<?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>LPCXpresso IDE中的主题 Re: micro sd card pullups</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/micro-sd-card-pullups/m-p/531513#M2545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by curtvm on Wed Feb 16 12:10:33 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm just going to have to try a different brand sd card, and maybe make it a smaller one to boot, just to see what happens.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure what is going on, but without the pullups on dat1/2 there is no response from ACMD41 (first 2 commands in initialization- CMD0 and CMD8, work ok). It just doesn't make sense, as the previous commands work, and by the time I get to where it fails, it is already in spi mode,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;About the only info I can find, is the recommendation that these unused pins should not be left floating to prevent excess current draw. I guess from now on, I pull these up no matter what.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:55:41 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:55:41Z</dc:date>
    <item>
      <title>micro sd card pullups</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/micro-sd-card-pullups/m-p/531510#M2542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by curtvm on Wed Feb 16 04:54:35 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a little dip adapter board-&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://http://www.mtcnet.net/%7Ehenryvm/lpc1a.jpg"&gt;http://www.mtcnet.net/~henryvm/lpc1a.jpg&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;where the main goal was to be able to use a lpc11/13 on a breadboard, without having to buy an xpresso board for each 'project'. It works fine, but the micro sd socket I added (since I had the room anyway) don't have any pullups and I left the dat1/2 pins unconnected since spi mode was to be used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem I have seems to be that leaving the dat1/2 pins floating is causing the initialization to fail at ACMD41(I am using an appnote for the lpc1700, which I modified for my lpc1114). If I probe those 2 dat pins with a pullup to 3.3v, then everything works fine. I have tried 3 different sd cards (2gb/4gb), but they are all sandisk cards. Maybe I need to try another brand to see if its any different.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there some definitive answer about these unused dat pins, whether pullups are required or not? In the case of the cards I have, it seems to be the case, but I have seen various schematics that leave these pins unconnected, such as &lt;/SPAN&gt;&lt;A href="http://"&gt;http://elm-chan.org/works/sd20p/sdsg.png&lt;/A&gt;&lt;SPAN&gt; (I would think he would know). Is there anyone else that has a working board or adapter that leaves these pins floating?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:55:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/micro-sd-card-pullups/m-p/531510#M2542</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: micro sd card pullups</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/micro-sd-card-pullups/m-p/531511#M2543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Wed Feb 16 06:14:59 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;MicroSD P1 and P8 are not used in SPI mode (and therefore not connected) :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;See:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://www.robotshop.com/PDF/microSD_Spec.pdf&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A working SPI 1768 connection is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P1 - nc&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P2 - CS -&amp;gt; SSEL &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P3 - DI -&amp;gt; MOSI &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P4 - VDD -&amp;gt; 3.3V&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P5 - SCLK-&amp;gt; SCK&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P6 - VSS -&amp;gt; GND&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P7 - DO -&amp;gt; MISO&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P8 - nc&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:55:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/micro-sd-card-pullups/m-p/531511#M2543</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: micro sd card pullups</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/micro-sd-card-pullups/m-p/531512#M2544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jharwood on Wed Feb 16 10:16:27 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I can confirm that too. Dat1/2 not connected, 1gB Sandisk microSD on an LPC1343.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:55:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/micro-sd-card-pullups/m-p/531512#M2544</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: micro sd card pullups</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/micro-sd-card-pullups/m-p/531513#M2545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by curtvm on Wed Feb 16 12:10:33 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm just going to have to try a different brand sd card, and maybe make it a smaller one to boot, just to see what happens.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure what is going on, but without the pullups on dat1/2 there is no response from ACMD41 (first 2 commands in initialization- CMD0 and CMD8, work ok). It just doesn't make sense, as the previous commands work, and by the time I get to where it fails, it is already in spi mode,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;About the only info I can find, is the recommendation that these unused pins should not be left floating to prevent excess current draw. I guess from now on, I pull these up no matter what.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:55:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/micro-sd-card-pullups/m-p/531513#M2545</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: micro sd card pullups</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/micro-sd-card-pullups/m-p/531514#M2546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by curtvm on Thu Feb 17 05:55:39 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll also ask another question here since I am thinking about this-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As an alternative to sd cards, is it possible to use a usb flash drive as local storage from something like a lpc1343, or is it not possible to do a host function unless you have something like a lpc17xx? I really don't know what details are involved with getting a usb host working for a mass storage device, but I assume it would be similar to the sd card, where the file system stuff basically just needs an interface to/from the usb flash drive. I think I have seen the avr usb demos (LUFA) which include some host type stuff (where I think the avr used only has device support). Not quite sure, though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The sd cards are nice because they are pretty simple (relatively speaking), but I would prefer not having to deal with sd card readers, micro adapters, etc. There are also some usb flash drives out there which are pretty small (flat, with exposed connections).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just wondering if there are better options if I make a version 2 of my little adapter board.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:55:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/micro-sd-card-pullups/m-p/531514#M2546</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: micro sd card pullups</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/micro-sd-card-pullups/m-p/531515#M2547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by igorsk on Thu Feb 17 07:00:39 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC1768/1769 does have a USB Host function. See USBHostLite on NXP's site.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:55:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/micro-sd-card-pullups/m-p/531515#M2547</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:55:42Z</dc:date>
    </item>
  </channel>
</rss>

