<?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のトピックRe: 8bit access almost done</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/8bit-access-almost-done/m-p/515996#M1442</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 Jun 17 13:49:30 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Marcellus,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've received answer back from Segger:&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Unfortunately the SSD1963 does not support a color depth of 16bpp with 8 bit interface. According to the documentation the 8 bit interface can be used only with a color depth of 24bpp. The driver GUIDRV_FlexColor currently supports only 16bpp and 18bpp. But the SSD1961 could be used with 18bpp and 8 bit interface.&lt;BR /&gt;&lt;BR /&gt;But in fact the currently existing interface routines for 8 bit bus can not be used. As explained in the emWin documentation the driver currently supports a color depth of 16bpp only for that controller. And that requires a 16 bit interface. An 8 bit interface unfortunately can not be used because it is not supported for 16bpp by that controller. We will change that in our documentation.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So unfortunately it's currently not possible to use the FlexColor driver in 8-bit mode with any display controller which is not native 16-bit. I think the previous proposed workaround it the best solution for now.&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 17:19:54 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:19:54Z</dc:date>
    <item>
      <title>8bit access almost done</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/8bit-access-almost-done/m-p/515992#M1438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by marcellus_pereira on Fri Jun 13 08:01:58 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Dear ALL,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;after reading the documentation, I was able to almost finish the job and right now my display is showing the attached image. Actually it is the message ^Hello World!^, but, obviously, twisted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I´m using the LPC2387 and my display is based on the SSD1963 (&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.agte.com.br%2Fwp-content%2Fuploads%2F2011%2F08%2FAGM-0043WT.pdf" rel="nofollow" target="_blank"&gt;http://www.agte.com.br/wp-content/uploads/2011/08/AGM-0043WT.pdf&lt;/A&gt;&lt;SPAN&gt;). I configured the emWin to 16bits of color ( GUI_DEVICE_CreateAndLink(GUIDRV_FLEXCOLOR, GUICC_565, 0, 0); ) and 8 bit access ( GUIDRV_FlexColor_SetFunc(pDevice, &amp;amp;PortAPI, GUIDRV_FLEXCOLOR_F66720, GUIDRV_FLEXCOLOR_M16C0B8); ).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is: do I have to write my own custom color conversion routines? I´m just guessing but it seems that the driver is trying to write to the hardware as the follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GGGRRRRR&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;0BBBBBGGG&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and my TFT expects:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;RRRRRRRR&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GGGGGGGG&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BBBBBBBB&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IF it´s really necessary to write my own custom color conversion routines, it will be usable with the pre-compiled emWin? Is there anyone who sucessfully used the emWin with SSD1963 and 8 bit access?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marcellus&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:19:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/8bit-access-almost-done/m-p/515992#M1438</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: 8bit access almost done</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/8bit-access-almost-done/m-p/515993#M1439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by marcellus_pereira on Fri Jun 13 17:20:46 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;After further analysis, it seems that the GUIDRV_FLEXCOLOR driver has a bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When accessing the SSD1963 using 8 bit interface and 16 bits of color, the controller expects for 3 bytes of information. The driver sends just two.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I force the third byte, the results can be seen in the pictures attached.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question now is: is it possible to compile my own driver and use it with the pre compiled library?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:19:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/8bit-access-almost-done/m-p/515993#M1439</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: 8bit access almost done</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/8bit-access-almost-done/m-p/515994#M1440</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 Mon Jun 16 11:58:00 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Marcellus,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you try replacing the following line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GUI_DEVICE_CreateAndLink(GUIDRV_FLEXCOLOR, GUICC_565, 0, 0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GUI_DEVICE_CreateAndLink(GUIDRV_FLEXCOLOR, GUICC_M888, 0, 0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this result in emWin giving three data bytes per pixel?&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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: Saw your reply on the web support, changing to GUICC_M888 does not make any difference. Then it indeed looks like a bug. I'll contact Segger to get a confirmation on this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For now, the easiest workaround may be to change the driver configuration to 16-bit mode, then chop the 16-bit int you get from emWin into three bytes and transfer these three bytes after each other over your 8-bit interface.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:19:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/8bit-access-almost-done/m-p/515994#M1440</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: 8bit access almost done</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/8bit-access-almost-done/m-p/515995#M1441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by marcellus_pereira on Tue Jun 17 11:15:28 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much, Wouter!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I made a small patch and it worked pretty well. But I´ll wait for the answer of Segger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Marcellus&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:19:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/8bit-access-almost-done/m-p/515995#M1441</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: 8bit access almost done</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/8bit-access-almost-done/m-p/515996#M1442</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 Jun 17 13:49:30 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Marcellus,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've received answer back from Segger:&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Unfortunately the SSD1963 does not support a color depth of 16bpp with 8 bit interface. According to the documentation the 8 bit interface can be used only with a color depth of 24bpp. The driver GUIDRV_FlexColor currently supports only 16bpp and 18bpp. But the SSD1961 could be used with 18bpp and 8 bit interface.&lt;BR /&gt;&lt;BR /&gt;But in fact the currently existing interface routines for 8 bit bus can not be used. As explained in the emWin documentation the driver currently supports a color depth of 16bpp only for that controller. And that requires a 16 bit interface. An 8 bit interface unfortunately can not be used because it is not supported for 16bpp by that controller. We will change that in our documentation.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So unfortunately it's currently not possible to use the FlexColor driver in 8-bit mode with any display controller which is not native 16-bit. I think the previous proposed workaround it the best solution for now.&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 17:19:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/8bit-access-almost-done/m-p/515996#M1442</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: 8bit access almost done</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/8bit-access-almost-done/m-p/515997#M1443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by marcellus_pereira on Tue Jun 17 15:11:13 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much, Wouter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Marcellus&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:19:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/8bit-access-almost-done/m-p/515997#M1443</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: 8bit access almost done</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/8bit-access-almost-done/m-p/515998#M1444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marcellus,&lt;/P&gt;&lt;P&gt;I'm having a similar problem with the same display. It seems that the display is in monochromatic colors (orr some shades of gray). Did you face something similar when you worked with it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Mauro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 14:59:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/8bit-access-almost-done/m-p/515998#M1444</guid>
      <dc:creator>maurolenz</dc:creator>
      <dc:date>2017-03-22T14:59:37Z</dc:date>
    </item>
  </channel>
</rss>

