<?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>Kinetis MicrocontrollersのトピックRe: Re: k70 lcdc Controller; How to fill Background Look-Up Table</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/k70-lcdc-Controller-How-to-fill-Background-Look-Up-Table/m-p/243510#M6147</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; So we couldn't read the internal LOOK-UP Table and print to console?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that a question or a statement? Are you asking if it doesn't work or saying you tried and it didn't?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Watch out for the manual. It says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;62.6.1 Mapping RAMs (BGLUT and GWLUT)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;GWLUT is for graphic window and its mapping table is addressable from $BASE + 0xC00–$BASE + 0xFFC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"$BASE" isn't defined anywhere, but "$BASE - $BASE" should be zero, right? It took a while to see that the "–" above isn't a minus sign - "-" but means:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;... is addressable from $BASE + 0xC00&amp;nbsp; **TO**&amp;nbsp; $BASE + 0xFFC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming $BASE" is the same as previously mentioned "base" addresses ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure you're not trying Byte or Short accesses. They are documented to not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;The mapping RAM is accessed with word transactions only and the address must be word aligned. Unimplemented bits are read as 0. Byte or halfword access to the RAM corrupts its contents.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Watch out for my previous warning. You don't have to disable the LCDC in order to write these registers (like you do others) but you may need to enable the clocking before you can write.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Nov 2014 06:30:41 GMT</pubDate>
    <dc:creator>TomE</dc:creator>
    <dc:date>2014-11-11T06:30:41Z</dc:date>
    <item>
      <title>k70 lcdc Controller; How to fill Background Look-Up Table</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/k70-lcdc-Controller-How-to-fill-Background-Look-Up-Table/m-p/243505#M6142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will use the K70 LCDC Controller with an 8bpp Picture. In this case i must fill the internal Look-Up Table for the Background Picture.&lt;/P&gt;&lt;P&gt;I try this with the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;volatile uint_32 *LUT_BG; // Pointer Look-Up Table&lt;/P&gt;&lt;P&gt;LUT_BG = (unit_32*) 0x400B6800; // Adresse of the first Entry&lt;/P&gt;&lt;P&gt;*LUT_BR++ = color_1;&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Problem is, i see no changes in the RAM. It seems that this area is write-protected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kai&lt;/P&gt;&lt;TABLE height="136" style="width: 351px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 05:55:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/k70-lcdc-Controller-How-to-fill-Background-Look-Up-Table/m-p/243505#M6142</guid>
      <dc:creator>kaipaulus</dc:creator>
      <dc:date>2013-01-31T05:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: k70 lcdc Controller; How to fill Background Look-Up Table</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/k70-lcdc-Controller-How-to-fill-Background-Look-Up-Table/m-p/243506#M6143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you enabled the LCDC Clock in SIM_SCGC3?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then after that 'NOTE: The Memory Protection Unit must be configured to allow the LCDC to access the DRAM."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow all the links in "Table 3-91" to set up the LCDC Clocking and Power management (in case it is powered off).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There may be some restrictions on what registers can be changed when the LCDC is enabled or disabled. There were restrictions (and bad bugs) in this module in the MCF5329. There may be undocumented restrictions in this chip too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this chip have a module to protect I/O against access? That may be preventing the writes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 06:37:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/k70-lcdc-Controller-How-to-fill-Background-Look-Up-Table/m-p/243506#M6143</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2013-01-31T06:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: k70 lcdc Controller; How to fill Background Look-Up Table</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/k70-lcdc-Controller-How-to-fill-Background-Look-Up-Table/m-p/243507#M6144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have check all the points in your last message. I think all this points are achieved. But i does not work. &lt;/P&gt;&lt;P&gt;In the Headerfile from the K70, i cannot any register definitions for the BGLUT and the GWLUT. In the MCF5329 User manual and in the MCF5329 Header i can found this definitions.&lt;/P&gt;&lt;P&gt;I have also make an request to the Freescale Support, maybe i becom from this help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 13:28:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/k70-lcdc-Controller-How-to-fill-Background-Look-Up-Table/m-p/243507#M6144</guid>
      <dc:creator>kaipaulus</dc:creator>
      <dc:date>2013-01-31T13:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: k70 lcdc Controller; How to fill Background Look-Up Table</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/k70-lcdc-Controller-How-to-fill-Background-Look-Up-Table/m-p/243508#M6145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works now. Freescale told me that the internal LOOK-UP Table can only write by the CPU. No read or change is possible with the debugger. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kai Paulus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 06:33:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/k70-lcdc-Controller-How-to-fill-Background-Look-Up-Table/m-p/243508#M6145</guid>
      <dc:creator>kaipaulus</dc:creator>
      <dc:date>2013-02-12T06:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: k70 lcdc Controller; How to fill Background Look-Up Table</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/k70-lcdc-Controller-How-to-fill-Background-Look-Up-Table/m-p/243509#M6146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So we couldn't read the internal LOOK-UP Table and print to console?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I were try to fill GWLUT memory to use LCDC Controller with palette but don't seem to be right. What could be wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal is to use K70 LCDC configured to 8BPP and with palette.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 15:09:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/k70-lcdc-Controller-How-to-fill-Background-Look-Up-Table/m-p/243509#M6146</guid>
      <dc:creator>RuiFaria</dc:creator>
      <dc:date>2014-11-10T15:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Re: k70 lcdc Controller; How to fill Background Look-Up Table</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/k70-lcdc-Controller-How-to-fill-Background-Look-Up-Table/m-p/243510#M6147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; So we couldn't read the internal LOOK-UP Table and print to console?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that a question or a statement? Are you asking if it doesn't work or saying you tried and it didn't?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Watch out for the manual. It says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;62.6.1 Mapping RAMs (BGLUT and GWLUT)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;GWLUT is for graphic window and its mapping table is addressable from $BASE + 0xC00–$BASE + 0xFFC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"$BASE" isn't defined anywhere, but "$BASE - $BASE" should be zero, right? It took a while to see that the "–" above isn't a minus sign - "-" but means:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;... is addressable from $BASE + 0xC00&amp;nbsp; **TO**&amp;nbsp; $BASE + 0xFFC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming $BASE" is the same as previously mentioned "base" addresses ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure you're not trying Byte or Short accesses. They are documented to not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;The mapping RAM is accessed with word transactions only and the address must be word aligned. Unimplemented bits are read as 0. Byte or halfword access to the RAM corrupts its contents.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Watch out for my previous warning. You don't have to disable the LCDC in order to write these registers (like you do others) but you may need to enable the clocking before you can write.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 06:30:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/k70-lcdc-Controller-How-to-fill-Background-Look-Up-Table/m-p/243510#M6147</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2014-11-11T06:30:41Z</dc:date>
    </item>
  </channel>
</rss>

