<?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: Is there any example program for interfacing sd card using SPI for LPC Xpresso 4367 board?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Is-there-any-example-program-for-interfacing-sd-card-using-SPI/m-p/951474#M37805</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="334133" data-username="shreyas123" href="https://community.nxp.com/people/shreyas123"&gt;Shreyas Waichal&lt;/A&gt;，&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and &lt;BR /&gt;for the opportunity to serve you.&lt;BR /&gt;The SDIO_CD is connected to pin 10 of&amp;nbsp; SD Card socket, the pin will open and close when the card is inserted and removed, in another word, the SDIO_D3 is not used to detect the SD card insertion/removal in this LPCOpen's demo.&lt;BR /&gt;In further, I've attached a demo which describes how to use SPI to read SD card's CID register, I think it's worth referring to even if it bases on LPC176x MCU.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jun 2019 06:32:37 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2019-06-06T06:32:37Z</dc:date>
    <item>
      <title>Is there any example program for interfacing sd card using SPI for LPC Xpresso 4367 board?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Is-there-any-example-program-for-interfacing-sd-card-using-SPI/m-p/951473#M37804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an SPI sd card board and want to interface it to LPC 4367.&lt;/P&gt;&lt;P&gt;There is an example of LPCOpen with SDIO interface but not with SPI.&lt;/P&gt;&lt;P&gt;Also in the SDIO in LPC Open it says that the CD and DATA3 pin needs to be connected to different pins on the board. However, the pin diagram of a sd card says that the CD and DATA3 pin are the same. So how do I connect it then?&lt;/P&gt;&lt;P&gt;The snippet is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;void Board_SDMMC_Init(void)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_SCU_PinMuxSet(0x1, 9, SDIO_DAT_PINCFG); /* P1.9 connected to SDIO_D0 */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_SCU_PinMuxSet(0x1, 10, SDIO_DAT_PINCFG); /* P1.10 connected to SDIO_D1 */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_SCU_PinMuxSet(0x1, 11, SDIO_DAT_PINCFG); /* P1.11 connected to SDIO_D2 */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_SCU_PinMuxSet(0x1, 12, SDIO_DAT_PINCFG); /* P1.12 connected to SDIO_D3 */&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Chip_SCU_ClockPinMuxSet(2, (SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_FUNC4)); /* CLK2 connected to SDIO_CLK */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_SCU_PinMuxSet(0x1, 6, SDIO_DAT_PINCFG); /* P1.6 connected to SDIO_CMD */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_SCU_PinMuxSet(0x1, 13, (SCU_MODE_INBUFF_EN | SCU_MODE_FUNC7)); /* P1.13 connected to SDIO_CD */&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be really appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2019 15:12:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Is-there-any-example-program-for-interfacing-sd-card-using-SPI/m-p/951473#M37804</guid>
      <dc:creator>shreyas123</dc:creator>
      <dc:date>2019-06-05T15:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any example program for interfacing sd card using SPI for LPC Xpresso 4367 board?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Is-there-any-example-program-for-interfacing-sd-card-using-SPI/m-p/951474#M37805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="334133" data-username="shreyas123" href="https://community.nxp.com/people/shreyas123"&gt;Shreyas Waichal&lt;/A&gt;，&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and &lt;BR /&gt;for the opportunity to serve you.&lt;BR /&gt;The SDIO_CD is connected to pin 10 of&amp;nbsp; SD Card socket, the pin will open and close when the card is inserted and removed, in another word, the SDIO_D3 is not used to detect the SD card insertion/removal in this LPCOpen's demo.&lt;BR /&gt;In further, I've attached a demo which describes how to use SPI to read SD card's CID register, I think it's worth referring to even if it bases on LPC176x MCU.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 06:32:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Is-there-any-example-program-for-interfacing-sd-card-using-SPI/m-p/951474#M37805</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-06-06T06:32:37Z</dc:date>
    </item>
  </channel>
</rss>

