<?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: Communicating to a SD card using HCS08QG8's SPI module in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Communicating-to-a-SD-card-using-HCS08QG8-s-SPI-module/m-p/431484#M21485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Hello Sara,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;In this case like to recommend the Application Note &lt;STRONG&gt;AN4115&lt;/STRONG&gt;, especially the &lt;STRONG&gt;Chapter 4 'SD card file system'&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/microcontrollers/doc/app_note/AN4115.pdf" title="http://www.freescale.com/files/microcontrollers/doc/app_note/AN4115.pdf"&gt;IrDA Driver and SD Card File System on MM/JE Flexis Families - AN4115&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;The document explains the configuration of the SPI module to establish communication with an SD card.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline; font-family: arial,helvetica,sans-serif;"&gt;The AN4115SW is attached.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;As the AN4115 mentions, in order to get detailed information about accessing an SD card through an SPI module, you can refer to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/microcontrollers/doc/ref_manual/DRM104.pdf" title="http://www.freescale.com/files/microcontrollers/doc/ref_manual/DRM104.pdf"&gt;SD Card Reader Using the M9S08JM60 Series&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black;"&gt;I hope this material will be useful for you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black;"&gt;If I misunderstood your question, feel free to let me know.&amp;nbsp; I will be glad to help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black;"&gt;Have a great day.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black;"&gt;David Diaz.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Nov 2015 17:55:01 GMT</pubDate>
    <dc:creator>david_diaz</dc:creator>
    <dc:date>2015-11-04T17:55:01Z</dc:date>
    <item>
      <title>Communicating to a SD card using HCS08QG8's SPI module</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Communicating-to-a-SD-card-using-HCS08QG8-s-SPI-module/m-p/431483#M21484</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 rookie on MCU programming. &lt;/P&gt;&lt;P&gt;I have been trying to communicate a sd card memory (1GB) to a HCS08QG8 MCU but I don't know how to do this. I've been using some sample codes from the Code Warrior IDE, I configurated the clock and CPU settings as suggested. By using a protoboard I connected SS pin to CS pin, MOSI pin to Indata pin, MISO pin to Outdata pin, SPSCK pin to CLK pin and the others (GND and VSS pins to the board power supply).&lt;/P&gt;&lt;P&gt;PS: I am using the kit DEMO9S08QG8, and for these connections I used the kit's J1 connector.&lt;/P&gt;&lt;P&gt;I think the major problem is on the code and pins' configurations. I've been testing and it was supposed to write a file on the SD card. But when I read the SD by in a PC it was empty.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sara Mt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 21:57:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Communicating-to-a-SD-card-using-HCS08QG8-s-SPI-module/m-p/431483#M21484</guid>
      <dc:creator>sarasouza</dc:creator>
      <dc:date>2015-10-26T21:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Communicating to a SD card using HCS08QG8's SPI module</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Communicating-to-a-SD-card-using-HCS08QG8-s-SPI-module/m-p/431484#M21485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Hello Sara,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;In this case like to recommend the Application Note &lt;STRONG&gt;AN4115&lt;/STRONG&gt;, especially the &lt;STRONG&gt;Chapter 4 'SD card file system'&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/microcontrollers/doc/app_note/AN4115.pdf" title="http://www.freescale.com/files/microcontrollers/doc/app_note/AN4115.pdf"&gt;IrDA Driver and SD Card File System on MM/JE Flexis Families - AN4115&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;The document explains the configuration of the SPI module to establish communication with an SD card.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline; font-family: arial,helvetica,sans-serif;"&gt;The AN4115SW is attached.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;As the AN4115 mentions, in order to get detailed information about accessing an SD card through an SPI module, you can refer to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/microcontrollers/doc/ref_manual/DRM104.pdf" title="http://www.freescale.com/files/microcontrollers/doc/ref_manual/DRM104.pdf"&gt;SD Card Reader Using the M9S08JM60 Series&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black;"&gt;I hope this material will be useful for you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black;"&gt;If I misunderstood your question, feel free to let me know.&amp;nbsp; I will be glad to help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black;"&gt;Have a great day.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black;"&gt;David Diaz.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 17:55:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Communicating-to-a-SD-card-using-HCS08QG8-s-SPI-module/m-p/431484#M21485</guid>
      <dc:creator>david_diaz</dc:creator>
      <dc:date>2015-11-04T17:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Communicating to a SD card using HCS08QG8's SPI module</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Communicating-to-a-SD-card-using-HCS08QG8-s-SPI-module/m-p/431485#M21486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;thank you for answering me! I'll study your recommendations and I'll try&lt;/P&gt;&lt;P&gt;again...&lt;/P&gt;&lt;P&gt;Actually I am trying to use the SPI module at least.&lt;/P&gt;&lt;P&gt;If I have more questions I'll ask you again!&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2015-11-04 15:55 GMT-02:00 david_diaz &amp;lt;admin@community.freescale.com&amp;gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;http://jiveon.jivesoftware.com/mpss/c/4QA/PDcDAA/t.1ru/8UKLOgZxTz2or6gf_D6Gig/h0/eqhG5v9o4WV1pCmWaB03cUjBPgRj-2F3GoJUaXSZ409bQ-3D&amp;gt; Communicating&lt;/P&gt;&lt;P&gt;to a SD card using HCS08QG8's SPI module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from David Diaz Marin&lt;/P&gt;&lt;P&gt;&amp;lt;http://jiveon.jivesoftware.com/mpss/c/4QA/PDcDAA/t.1ru/8UKLOgZxTz2or6gf_D6Gig/h1/eqhG5v9o4WV1pCmWaB03cUjBPgRj-2F3GoJUaXSZ409bThrj-2BSoW6vpPMNaq-2F-2FiSlgaySbkqlxXuh-2FKm2Pa-2BI-2FFlp5llnWJS5dcqZQGpRUHBg-3D&amp;gt;&lt;/P&gt;&lt;P&gt;in &lt;STRONG&gt;8-bit Microcontrollers&lt;/STRONG&gt; - View the full discussion&lt;/P&gt;&lt;P&gt;&amp;lt;http://jiveon.jivesoftware.com/mpss/c/4QA/PDcDAA/t.1ru/8UKLOgZxTz2or6gf_D6Gig/h2/eqhG5v9o4WV1pCmWaB03cUjBPgRj-2F3GoJUaXSZ409bStWagzMPTBfNI2Gl5bHZy9xsuixBC0C4r1gOW4QPO9iTithxEJq7QMpWt0h2SnS2Q-3D&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 21:08:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Communicating-to-a-SD-card-using-HCS08QG8-s-SPI-module/m-p/431485#M21486</guid>
      <dc:creator>sarasouza</dc:creator>
      <dc:date>2015-11-09T21:08:54Z</dc:date>
    </item>
  </channel>
</rss>

