<?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: TWR-LCD with eGUI (D4D) and MQX on TWR-K70F120M in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251234#M7108</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm so sorry for the MQX behaviour, maybe It could be interesting see the code and scope screen shot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But back to the eGUI, some time ago I did one example on K70 and TWR-LCD so at least in attachment you could find my configuration files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The project runs on MQX 3.8.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards&lt;/P&gt;&lt;P&gt;Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Apr 2013 07:32:46 GMT</pubDate>
    <dc:creator>Gargy</dc:creator>
    <dc:date>2013-04-05T07:32:46Z</dc:date>
    <item>
      <title>TWR-LCD with eGUI (D4D) and MQX on TWR-K70F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251231#M7105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to set up a TWR-LCD Module on a TWR-K70F120M using MQX 4.0 and the eGUI D4D driver.&lt;/P&gt;&lt;P&gt;I configured the d4d_user_config.h to use SPI on MQX and the SSD1289 controller.&lt;/P&gt;&lt;P&gt;I checked the D/C and CS signals and the DIP switches, still I can't see anything on the screen.&lt;/P&gt;&lt;P&gt;On the scope I noticed the SCK signal keeping on clocking another 16 times with DATA=0 although 16 bits have already been send with "fwrite ( &amp;amp;p_color, 2, 1, spi_fd);", what seems strange to me.&lt;/P&gt;&lt;P&gt;I compared to the SCK signal produced by the TWR-LCD onboard CPU with the working JM128_BL_EGUI_SPI example which does not have this extra "empty word" beeing sent.&lt;/P&gt;&lt;P&gt;The eGUI version 2.1 seems to have support for K60 devices. What changes are needed to get the K70 working under MQX?&lt;/P&gt;&lt;P&gt;Can anybody help me? Does someone have some code already running for my setup?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 12:29:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251231#M7105</guid>
      <dc:creator>friederschrempf</dc:creator>
      <dc:date>2013-04-03T12:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-LCD with eGUI (D4D) and MQX on TWR-K70F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251232#M7106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EGUI for K70 is working by default with TWR-LCD-RGB, using LCDC module. TWR-LCD could also work, but you need to do some hardware rework if you want to enable the Touch screen. I suggest you to use TWR-LCD-RGB with TWR-K70&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 15:42:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251232#M7106</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2013-04-03T15:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-LCD with eGUI (D4D) and MQX on TWR-K70F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251233#M7107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply. I know of the K70 supporting direct LCDC control.&lt;/P&gt;&lt;P&gt;In the moment I just want to use the display I already have. To me this seems more like a SPI problem. I exchanged the "fwrite ( &amp;amp;p_color, 2, 1, spi_fd);" command in the D4D driver with the send command of the Processor Expert SPI component. Now I get something on the screen at least, but the picture is a real mess and not what it supposed to look like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 06:17:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251233#M7107</guid>
      <dc:creator>friederschrempf</dc:creator>
      <dc:date>2013-04-04T06:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-LCD with eGUI (D4D) and MQX on TWR-K70F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251234#M7108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm so sorry for the MQX behaviour, maybe It could be interesting see the code and scope screen shot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But back to the eGUI, some time ago I did one example on K70 and TWR-LCD so at least in attachment you could find my configuration files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The project runs on MQX 3.8.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards&lt;/P&gt;&lt;P&gt;Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 07:32:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251234#M7108</guid>
      <dc:creator>Gargy</dc:creator>
      <dc:date>2013-04-05T07:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-LCD with eGUI (D4D) and MQX on TWR-K70F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251235#M7109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your support.&lt;/P&gt;&lt;P&gt;The code is from unmodified d4dlcdhw_mqx_spi.c file. The SPI frame size is set to 16 bits. Then a word is sent with fwrite ( &amp;amp;p_color, 2, 1, spi_fd). I expect one burst of 16 bits on the SPI port. Instead I get two bursts with 16 bit, one containing the high-byte and an empty byte and one containing the low byte and an empty byte.&lt;/P&gt;&lt;P&gt;Unfortunately I can't post a scope screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your config files. Unfortunately they are the same as the unmodified files that I already tested. Are you sure that you used them with K70 as there are only directives for K40 and K60 set in d4dlcdhw_mqx_spi_cfg?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Frieder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 07:57:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251235#M7109</guid>
      <dc:creator>friederschrempf</dc:creator>
      <dc:date>2013-04-05T07:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-LCD with eGUI (D4D) and MQX on TWR-K70F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251236#M7110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Frieder,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the behavior described is caused by a bug in the 4.0 DSPI driver (spi_dspi_c, line 562).&lt;/P&gt;&lt;P&gt;Please apply the patch below to solves the issue. This change is going to be included in 4.0.2 release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Pavel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;diff --git a/mqx/source/io/spi/spi_dspi.c b/mqx/source/io/spi/spi_dspi.c
