<?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 Is there an example of use eMMC devices? in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Is-there-an-example-of-use-eMMC-devices/m-p/708994#M7559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi everyone,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;into the documentation SDK Kinetis API I found that exists a software component (SDMMC) which implements the support of eMMC. I'm searching, without succes, an example of use eMMC with Kinetis K22;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;could someone help me to find them or tell me where I can find them?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Giampietro&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Oct 2017 08:17:34 GMT</pubDate>
    <dc:creator>giampietropompo</dc:creator>
    <dc:date>2017-10-17T08:17:34Z</dc:date>
    <item>
      <title>Is there an example of use eMMC devices?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Is-there-an-example-of-use-eMMC-devices/m-p/708994#M7559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi everyone,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;into the documentation SDK Kinetis API I found that exists a software component (SDMMC) which implements the support of eMMC. I'm searching, without succes, an example of use eMMC with Kinetis K22;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;could someone help me to find them or tell me where I can find them?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Giampietro&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 08:17:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Is-there-an-example-of-use-eMMC-devices/m-p/708994#M7559</guid>
      <dc:creator>giampietropompo</dc:creator>
      <dc:date>2017-10-17T08:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an example of use eMMC devices?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Is-there-an-example-of-use-eMMC-devices/m-p/708995#M7560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Giampietro&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately there is no such example because by default the slot for sdcard is not connected on FrdmK22 and TWR-K22, the interface on these two boards are via SPI not ture SDHC signals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can refer to the API reference manual for typical use case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sdhcConfig-&amp;gt;cardDetectDat3 = false;&lt;BR /&gt;sdhcConfig-&amp;gt;endianMode = kSDHC_EndianModeLittle;&lt;BR /&gt;sdhcConfig-&amp;gt;dmaMode = kSDHC_DmaModeAdma2;&lt;BR /&gt;sdhcConfig-&amp;gt;readWatermarkLevel = 0x80U;&lt;BR /&gt;sdhcConfig-&amp;gt;writeWatermarkLevel = 0x80U;&lt;BR /&gt;SDHC_Init(BOARD_SDHC_BASEADDR, sdhcConfig);&lt;BR /&gt;/* Save host information. */&lt;BR /&gt;card-&amp;gt;host.base = BOARD_SDHC_BASEADDR;&lt;BR /&gt;card-&amp;gt;host.sourceClock_Hz = CLOCK_GetFreq(BOARD_SDHC_CLKSRC);&lt;BR /&gt;card-&amp;gt;host.transfer = SDHC_TransferFunction;&lt;BR /&gt;/* Init card. */&lt;BR /&gt;if (MMC_Init(card))&lt;BR /&gt;{&lt;BR /&gt;PRINTF("nn MMC card init failed nn");&lt;BR /&gt;}&lt;BR /&gt;while (true)&lt;BR /&gt;{&lt;BR /&gt;if (kStatus_Success != MMC_WriteBlocks(card, g_dataWrite, DATA_BLOCK_START,&lt;BR /&gt;DATA_BLOCK_COUNT))&lt;BR /&gt;{&lt;BR /&gt;PRINTF("Write multiple data blocks failed.nrnn");&lt;BR /&gt;}&lt;BR /&gt;if (kStatus_Success != MMC_ReadBlocks(card, g_dataRead, DATA_BLOCK_START,&lt;BR /&gt;DATA_BLOCK_COUNT))&lt;BR /&gt;{&lt;BR /&gt;PRINTF("Read multiple data blocks failed.nrnn");&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;MMC_Deinit(card);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This below link maybe helpful to you.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/391151"&gt;I noticed that the KSDK 2.0 has support for the eMMC. Are there any examples?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 07:49:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Is-there-an-example-of-use-eMMC-devices/m-p/708995#M7560</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2017-10-27T07:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an example of use eMMC devices?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Is-there-an-example-of-use-eMMC-devices/m-p/708996#M7561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;I'm using the TWR-K21F120M which have a socket SD to test the SDHC interface. In details I'm interesting to test the interface with the eMMC so I've used an adaptor SD/eMMC. At the moment I'm using the default examples; with these ? can read ( I test the value of the register CSD and CID ) but I can't write any sectors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your opinion, what's the possible reason of this issue? I verified that the write protect is disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Giampietro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 11:31:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Is-there-an-example-of-use-eMMC-devices/m-p/708996#M7561</guid>
      <dc:creator>giampietropompo</dc:creator>
      <dc:date>2018-01-15T11:31:17Z</dc:date>
    </item>
  </channel>
</rss>

