<?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>i.MX RT Crossover MCUsのトピックNXP emWin multilayer issue</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/NXP-emWin-multilayer-issue/m-p/1269465#M14005</link>
    <description>&lt;P&gt;Hello I've tried to configure the NXP emWin example for the i.mxrt1170 evaluation board as&amp;nbsp; multilayer,&amp;nbsp;&lt;/P&gt;&lt;P&gt;the following steps have been done:&lt;/P&gt;&lt;P&gt;1) in GUIConf.h set the&amp;nbsp;&amp;nbsp;GUI_NUM_LAYERS 2&lt;/P&gt;&lt;P&gt;2) emWin_support.c configured in LCD_X_Config(void) :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pPointer = GUI_DEVICE_CreateAndLink(DISPLAY_DRIVER, COLOR_CONVERSION, 0, 1);&lt;BR /&gt;#ifdef ORIGINAL_FIRMWARE // modified by C.L.&lt;BR /&gt;LCD_SetSizeEx(0, LCD_WIDTH, LCD_HEIGHT);&lt;BR /&gt;LCD_SetVSizeEx(0, LCD_WIDTH, LCD_HEIGHT);&lt;BR /&gt;#endif&lt;BR /&gt;if (LCD_GetSwapXY()) {&lt;BR /&gt;LCD_SetSizeEx (0, LCD_HEIGHT, LCD_WIDTH);&lt;BR /&gt;LCD_SetVSizeEx(0, LCD_HEIGHT, LCD_WIDTH);&lt;BR /&gt;} else {&lt;BR /&gt;LCD_SetSizeEx (0, LCD_WIDTH, LCD_HEIGHT);&lt;BR /&gt;LCD_SetVSizeEx(0, LCD_WIDTH, LCD_HEIGHT);&lt;BR /&gt;}&lt;BR /&gt;LCD_SetVRAMAddrEx(0, (void *)VRAM_ADDR);&lt;BR /&gt;LCD_SetVisEx(0,1);&lt;BR /&gt;// set the layer 1&lt;BR /&gt;pPoint = GUI_DEVICE_CreateAndLink(DISPLAY_DRIVER, COLOR_CONVERSION, 0, 1);&lt;BR /&gt;if (LCD_GetSwapXY()) {&lt;BR /&gt;LCD_SetSizeEx (1, LCD_HEIGHT, LCD_WIDTH);&lt;BR /&gt;LCD_SetVSizeEx(1, LCD_HEIGHT, LCD_WIDTH);&lt;BR /&gt;} else {&lt;BR /&gt;LCD_SetSizeEx (1, LCD_WIDTH, LCD_HEIGHT);&lt;BR /&gt;LCD_SetVSizeEx(1, LCD_WIDTH, LCD_HEIGHT);&lt;BR /&gt;}&lt;BR /&gt;LCD_SetVRAMAddrEx(1, (void *)VRAM_ADDR);&lt;BR /&gt;LCD_SetVisEx(1,1);&lt;/P&gt;&lt;P&gt;but the layer 1 has never been created and the pointer returns weird data.... Has someone same issues? Is there&amp;nbsp; a specific library libemWin_M7.a configured just for one layer?&lt;/P&gt;&lt;P&gt;In the attached pictures the returns value for the Layer0 correctly created and Layer1 that doesn't work.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Apr 2021 07:42:53 GMT</pubDate>
    <dc:creator>claudio_legena</dc:creator>
    <dc:date>2021-04-28T07:42:53Z</dc:date>
    <item>
      <title>NXP emWin multilayer issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/NXP-emWin-multilayer-issue/m-p/1269465#M14005</link>
      <description>&lt;P&gt;Hello I've tried to configure the NXP emWin example for the i.mxrt1170 evaluation board as&amp;nbsp; multilayer,&amp;nbsp;&lt;/P&gt;&lt;P&gt;the following steps have been done:&lt;/P&gt;&lt;P&gt;1) in GUIConf.h set the&amp;nbsp;&amp;nbsp;GUI_NUM_LAYERS 2&lt;/P&gt;&lt;P&gt;2) emWin_support.c configured in LCD_X_Config(void) :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pPointer = GUI_DEVICE_CreateAndLink(DISPLAY_DRIVER, COLOR_CONVERSION, 0, 1);&lt;BR /&gt;#ifdef ORIGINAL_FIRMWARE // modified by C.L.&lt;BR /&gt;LCD_SetSizeEx(0, LCD_WIDTH, LCD_HEIGHT);&lt;BR /&gt;LCD_SetVSizeEx(0, LCD_WIDTH, LCD_HEIGHT);&lt;BR /&gt;#endif&lt;BR /&gt;if (LCD_GetSwapXY()) {&lt;BR /&gt;LCD_SetSizeEx (0, LCD_HEIGHT, LCD_WIDTH);&lt;BR /&gt;LCD_SetVSizeEx(0, LCD_HEIGHT, LCD_WIDTH);&lt;BR /&gt;} else {&lt;BR /&gt;LCD_SetSizeEx (0, LCD_WIDTH, LCD_HEIGHT);&lt;BR /&gt;LCD_SetVSizeEx(0, LCD_WIDTH, LCD_HEIGHT);&lt;BR /&gt;}&lt;BR /&gt;LCD_SetVRAMAddrEx(0, (void *)VRAM_ADDR);&lt;BR /&gt;LCD_SetVisEx(0,1);&lt;BR /&gt;// set the layer 1&lt;BR /&gt;pPoint = GUI_DEVICE_CreateAndLink(DISPLAY_DRIVER, COLOR_CONVERSION, 0, 1);&lt;BR /&gt;if (LCD_GetSwapXY()) {&lt;BR /&gt;LCD_SetSizeEx (1, LCD_HEIGHT, LCD_WIDTH);&lt;BR /&gt;LCD_SetVSizeEx(1, LCD_HEIGHT, LCD_WIDTH);&lt;BR /&gt;} else {&lt;BR /&gt;LCD_SetSizeEx (1, LCD_WIDTH, LCD_HEIGHT);&lt;BR /&gt;LCD_SetVSizeEx(1, LCD_WIDTH, LCD_HEIGHT);&lt;BR /&gt;}&lt;BR /&gt;LCD_SetVRAMAddrEx(1, (void *)VRAM_ADDR);&lt;BR /&gt;LCD_SetVisEx(1,1);&lt;/P&gt;&lt;P&gt;but the layer 1 has never been created and the pointer returns weird data.... Has someone same issues? Is there&amp;nbsp; a specific library libemWin_M7.a configured just for one layer?&lt;/P&gt;&lt;P&gt;In the attached pictures the returns value for the Layer0 correctly created and Layer1 that doesn't work.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 07:42:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/NXP-emWin-multilayer-issue/m-p/1269465#M14005</guid>
      <dc:creator>claudio_legena</dc:creator>
      <dc:date>2021-04-28T07:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: NXP emWin multilayer issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/NXP-emWin-multilayer-issue/m-p/1270027#M14020</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;NXP has provided the emWin library which supports the Multi-layer and multi-display, however, there are no similar demos that utilize the above feature in the SDK library.&lt;BR /&gt;After having a brief review of your code, I don't think it works since LCD_X_DisplayDriver is only able to handle layer 0.&lt;BR /&gt;The LCDIFv2 module supports up 8 layers, so the emWin is able to use the Multi-layer feature based on the LCDIFv2 module, however, to be honest, it'll cost time to implement the modification of the emwin_gui_demo_cm7 demo.&lt;BR /&gt;And I'll report the software demand to the SDK team later.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 03:21:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/NXP-emWin-multilayer-issue/m-p/1270027#M14020</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2021-04-29T03:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: NXP emWin multilayer issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/NXP-emWin-multilayer-issue/m-p/1270116#M14024</link>
      <description>&lt;P&gt;hi Tic thanks for your reply, of course we'll check for others solution, in order to use the multilayer features&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 07:01:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/NXP-emWin-multilayer-issue/m-p/1270116#M14024</guid>
      <dc:creator>claudio_legena</dc:creator>
      <dc:date>2021-04-29T07:01:55Z</dc:date>
    </item>
  </channel>
</rss>

