<?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 MicrocontrollersのトピックRe: Adding a uSD Socket to a FRDM-K22F Board</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Adding-a-uSD-Socket-to-a-FRDM-K22F-Board/m-p/501064#M31365</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a demo project for the SD card on the FRDM-K22F using FatFS (attached).&lt;/P&gt;&lt;P&gt;It includes a command line shell: connect to the OpenSDA USB CDC with 38400 baud.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jan 2016 20:16:30 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2016-01-19T20:16:30Z</dc:date>
    <item>
      <title>Adding a uSD Socket to a FRDM-K22F Board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Adding-a-uSD-Socket-to-a-FRDM-K22F-Board/m-p/501063#M31364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After having some difficulty putting the Molex &lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;SD-105027-001 socket onto a FRDM-K22F board, &lt;/SPAN&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; line-height: 1.5;"&gt;I wanted to impart a few hints to anybody that wants to do this on the K22F or any other boards which have the same footprint.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #373737; font-size: 15px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;Parts and tools:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;Load the attached application ("k22f_sd_card_01") which was created in KDS 3.1 with KSDK 1.3 and PE 3.0.2.&amp;nbsp; This will continuously poll the five pins associated with the SD card socket.&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;Make sure you have a good quality, Lead-Free solder, flux and soldering iron with a tiny tip as well as a larger tip for heavier soldering.&amp;nbsp; For the pins, I used a needle point soldering iron which goes down to 0.2mm (I did say "tiny").&amp;nbsp; This is not something that can be soldered on using a $20 Radio Shack soldering iron.&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;You might want to buy a few extra sockets as you will probably screw up the first one or two.&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;A 3" or so length of breadboard hook up wire.&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;A Digital Multi-Meter&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #373737; font-size: 15px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;Installation Steps:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;Familiarize yourself with the circuitry around the socket site (J8).&amp;nbsp; I recommend that you look at the K22F schematic top right hand corner of the third page.&amp;nbsp; Note that "G1" is actually between "P4" and "P5" which makes things a bit confusing.&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;Load the "k22f_sd_card_01 application into your K22F card and start checking the pins following the order given in the reference list below.&amp;nbsp; Insert the 3" piece of breadboard hook up wire to J25 pin 4 (Vcc) and touch the pads (and later the connector pins to make sure they are soldered and not shorted).&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;Put flux over each pin before putting down the socket. &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;Solder the pins according the order set out in the reference list below.&amp;nbsp; Remember to test each pin after each pin is soldered (this is especially important for the four middle pins that are very close together).&amp;nbsp; After soldering the pins, test the connection by &lt;STRONG&gt;lightly&lt;/STRONG&gt; touching the DMM probe or the breadboard wire to the socket pin to ensure there is a solder connection.&amp;nbsp; Pressing down hard could make it look like there's a solder connection where there actually isn't.&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;When the pins are soldered and the joints verified with no shorts to adjoining pins, solder the four main pins on the socket.&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #373737; font-size: 15px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;Pin Reference:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;This is starting with "P1" and then going down to "P8".&amp;nbsp; Because "G1" is located between "P4" and "P5", I found it easier to think of them in terms of pins 1 through 9.&amp;nbsp; The list below is the order I found it best to solder the pins:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;&amp;nbsp;&amp;nbsp; 1.&amp;nbsp; "P1", use DMM to check connection to TP20.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;&amp;nbsp;&amp;nbsp; 9.&amp;nbsp; "P8", use DMM to check connection to TP24.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;&amp;nbsp;&amp;nbsp; 4.&amp;nbsp; "P4", use DMM to check connection to 3.3V.&amp;nbsp; I check for connection to J6 pin 2.&amp;nbsp; Make sure not shorted to any other pins.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;&amp;nbsp;&amp;nbsp; 5.&amp;nbsp; "G1", use DMM to check connection to R42.&amp;nbsp; Run application and use breadboard wire to validate operation.&amp;nbsp; This is "SD_DETECT".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;&amp;nbsp;&amp;nbsp; 6.&amp;nbsp; "P5", use DMM to check connection to R35.&amp;nbsp; Run application and use breadboard wire to validate operation.&amp;nbsp; This is "SD_CLK"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;&amp;nbsp;&amp;nbsp; 3.&amp;nbsp; "P3", use DMM to check connection to R40.&amp;nbsp; Run application &lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;and use breadboard wire to validate operation.&amp;nbsp; This is "SD_DO"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #373737; font-size: 15px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;&amp;nbsp;&amp;nbsp; 2.&amp;nbsp; "P2", use DMM to check connection to R37.&amp;nbsp; Run application &lt;/SPAN&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;and use breadboard wire to validate operation.&amp;nbsp; This is "SD_CS"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #373737; font-size: 15px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; 7.&amp;nbsp; "P6", use DMM to check connection to Gnd.&amp;nbsp; I check for connection to J6 pin 1.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #373737; font-size: 15px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; 8.&amp;nbsp; "P7", use DMM to check connection to R49.&amp;nbsp; &lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;Run application &lt;/SPAN&gt;&lt;SPAN style="color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;and use breadboard wire to validate operation.&amp;nbsp; This is "SD_DI"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #373737; font-size: 15px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;Good luck!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #373737; font-size: 15px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;myke&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337381"&gt;k22f_sd_card_01.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2016 17:29:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Adding-a-uSD-Socket-to-a-FRDM-K22F-Board/m-p/501063#M31364</guid>
      <dc:creator>myke_predko</dc:creator>
      <dc:date>2016-01-19T17:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a uSD Socket to a FRDM-K22F Board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Adding-a-uSD-Socket-to-a-FRDM-K22F-Board/m-p/501064#M31365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a demo project for the SD card on the FRDM-K22F using FatFS (attached).&lt;/P&gt;&lt;P&gt;It includes a command line shell: connect to the OpenSDA USB CDC with 38400 baud.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2016 20:16:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Adding-a-uSD-Socket-to-a-FRDM-K22F-Board/m-p/501064#M31365</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2016-01-19T20:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a uSD Socket to a FRDM-K22F Board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Adding-a-uSD-Socket-to-a-FRDM-K22F-Board/m-p/501065#M31366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry I've been quiet on the issue - I've been working through this on my own and I have posted a console interface with full read-write capability here &lt;A _jive_internal="true" href="https://community.nxp.com/message/612390"&gt;https://community.freescale.com/message/612390&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to ask you if you have tested your WRITE_MULTIPLE_BLOCK code - there seems to be some confusion on how the stop token works and it seems to me that it does not return a 0xE5 byte like the other token commands (it just returns 0xFF after it is executed).&amp;nbsp; Your SD1_SendCmd code is basically identical to the "Generic" example from ChaN's website, but when I tried to get it working, I found that 0xE5 is never returned after the 0xFD token is sent.&amp;nbsp; Looking at other examples, I discovered that the 0xFD token is just sent but nothing is checked.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm going to follow up with ChaN on this issue.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx for your help and sorry I've been quiet - I had a number of issues to resolve (the 0xFD token being one of them) as well as a few distractions.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;myke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 05:28:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Adding-a-uSD-Socket-to-a-FRDM-K22F-Board/m-p/501065#M31366</guid>
      <dc:creator>myke_predko</dc:creator>
      <dc:date>2016-02-07T05:28:32Z</dc:date>
    </item>
  </channel>
</rss>

