<?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>topic Re: Multiple micro SD-Cards (SanDisk) on usdhc bus in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Multiple-micro-SD-Cards-SanDisk-on-usdhc-bus/m-p/881038#M52251</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Walter Zimmer, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MK66 just have one SDHC module, so you just can add one SD card.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you want to add the other SD card in the K66, you need to use the SPI interface.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; From my viewpoint, you can't use two SD card in parallel with the same SDHC interface.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can try the sd card on your side, if each SD card works alone, but two sd cards can't work together, it will also demonstrate that theory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; About the SD card code for K66, you can refer to the SDK code, which can be downloaded from this link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/en/welcome" title="https://mcuxpresso.nxp.com/en/welcome"&gt;Welcome | MCUXpresso SDK Builder&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Select the FRDM-K66 board, then generate the code, and download it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You can find the SD code from this folder:&lt;/P&gt;&lt;P&gt;&amp;nbsp;SDK_2.5.0_FRDM-K66F\boards\frdmk66f\driver_examples\sdcard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have question about it, please kindly let me know.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&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 style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&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>Fri, 22 Feb 2019 06:13:22 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2019-02-22T06:13:22Z</dc:date>
    <item>
      <title>Multiple micro SD-Cards (SanDisk) on usdhc bus</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Multiple-micro-SD-Cards-SanDisk-on-usdhc-bus/m-p/881037#M52250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I like to increase Disk storage by adding multiple micro SD Cards onto a single SDHC bus (MK66FX1M0 and IMXRT1052).&lt;/P&gt;&lt;P&gt;NO SPI with separated CS but single SDHC bus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can it be done?&lt;/P&gt;&lt;P&gt;How is it done HW and SW wise?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;II test with MK66, where I added 2 microSD cards using SD card adapter.&lt;/P&gt;&lt;P&gt;All signals are in parallel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read that CMD2 and CMD3 have to be repeated until no card responds and each card that responded to CMD2 should go to inactive state.&lt;/P&gt;&lt;P&gt;However, it seams that only one card is responding continuously changing the suggested RCA&lt;/P&gt;&lt;P&gt;(e.g. when I cycle 6 times &lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;CMD2/CMD3 &lt;/SPAN&gt;- with 2 cards - I get RCA of 'AAAA',&amp;nbsp; 'AAAB', 'AAAC', 'AAAD', 'AAAE', 'AAAF'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion on HW and SW?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2019 09:41:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Multiple-micro-SD-Cards-SanDisk-on-usdhc-bus/m-p/881037#M52250</guid>
      <dc:creator>walterzimmer</dc:creator>
      <dc:date>2019-02-21T09:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple micro SD-Cards (SanDisk) on usdhc bus</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Multiple-micro-SD-Cards-SanDisk-on-usdhc-bus/m-p/881038#M52251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Walter Zimmer, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MK66 just have one SDHC module, so you just can add one SD card.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you want to add the other SD card in the K66, you need to use the SPI interface.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; From my viewpoint, you can't use two SD card in parallel with the same SDHC interface.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can try the sd card on your side, if each SD card works alone, but two sd cards can't work together, it will also demonstrate that theory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; About the SD card code for K66, you can refer to the SDK code, which can be downloaded from this link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/en/welcome" title="https://mcuxpresso.nxp.com/en/welcome"&gt;Welcome | MCUXpresso SDK Builder&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Select the FRDM-K66 board, then generate the code, and download it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You can find the SD code from this folder:&lt;/P&gt;&lt;P&gt;&amp;nbsp;SDK_2.5.0_FRDM-K66F\boards\frdmk66f\driver_examples\sdcard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have question about it, please kindly let me know.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&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 style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&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>Fri, 22 Feb 2019 06:13:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Multiple-micro-SD-Cards-SanDisk-on-usdhc-bus/m-p/881038#M52251</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-02-22T06:13:22Z</dc:date>
    </item>
  </channel>
</rss>

