<?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 emWin Configuration for LPC 1bpp palette mode in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/emWin-Configuration-for-LPC-1bpp-palette-mode/m-p/515771#M1340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by sonne123 on Fri Dec 18 15:06:24 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;My LPC1788 board works fine in 1bpp palette mode on attached display. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pictures are getting displayed with two predefined palette colors when copying emWin generated bitmap from flash to _aVRAM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When implementing emWin libraries to display same picture, I am either getting hard faults or my display just shows first palette color full screen:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GUI_Init();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GUI_CreateDialogBox(_aDialogCreate, GUI_COUNTOF(_aDialogCreate), &amp;amp;_cbDialog, 0, 0, 0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please answer/confirm:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. What emWin display driver is required? GUIDRV_Lin_1_API?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. What color conversion setting is required? GUICC_0?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Do I need to set my palette data through LCD_SetLUTEntryEx() or some other function?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Will 8k be sufficient for emWin to simply display a 1bpp bitmap? (additional frame buffer for LPC display controller)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your replies in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:19:17 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:19:17Z</dc:date>
    <item>
      <title>emWin Configuration for LPC 1bpp palette mode</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/emWin-Configuration-for-LPC-1bpp-palette-mode/m-p/515771#M1340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by sonne123 on Fri Dec 18 15:06:24 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;My LPC1788 board works fine in 1bpp palette mode on attached display. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pictures are getting displayed with two predefined palette colors when copying emWin generated bitmap from flash to _aVRAM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When implementing emWin libraries to display same picture, I am either getting hard faults or my display just shows first palette color full screen:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GUI_Init();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GUI_CreateDialogBox(_aDialogCreate, GUI_COUNTOF(_aDialogCreate), &amp;amp;_cbDialog, 0, 0, 0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please answer/confirm:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. What emWin display driver is required? GUIDRV_Lin_1_API?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. What color conversion setting is required? GUICC_0?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Do I need to set my palette data through LCD_SetLUTEntryEx() or some other function?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Will 8k be sufficient for emWin to simply display a 1bpp bitmap? (additional frame buffer for LPC display controller)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your replies in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:19:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/emWin-Configuration-for-LPC-1bpp-palette-mode/m-p/515771#M1340</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:19:17Z</dc:date>
    </item>
  </channel>
</rss>

