<?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: SD Card SPI mode w/ FRDM KL-26Z in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303194#M12784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A calculation is being performed within the microcontroller and that value needs to be stored to a SD card. My code needs to wait until called before adding data to a file on an SD Card. How would your .srec file do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Apr 2014 11:17:45 GMT</pubDate>
    <dc:creator>jhnlk</dc:creator>
    <dc:date>2014-04-22T11:17:45Z</dc:date>
    <item>
      <title>SD Card SPI mode w/ FRDM KL-26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303190#M12780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to develop a data logger using an Arduino SD Card Module Slot (&lt;A href="http://bit.ly/1jq3gRJ" title="http://bit.ly/1jq3gRJ"&gt;http://bit.ly/1jq3gRJ&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;I have chosen the following connections:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PCS: PTD4&lt;/P&gt;&lt;P&gt;SCK: PTD5&lt;/P&gt;&lt;P&gt;MOSI: PTD6&lt;/P&gt;&lt;P&gt;MISO: PTD7&lt;/P&gt;&lt;P&gt;I21SDA: PTA4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unsure how to write code to read data to the sd card. Is there a tutorial or some code I can use to implement in my design?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 11:03:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303190#M12780</guid>
      <dc:creator>jhnlk</dc:creator>
      <dc:date>2014-03-25T11:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card SPI mode w/ FRDM KL-26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303191#M12781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This tutorial would apply for the KL26 too:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/11/18/arduino-data-logger-shield-with-the-frdm-kl25z-board/" title="http://mcuoneclipse.com/2012/11/18/arduino-data-logger-shield-with-the-frdm-kl25z-board/"&gt;Arduino Data-Logger Shield with the FRDM-KL25Z Board | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 11:55:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303191#M12781</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-03-25T11:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card SPI mode w/ FRDM KL-26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303192#M12782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the I21SDA: PTA4 for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 20:42:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303192#M12782</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-03-25T20:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card SPI mode w/ FRDM KL-26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303193#M12783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an application that runs on the FRDM KL26Z, connecting via the specified pins&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PCS: PTD4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SCK: PTD5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MOSI: PTD6&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MISO: PTD7&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;to an SD-card (&lt;EM&gt;SREC to load with CW flash utility via OpenSDA&lt;/EM&gt;&lt;SPAN&gt;) - &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.uTasker.com/freescale/uTasker_V1.4_FRDM-KL26Z_SD_CARD.srec"&gt;http://www.uTasker.com/freescale/uTasker_V1.4_FRDM-KL26Z_SD_CARD.srec&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a UART at 115k on the OpenSDA virtual COM port with a menu allowing a DOS like interface to the file system on the SD card (allowing listing and creating directories, renaming and formatting disks etc.).&lt;/P&gt;&lt;P&gt;When the application USD connector is connected, the board appears as a disk drive to the PC so files can be read and written, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;There is a difference to a KL25 application due to the fact that the KL26 has a more advanced SPI interface, with optional FIFO operation. Its register contents are essentially compatible with the KL25 SPI &lt;STRONG&gt;BUT&lt;/STRONG&gt; they are not on the same addresses, therefore the memory map used by the SPI driver needs to be adjusted accordingly.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file sytsem used is described in &lt;A href="http://www.utasker.com/docs/uTasker/uTasker_utFAT.PDF" title="http://www.utasker.com/docs/uTasker/uTasker_utFAT.PDF"&gt;http://www.utasker.com/docs/uTasker/uTasker_utFAT.PDF&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The USB driver used is described in &lt;A href="http://www.utasker.com/docs/uTasker/USB_User_Guide.PDF" title="http://www.utasker.com/docs/uTasker/USB_User_Guide.PDF"&gt;http://www.utasker.com/docs/uTasker/USB_User_Guide.PDF&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 18:40:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303193#M12783</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-03-27T18:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card SPI mode w/ FRDM KL-26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303194#M12784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A calculation is being performed within the microcontroller and that value needs to be stored to a SD card. My code needs to wait until called before adding data to a file on an SD Card. How would your .srec file do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 11:17:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303194#M12784</guid>
      <dc:creator>jhnlk</dc:creator>
      <dc:date>2014-04-22T11:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card SPI mode w/ FRDM KL-26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303195#M12785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand the process of this tutorial or its outcome. It could be helpful but it confuses me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 11:18:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303195#M12785</guid>
      <dc:creator>jhnlk</dc:creator>
      <dc:date>2014-04-22T11:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card SPI mode w/ FRDM KL-26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303196#M12786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John-Luke&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SREC is a general purpose application allowing you to check HW connections and basic functionality. Of course it is not doing the calculation that your project will need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The complete code is available at &lt;A href="http://www.utasker.com/forum/index.php?topic=1721.msg6645#msg6645" title="http://www.utasker.com/forum/index.php?topic=1721.msg6645#msg6645"&gt;KINETIS Project Code&lt;/A&gt; and you can then add your calculation as required. There are detailed user documenst for the SW components (see previous link) and several videoas showing how to use it; eg. &lt;A href="http://youtu.be/uBbiw36Caq4" target="_blank" title="http://youtu.be/uBbiw36Caq4"&gt;uTasker for Kinetis using CodeWarrior - YouTube&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 13:17:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303196#M12786</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-04-22T13:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card SPI mode w/ FRDM KL-26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303197#M12787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just had another look, seems actually quite simple.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 13:29:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303197#M12787</guid>
      <dc:creator>jhnlk</dc:creator>
      <dc:date>2014-04-23T13:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card SPI mode w/ FRDM KL-26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303198#M12788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I convert this from a KL25 CPU type and pin instructions to use KL26Z CPU and pins?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 14:00:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303198#M12788</guid>
      <dc:creator>jhnlk</dc:creator>
      <dc:date>2014-04-23T14:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card SPI mode w/ FRDM KL-26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303199#M12789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have code for the calculations but I want to write to the SD card without connecting through a computer. This program seems to require a connection to a computer to operate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 14:01:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303199#M12789</guid>
      <dc:creator>jhnlk</dc:creator>
      <dc:date>2014-04-23T14:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card SPI mode w/ FRDM KL-26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303200#M12790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program is an example of using the SD card with the KL26:&lt;/P&gt;&lt;P&gt;- Files can be written to the SD card from the PC (when connected via USB and visible as an external hard disk).&lt;/P&gt;&lt;P&gt;- They can be created and written to via the DOS-like interface (command line menu via UART).&lt;/P&gt;&lt;P&gt;- They can also be written from code using the utFAT interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore a computer is required to do quick tests with the program and the board but is not needed for an application that just wants to write to the SD card.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 14:20:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303200#M12790</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-04-23T14:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card SPI mode w/ FRDM KL-26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303201#M12791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich Styger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the SPI pins used to configure FRDM-KL26Z board as master and is there any example code is already configured for SPI on FRDM_KL26Z board(SD-card slave read/write).&lt;/P&gt;&lt;P&gt;I gone through the&amp;nbsp; &lt;A class="jive-link-external-small" href="http://mcuoneclipse.com/2012/11/18/arduino-data-logger-shield-with-the-frdm-kl25z-board/" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #6a737b;"&gt;Arduino Data-Logger Shield with the FRDM-KL25Z Board | MCU on Eclipse&lt;/A&gt; link, but it was specific to the FRDM_KL25Z platform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help in advance,&lt;/P&gt;&lt;P&gt;-Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 13:51:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SD-Card-SPI-mode-w-FRDM-KL-26Z/m-p/303201#M12791</guid>
      <dc:creator>stmevaleval</dc:creator>
      <dc:date>2014-04-28T13:51:37Z</dc:date>
    </item>
  </channel>
</rss>