index 1657484..62f03f4 100644
--- a/mqx/source/io/spi/spi_dspi.c
+++ b/mqx/source/io/spi/spi_dspi.c
@@ -559,7 +559,7 @@ static _mqx_int _dspi_tx_rx
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (DSPI_CTAR_FMSZ_GET(dspi_ptr-&amp;gt;CTAR[0]) &amp;gt; 7)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; len = len &amp;amp; (~1UL);
-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rx_len = tx_len = len;
+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rx_len = tx_len = len/2;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (rx_len)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {

&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 12:19:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251236#M7110</guid>
      <dc:creator>pavel_chromy</dc:creator>
      <dc:date>2013-04-09T12:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-LCD with eGUI (D4D) and MQX on TWR-K70F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251237#M7111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the hint.&lt;/P&gt;&lt;P&gt;This fix indeed solves the problem that too much SPI frames are sent.&lt;/P&gt;&lt;P&gt;But I still can't get the LCD working with standard SPI driver.&lt;/P&gt;&lt;P&gt;Is there a possibility to enable CS signal toggling? This option exists in the Processor Expert SPI component, but I can't see it in the standard SPI driver. The CS signal stays active constantly.&lt;/P&gt;&lt;P&gt;Using the PE SPI component I succeeded in getting a picture on the screen, but there still remain some pixel and color errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 13:13:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251237#M7111</guid>
      <dc:creator>friederschrempf</dc:creator>
      <dc:date>2013-04-09T13:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-LCD with eGUI (D4D) and MQX on TWR-K70F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251238#M7112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Frieder,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CS toggling is a specific feature of DSPI and thus it is not part of the generic SPI API, however it might be implemented as a DSPI specific IOCTL in the future. As for now the only way to toggle CS is to write words one by one followed by a call to fflush.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are still experiencing problems even with PE driver with toggling I recommend you to have a look for the check the wiring or PCB routing, especially check the CLK signal with a scope and/or logical analyser.&lt;/P&gt;&lt;P&gt;If there is an issue with SCK signal, lowering the baudrate might help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Pavel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 14:42:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251238#M7112</guid>
      <dc:creator>pavel_chromy</dc:creator>
      <dc:date>2013-04-09T14:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-LCD with eGUI (D4D) and MQX on TWR-K70F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251239#M7113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem on my TWR-K40X256. I can't get to work an LCD display on TWR-LCD module with SPI communication. EBI works fine but i can't use it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am using MQX4 and eGUI3.0.&lt;BR /&gt;Under MQX3.7 and older eGUI my project worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 07:14:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251239#M7113</guid>
      <dc:creator>big_steve</dc:creator>
      <dc:date>2013-04-29T07:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-LCD with eGUI (D4D) and MQX on TWR-K70F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251240#M7114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, look at the Pavel Chromy solution.&lt;/P&gt;&lt;P&gt;Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 09:28:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251240#M7114</guid>
      <dc:creator>Gargy</dc:creator>
      <dc:date>2013-04-29T09:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-LCD with eGUI (D4D) and MQX on TWR-K70F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251241#M7115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried it but it still doesn't work.&lt;BR /&gt;I try to solve it other way. I 'll make EBI pins free, and connect my sensors to other pins.&lt;BR /&gt;My sensors are connected to pins B76..B80. They shouldn't be used for EBI acording to TWR-LCD datasheet but when my sensor are connected to B76..B80 pins LCD doesn't work. It looks so that B76..B80 are with A76..A80 somehow connected.&lt;/P&gt;&lt;P&gt;Yesterday i started about that a new topic: &lt;A href="https://community.nxp.com/thread/306778"&gt;Are pins B73..B80 used by EBI of TWR-LCD?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 20:23:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-LCD-with-eGUI-D4D-and-MQX-on-TWR-K70F120M/m-p/251241#M7115</guid>
      <dc:creator>big_steve</dc:creator>
      <dc:date>2013-04-29T20:23:40Z</dc:date>
    </item>
  </channel>
</rss>

