<?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 Re: Endian Issue with LCD Frame Buffer in SDRAM in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Endian-Issue-with-LCD-Frame-Buffer-in-SDRAM/m-p/519306#M3096</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by twomeyw22 on Fri Apr 18 07:32:32 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Wolfgang, is there something specific you are referring to?&amp;nbsp; I did not see anything in the errata that would describe this issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:38:02 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:38:02Z</dc:date>
    <item>
      <title>Endian Issue with LCD Frame Buffer in SDRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Endian-Issue-with-LCD-Frame-Buffer-in-SDRAM/m-p/519304#M3094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by twomeyw22 on Thu Apr 17 14:38:39 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using an LPC1788 with a TFT LCD and 16 bit SDRAM for the frame buffer, with color data in 5-6-5 format.&amp;nbsp; Everything is working except my colors are all messed up because of an endian issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Green, for example, should be 0x7E0, but to display green I actually need to write 0xE007.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The LCD Control register (CTRL, address&amp;nbsp;&amp;nbsp; 0x2008 8018) has a bit for setting endianness (BEBO) but this has no effect.&amp;nbsp; The SDRAM has a similar configuration bit this also has no effect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone else have any other ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Worst case is I write a script to swap bytes in all my image bitmap arrays but that seems like a hack.&amp;nbsp; There must be some way to correct this in the microcontroller configuration...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:38:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Endian-Issue-with-LCD-Frame-Buffer-in-SDRAM/m-p/519304#M3094</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Endian Issue with LCD Frame Buffer in SDRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Endian-Issue-with-LCD-Frame-Buffer-in-SDRAM/m-p/519305#M3095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wmues on Fri Apr 18 06:04:09 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You have checked the errata sheet, have you?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wolfgang&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:38:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Endian-Issue-with-LCD-Frame-Buffer-in-SDRAM/m-p/519305#M3095</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Endian Issue with LCD Frame Buffer in SDRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Endian-Issue-with-LCD-Frame-Buffer-in-SDRAM/m-p/519306#M3096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by twomeyw22 on Fri Apr 18 07:32:32 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Wolfgang, is there something specific you are referring to?&amp;nbsp; I did not see anything in the errata that would describe this issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:38:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Endian-Issue-with-LCD-Frame-Buffer-in-SDRAM/m-p/519306#M3096</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Endian Issue with LCD Frame Buffer in SDRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Endian-Issue-with-LCD-Frame-Buffer-in-SDRAM/m-p/519307#M3097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by twomeyw22 on Fri Apr 18 11:06:29 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Solved this one.&amp;nbsp; The frame buffer location was off by one byte...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:38:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Endian-Issue-with-LCD-Frame-Buffer-in-SDRAM/m-p/519307#M3097</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Endian Issue with LCD Frame Buffer in SDRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Endian-Issue-with-LCD-Frame-Buffer-in-SDRAM/m-p/519308#M3098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wmues on Fri Apr 18 12:10:46 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, I mixed this up. The LCD byte order is with another microcontroller.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wolfgang&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:38:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Endian-Issue-with-LCD-Frame-Buffer-in-SDRAM/m-p/519308#M3098</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:38:03Z</dc:date>
    </item>
  </channel>
</rss>

