<?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のトピックRe: iMXRT1064 Emwin with Internal RAM LCD frame buffer</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-Emwin-with-Internal-RAM-LCD-frame-buffer/m-p/891623#M2706</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Victor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. it is working fine now with internal RAM and GUI_BUFFERS as 1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you please tell me why this change is needed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anuj&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Apr 2019 09:29:05 GMT</pubDate>
    <dc:creator>anujtanksali</dc:creator>
    <dc:date>2019-04-16T09:29:05Z</dc:date>
    <item>
      <title>iMXRT1064 Emwin with Internal RAM LCD frame buffer</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-Emwin-with-Internal-RAM-LCD-frame-buffer/m-p/891621#M2704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The iMXRT 1064 emwin demo code uses the external SDRAM for LCD frame buffer. I was able to configure the internal ram for LCD frame buffer in linker settings (see attached file). I select SRAM_OC instead of BOARD_SDRAM_NONCACHEABLE for .data and .bss sections the code is running fine on my 1064 EVK board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i configure the Emwin code to use 1 LCD buffer instead of 2 (#define GUI_BUFFERS 1)&amp;nbsp;my screen is&amp;nbsp;not displayed correctly. I see the text displayed but with a lot of garbage on the screen. When i use 2 buffers (#define&amp;nbsp;&lt;SPAN&gt;GUI_BUFFERS&amp;nbsp; 2)&amp;nbsp;&lt;/SPAN&gt;for LCD buffer the screen displays fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i use external SDRAM for LCD frame buffer with GUI_BUFFERS as 1 then it displays fine but not with internal RAM.&lt;/P&gt;&lt;P&gt;what could be the issue here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anuj&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 11:14:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-Emwin-with-Internal-RAM-LCD-frame-buffer/m-p/891621#M2704</guid>
      <dc:creator>anujtanksali</dc:creator>
      <dc:date>2019-04-10T11:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: iMXRT1064 Emwin with Internal RAM LCD frame buffer</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-Emwin-with-Internal-RAM-LCD-frame-buffer/m-p/891622#M2705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anuj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside the main of the example, the first thing it does is call the function &lt;STRONG&gt;BOARD_ConfigMPU(); &lt;/STRONG&gt;Inside this function, in the end, you enable the I and D cache with these two functions: &lt;STRONG&gt;SCB_EnableDCache&lt;/STRONG&gt; and &lt;STRONG&gt;SCB_EnableICache&lt;/STRONG&gt;. Please comment these two calls to functions and add these two instead: &lt;STRONG&gt;SCB_DisableDCache&lt;/STRONG&gt; and &lt;STRONG&gt;SCB_DisableICache&lt;/STRONG&gt;. At the end you will have something like the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79219i8DAC85EF82397093/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_8.png" alt="pastedImage_8.png" /&gt;&lt;/span&gt; Once you make these changes the demo should work from SRAM_OC with only one GUI_BUFFER.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&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;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2019 23:38:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-Emwin-with-Internal-RAM-LCD-frame-buffer/m-p/891622#M2705</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2019-04-15T23:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: iMXRT1064 Emwin with Internal RAM LCD frame buffer</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-Emwin-with-Internal-RAM-LCD-frame-buffer/m-p/891623#M2706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Victor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. it is working fine now with internal RAM and GUI_BUFFERS as 1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you please tell me why this change is needed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anuj&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2019 09:29:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-Emwin-with-Internal-RAM-LCD-frame-buffer/m-p/891623#M2706</guid>
      <dc:creator>anujtanksali</dc:creator>
      <dc:date>2019-04-16T09:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: iMXRT1064 Emwin with Internal RAM LCD frame buffer</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-Emwin-with-Internal-RAM-LCD-frame-buffer/m-p/891624#M2707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anuj, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m glad to hear that it's working fine now!&lt;/P&gt;&lt;P&gt;When they made the example for the RT, they use as a based the one from the LPC54628. The LPC doesn't have cache memory, so they didn't take into consideration this in the implementation of the RT. &lt;/P&gt;&lt;P&gt;You were using the cache memory by default but you were not making any flash to it, this was causing the problems that you were facing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Victor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2019 17:50:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-Emwin-with-Internal-RAM-LCD-frame-buffer/m-p/891624#M2707</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2019-04-16T17:50:04Z</dc:date>
    </item>
  </channel>
</rss>

