<?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>Kinetis Software Development Kit中的主题 Re: SD card initialization</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/SD-card-initialization/m-p/449255#M3076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Iva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your reply. The SD card functionality is part of a larger project that I cannot give access to. I got the SD card working now by bypassing Processor Expert and the KSDK SD card drivers, and using MQX with MFS following the example KSDK_1.2.0\middleware\filesystem\mfs\examples\sdcard\Shell_Task.c. However, if you know of any example that is using Processor Expert and MQX/MFS you can let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2015 06:22:41 GMT</pubDate>
    <dc:creator>matthias</dc:creator>
    <dc:date>2015-06-16T06:22:41Z</dc:date>
    <item>
      <title>SD card initialization</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/SD-card-initialization/m-p/449253#M3074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to get an SD card working. I am using KDS3.0/KSDK1.2.0 with Processor Expert and MQX. The hardware uses a 1bit bus and it looks like the maximum clock frequency should be below 10 MHz.&lt;BR /&gt;I tried to use SDCARD_DRV_Init() to initialize the card without success. When I look at the code I see that in SDCARD_DRV_InitSd() the clock is hard coded to 25 MHz and for some reason my host thinks it supports a 4 bit bus (see picture below). The SD card component uses the fsl_sdhc component and in KSDK1.1.0 it was possible to configure the bus witdh but this PExpert item has disappeared in KSDK1.2.0. But anyway, even if I auto initialise fsl_sdhc in Cpu.c it seems that the configurations I make there are completely ignored and overwritten when SDCARD_DRV_Init() is called. For example, I have set the bus clock to 2 MHz but as said the clock is hard coded to 25 MHz in SDCARD_DRV_InitSd().&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="37098_37098.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120393i251D5A86C2E94191/image-size/large?v=v2&amp;amp;px=999" role="button" title="37098_37098.png" alt="37098_37098.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25790iD25C885F469F525F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can anyone give some hints how to properly configure the SD card driver? The KSDK Reference Manual does not give much useful information here.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 12:26:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/SD-card-initialization/m-p/449253#M3074</guid>
      <dc:creator>matthias</dc:creator>
      <dc:date>2015-06-11T12:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: SD card initialization</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/SD-card-initialization/m-p/449254#M3075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;STRONG class="font-color-meta"&gt;&lt;SPAN class="replyToName"&gt;matthias&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="replyToName"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;please, can you attach whole project? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;Many thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;Iva&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 14:12:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/SD-card-initialization/m-p/449254#M3075</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2015-06-15T14:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: SD card initialization</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/SD-card-initialization/m-p/449255#M3076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Iva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your reply. The SD card functionality is part of a larger project that I cannot give access to. I got the SD card working now by bypassing Processor Expert and the KSDK SD card drivers, and using MQX with MFS following the example KSDK_1.2.0\middleware\filesystem\mfs\examples\sdcard\Shell_Task.c. However, if you know of any example that is using Processor Expert and MQX/MFS you can let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 06:22:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/SD-card-initialization/m-p/449255#M3076</guid>
      <dc:creator>matthias</dc:creator>
      <dc:date>2015-06-16T06:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: SD card initialization</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/SD-card-initialization/m-p/449256#M3077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello matthias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m very sorry for my late response.&lt;/P&gt;&lt;P&gt;Unfortunately, at the moment there is no the example.But if I/someone else create this example in future, I will let you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day!&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 19:43:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/SD-card-initialization/m-p/449256#M3077</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2015-06-23T19:43:04Z</dc:date>
    </item>
  </channel>
</rss>

