<?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>LPC MicrocontrollersのトピックCan we configure Emwin for 16 bit data transfer for our 8 bit data lines ??</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-we-configure-Emwin-for-16-bit-data-transfer-for-our-8-bit/m-p/524252#M6888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by AkshayHV on Mon Oct 28 23:37:35 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;hello i m trying to work my 4.3 inch TFT having a SSD 1963 contoller interfacing with LPC1768 but 8 bit transmission is not working properly so my question is can i configure EMWIN for 16 bit transmission even though my data lines are 8 is it possible to do it .if yes how to modify the drivers of the LCD controller below are my 8 bit transmitting functions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Akshay H V &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;void Write_Command (unsigned char command)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_RD_SET();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // /RD=1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_A0_CLR();// D/C=0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_WR_CLR(); // /WR=0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_CS_CLR(); // /CS=0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Data_BUS&amp;nbsp; = command &amp;lt;&amp;lt; 19; // Data Bus OUT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_CS_SET(); // /CS=1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_WR_SET(); // /WR=1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;void Write_Data (unsigned char data1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_RD_SET();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_A0_SET();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_WR_CLR();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_CS_CLR();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Data_BUS&amp;nbsp; = data1&amp;lt;&amp;lt;19;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_CS_SET();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_WR_SET();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&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-337927"&gt;SSD_1963_TFT.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:06:16 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:06:16Z</dc:date>
    <item>
      <title>Can we configure Emwin for 16 bit data transfer for our 8 bit data lines ??</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-we-configure-Emwin-for-16-bit-data-transfer-for-our-8-bit/m-p/524252#M6888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by AkshayHV on Mon Oct 28 23:37:35 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;hello i m trying to work my 4.3 inch TFT having a SSD 1963 contoller interfacing with LPC1768 but 8 bit transmission is not working properly so my question is can i configure EMWIN for 16 bit transmission even though my data lines are 8 is it possible to do it .if yes how to modify the drivers of the LCD controller below are my 8 bit transmitting functions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Akshay H V &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;void Write_Command (unsigned char command)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_RD_SET();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // /RD=1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_A0_CLR();// D/C=0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_WR_CLR(); // /WR=0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_CS_CLR(); // /CS=0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Data_BUS&amp;nbsp; = command &amp;lt;&amp;lt; 19; // Data Bus OUT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_CS_SET(); // /CS=1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_WR_SET(); // /WR=1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;void Write_Data (unsigned char data1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_RD_SET();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_A0_SET();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_WR_CLR();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_CS_CLR();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Data_BUS&amp;nbsp; = data1&amp;lt;&amp;lt;19;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_CS_SET();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IC_WR_SET();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&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-337927"&gt;SSD_1963_TFT.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:06:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-we-configure-Emwin-for-16-bit-data-transfer-for-our-8-bit/m-p/524252#M6888</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can we configure Emwin for 16 bit data transfer for our 8 bit data lines ??</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-we-configure-Emwin-for-16-bit-data-transfer-for-our-8-bit/m-p/524253#M6889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Wouter on Tue Oct 29 07:01:32 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you explain why 8-bit bus access is not working? There is no reason why the 8-bit driver is not working and the 16-bit driver would work, especially since you're using an 8-bit bus ;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Did you verify your read/write cmd/data routines are OK? Looks like you're using the 8080 mode (since you have a separate read/write signal), but your implementation does not seem correct. Have a look at the datasheet (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.techtoys.com.hk%2FComponents%2FSSD1963QL9%2FSSD1963_1.1.pdf" rel="nofollow" target="_blank"&gt;http://www.techtoys.com.hk/Components/SSD1963QL9/SSD1963_1.1.pdf&lt;/A&gt;&lt;SPAN&gt;). Page 16 tells: "If the WR# goes low when the CS# signal is low, the data or command will be latched into the system at the rising edge of WR#." Page 83 shows the right timing diagram.In your code you're making WR low before making CS low which will not work. Hook-up a scope/logical analyzer and make sure all signals are correct.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then try reading/writing registers, confirming your read/write commands are OK. Next step is to verify you can read/write pixels from/to the display. Then as final step, connect your proven-to-work low-level driver to emWin. Trying to make it work with emWin without the previous steps will only make things more complicated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;One other thing I noted: In your initialization (Initial_SSD1963()) your comments say you configure the display for 18-bit mode. However, the emWin driver manual states it does not support 18-bit mode for the SSD1963: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.segger.com%2Fguidrv_flexcolor.html" rel="nofollow" target="_blank"&gt;http://www.segger.com/guidrv_flexcolor.html&lt;/A&gt;&lt;SPAN&gt;. Only 16bpp and 8bpp are supported.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wouter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:06:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-we-configure-Emwin-for-16-bit-data-transfer-for-our-8-bit/m-p/524253#M6889</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can we configure Emwin for 16 bit data transfer for our 8 bit data lines ??</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-we-configure-Emwin-for-16-bit-data-transfer-for-our-8-bit/m-p/524254#M6890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by AkshayHV on Wed Oct 30 03:09:14 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Wouter&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Thanks for the reply, I checked the read and write to the register its is working fine when without Emwin and the CS pin also I changed as per your reply and the 16 bit you told but SSD can only support either 18 or 24 bit please refer the document(page no 8) &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.allshore.com%2Fpdf%2Fsolomon_systech_ssd1963.pdf" rel="nofollow" target="_blank"&gt;http://www.allshore.com/pdf/solomon_systech_ssd1963.pdf&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; and kindly reply and I am using 565 RGB interface.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Akshay H V &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:06:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-we-configure-Emwin-for-16-bit-data-transfer-for-our-8-bit/m-p/524254#M6890</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can we configure Emwin for 16 bit data transfer for our 8 bit data lines ??</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-we-configure-Emwin-for-16-bit-data-transfer-for-our-8-bit/m-p/524255#M6891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Wouter on Wed Oct 30 07:12:39 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Akshay,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see, that command just configures the LCD interface, not the MCU interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll need some more information to be able to help you further.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You have not mentioned what the problem exactly is. A description/picture of the problem would be definitely help ;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Furthermore I'm missing the driver init code, e.g. where you call GUIDRV_FlexColor_SetFunc().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wouter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:06:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-we-configure-Emwin-for-16-bit-data-transfer-for-our-8-bit/m-p/524255#M6891</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:06:18Z</dc:date>
    </item>
  </channel>
</rss>

