<?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: Implementing SD Card on CW10.6 Via Processor Expert and MCF51QE128  CFv1 MCU - help! in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Implementing-SD-Card-on-CW10-6-Via-Processor-Expert-and/m-p/1189284#M14021</link>
    <description>&lt;P&gt;Thank you!&lt;BR /&gt;Actually, the problem seems definitely to be that the SPI1 is NOT moving to the PTE pins.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will post that question as a separate issue in a moment.&lt;/P&gt;&lt;P&gt;Cheers!&lt;BR /&gt;&amp;lt;jeff&amp;gt;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 21:58:35 GMT</pubDate>
    <dc:creator>jmullen_condose</dc:creator>
    <dc:date>2020-11-25T21:58:35Z</dc:date>
    <item>
      <title>Implementing SD Card on CW10.6 Via Processor Expert and MCF51QE128  CFv1 MCU - help!</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Implementing-SD-Card-on-CW10-6-Via-Processor-Expert-and/m-p/1187053#M14011</link>
      <description>&lt;P&gt;Hello there!&lt;/P&gt;&lt;P&gt;I have a working system (security keypad application) using MCF51QE128CLH MCU (64 pin) running with an 8MHz external crystal, needed for backwards compatibility with some legacy systems we still support. I could swap this and run it much faster for this new application, not a problem at all, but I don't think this is my current problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It used SPI2 for a Touchscreen device currently, SPI1 is not used and the pins are free on the MCU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wish to add a MicroSD Card to the PCB. The connections are pretty easy, and I added this to turn on the Pullup on MISO, as I read this pullup is needed to get the SD card started into SPI mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Needed for SPI MISO to SD Card interface&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; setReg8Bits(PTEPE, 0x04);&amp;nbsp;&amp;nbsp; //turn on PTE2 Pullup ON&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far, so good.&lt;/P&gt;&lt;P&gt;After trying to figure out the Pex settings, adding SD_Card and an SPI controller Component, I found setting information here on:&lt;/P&gt;&lt;P&gt;&lt;A href="https://mcuoneclipse.com/2014/05/26/tutorial-data-logger-with-the-frdm-k64f-board/" target="_blank"&gt;https://mcuoneclipse.com/2014/05/26/tutorial-data-logger-with-the-frdm-k64f-board/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Due to the current 8MHz crystal on the PCB, I am using 125Khz for low speed and 2MHZ for high speed for the SPI to SD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This article was very good, but it is for Kinetis but I am using CW10.6 and ColdfireV1 MCU, so much of the setting procedure is different with my CFv1 Pex Beans. I have spent enough time on this now that I have just been throwing combinations of settings at it, trying to get it to work, which clearly is not the best way!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Therefore, has anyone successfully added SD Card to a CFv1 MCU like my MCF51QE128 and can spell out the exact Pex settings for me, or knows of a clear step-by-step tutorial to implement this for my MCU and CW10.6 Pex beans? Erich's excellent K64F is not quite enough to get my understanding over the finish line.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;jeff&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 00:39:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Implementing-SD-Card-on-CW10-6-Via-Processor-Expert-and/m-p/1187053#M14011</guid>
      <dc:creator>jmullen_condose</dc:creator>
      <dc:date>2020-11-23T00:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing SD Card on CW10.6 Via Processor Expert and MCF51QE128  CFv1 MCU - help!</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Implementing-SD-Card-on-CW10-6-Via-Processor-Expert-and/m-p/1187748#M14014</link>
      <description>&lt;P&gt;Sorry this is not with processor expert&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but please check the following application note, it can help you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4115.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN4115.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a good day.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 23:57:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Implementing-SD-Card-on-CW10-6-Via-Processor-Expert-and/m-p/1187748#M14014</guid>
      <dc:creator>vicentegomez</dc:creator>
      <dc:date>2020-11-23T23:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing SD Card on CW10.6 Via Processor Expert and MCF51QE128  CFv1 MCU - help!</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Implementing-SD-Card-on-CW10-6-Via-Processor-Expert-and/m-p/1189284#M14021</link>
      <description>&lt;P&gt;Thank you!&lt;BR /&gt;Actually, the problem seems definitely to be that the SPI1 is NOT moving to the PTE pins.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will post that question as a separate issue in a moment.&lt;/P&gt;&lt;P&gt;Cheers!&lt;BR /&gt;&amp;lt;jeff&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 21:58:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Implementing-SD-Card-on-CW10-6-Via-Processor-Expert-and/m-p/1189284#M14021</guid>
      <dc:creator>jmullen_condose</dc:creator>
      <dc:date>2020-11-25T21:58:35Z</dc:date>
    </item>
  </channel>
</rss>

