<?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 + TWRLCD + TWRMCF52259 in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/SD-CARD-TWRLCD-TWRMCF52259/m-p/163704#M1424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem was solved setting as input with internal pullups the PORTE [4:7] of MCF51JM on TWRLCD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the example work fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your aswer PetrM...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Nov 2010 05:23:08 GMT</pubDate>
    <dc:creator>M_ttferrari</dc:creator>
    <dc:date>2010-11-19T05:23:08Z</dc:date>
    <item>
      <title>SD CARD + TWRLCD + TWRMCF52259</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/SD-CARD-TWRLCD-TWRMCF52259/m-p/163701#M1421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI, I'm trying to find the way to read/write an SD card on TWRLCD handled by TWRMCF52259. I'm following the sdcard example of MQX 3.6.1 (msf/examples/sdcard), the example work fine until line where it need be open with fopen("sdcard:",0) -&amp;gt; this function return a NULL handle, so the sd_task, then, is blocked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know where continue finding out... Any ideas about what it is happening??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Nov 2010 04:26:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/SD-CARD-TWRLCD-TWRMCF52259/m-p/163701#M1421</guid>
      <dc:creator>M_ttferrari</dc:creator>
      <dc:date>2010-11-18T04:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: SD CARD + TWRLCD + TWRMCF52259</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/SD-CARD-TWRLCD-TWRMCF52259/m-p/163702#M1422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is standard behaviour when SD card cannot be initialized (mostly due to SPI/eSDHC communication problems).&lt;/P&gt;&lt;P&gt;I'm suggesting to run it without TWRLCD. If that works, the problem is in SPI connections.&lt;/P&gt;&lt;P&gt;On twrmcf52259, the QSPI is connected to both SPI0 and SPI1 pins on elevator port B. Please check all those connections if they interfere with&amp;nbsp;something on LCD board (check also LCD jumpers/switches).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PetrM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 00:02:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/SD-CARD-TWRLCD-TWRMCF52259/m-p/163702#M1422</guid>
      <dc:creator>PetrM</dc:creator>
      <dc:date>2010-11-19T00:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: SD CARD + TWRLCD + TWRMCF52259</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/SD-CARD-TWRLCD-TWRMCF52259/m-p/163703#M1423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PetrM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I run it without TWRLCD I won't have a SD card Slot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LDC switch configurations are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SW1/JP1=OFF,&amp;nbsp;SW1/JP2=ON,&amp;nbsp;SW1/JP3=ON,&amp;nbsp;SW1/JP4=ON,&amp;nbsp;SW1/JP5=ON,&amp;nbsp;SW1/JP6=OFF,&amp;nbsp;SW1/JP7=ON,&amp;nbsp;SW1/JP8=OFF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="white-space: pre;"&gt;I&lt;/SPAN&gt;'m suspecting that some defines like BSP_SDCARD_GPIO_CS, BSP_SDCARD_GPIO_DETECT, BSP_SDCARD_GPIO_PROTECT and BSP_SDCARD_SPI_CHANNEL all of these define are in twrmcf52259.h, but I don't know where the project is doing refece to this file because when I search "twrmcf52259.h" inside the project I don't have any results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By other hand, demo.c has some conditional compiles, one of them is #if defined BSP_SDCARD_GPIO_CS at least that I define this macro in demo.c, this conditional compilation line doesn't compile even if I include twrmcf52259.h a quite rare situation, doesn't it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I don't know if I need BSP_SDCARD_GPIO_SC or not and, I don't know too, what is it happening with QSPI...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 01:30:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/SD-CARD-TWRLCD-TWRMCF52259/m-p/163703#M1423</guid>
      <dc:creator>M_ttferrari</dc:creator>
      <dc:date>2010-11-19T01:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: SD CARD + TWRLCD + TWRMCF52259</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/SD-CARD-TWRLCD-TWRMCF52259/m-p/163704#M1424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem was solved setting as input with internal pullups the PORTE [4:7] of MCF51JM on TWRLCD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the example work fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your aswer PetrM...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 05:23:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/SD-CARD-TWRLCD-TWRMCF52259/m-p/163704#M1424</guid>
      <dc:creator>M_ttferrari</dc:creator>
      <dc:date>2010-11-19T05:23:08Z</dc:date>
    </item>
  </channel>
</rss>

