<?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: Enabling LCD in Redboot on mx257 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Enabling-LCD-in-Redboot-on-mx257/m-p/205305#M11722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the board is a Freescale PDK, the backlight is controlled by the MC34704. By default, REG1 is off, and it has to be turned on with an I2C command.&lt;/P&gt;&lt;P&gt;LCD_En signal has to be controller too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, I/Os, clocks, and LCDC have to be configured properly.&lt;/P&gt;&lt;P&gt;The clock configuration seems correct, though LCDC_EN in CCM_CGCR1 should be enabled before accessing the LCDC registers. It allows the programming of the registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unless it is needed, I won't enable the graphic window capability at this stage. If enabled but not used, it generates unnecessary memory traffic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jan 2012 15:30:04 GMT</pubDate>
    <dc:creator>FlorentAuger</dc:creator>
    <dc:date>2012-01-25T15:30:04Z</dc:date>
    <item>
      <title>Enabling LCD in Redboot on mx257</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Enabling-LCD-in-Redboot-on-mx257/m-p/205304#M11721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am missing something in the early initialization that is needed to get the LCD display working in the boot loader.&amp;nbsp; I used the BSP version of Linux as a guide,&amp;nbsp; I am not quite sure what it is I am missing.&amp;nbsp; Some settings here may be particular to our touchscreen.&lt;/P&gt;&lt;P&gt;Set up DMA&lt;BR /&gt;mm 0x53f8000c 0x04080020&lt;BR /&gt;mm 0x53f80014 0x00000060&lt;BR /&gt;&lt;BR /&gt;Turn on backlight&lt;BR /&gt;mm 0x53fe0000 0x00000008&lt;BR /&gt;mm 0x53f8000c md 0x53f8000c | 0x00000400&lt;BR /&gt;mm 0x53fe0010 0x000000fd&lt;BR /&gt;mm 0x53fe000c 0x000000ff&lt;BR /&gt;mm 0x53fe0000 0x03c20101&lt;BR /&gt;&lt;BR /&gt;Set up LCDC registers&lt;BR /&gt;mm 0x53fbc000 0x81400000&lt;BR /&gt;mm 0x53fbc004 0x014000f0&lt;BR /&gt;mm 0x53fbc008 0x000000a0&lt;BR /&gt;mm 0x53f8001c 0x01010901&lt;BR /&gt;mm 0x53fbc018 0xfa208b85&lt;BR /&gt;mm 0x53fbc01c 0x2c001143&lt;BR /&gt;mm 0x53fbc020 0x3000080f&lt;BR /&gt;mm 0x53fbc028 0x00120300&lt;BR /&gt;mm 0x53fbc034 0x00000000&lt;BR /&gt;mm 0x53fbc030 0x00020010&lt;BR /&gt;&lt;BR /&gt;Set up graphics registers&lt;BR /&gt;&amp;nbsp; * Not sure how but 0x53fbc068 starts here with 0x80040060&lt;BR /&gt;mm 0x53fbc050 0x81400000&lt;BR /&gt;mm 0x53fbc054 0x014000f0&lt;BR /&gt;mm 0x53fbc058 0x000000a0&lt;BR /&gt;mm 0x53fbc060 0x00000000&lt;BR /&gt;mm 0x53fbc05c 0x00000000&lt;BR /&gt;mm 0x53fbc068 0x00020010&lt;BR /&gt;mm 0x53fbc064 0xff400000&lt;BR /&gt;mm 0x53fbc064 0x00400000&lt;BR /&gt;mm 0x53fbc054 0x00100010&lt;BR /&gt;mm 0x53fbc064 0x00000000&lt;BR /&gt;&lt;BR /&gt;Enable clock&lt;BR /&gt;mm 0x53f80008 0x21034000&lt;BR /&gt;read 0x53f80004, and with (1 &amp;lt;&amp;lt; 15) if 0 continue&lt;BR /&gt;mm 0x53f8000c 0x000804a0&lt;BR /&gt;mm 0x53f8000c 0x010804a0&lt;BR /&gt;mm 0x53f80010 0x2c0f0000&lt;BR /&gt;&lt;BR /&gt;Enable GPIO&lt;BR /&gt;mm 0x43fac0c8 0x00000000&lt;BR /&gt;mm 0x43fac0cc 0x00000000&lt;BR /&gt;mm 0x43fac0d0 0x00000000&lt;BR /&gt;mm 0x43fac0d4 0x00000000&lt;BR /&gt;mm 0x43fac0d8 0x00000000&lt;BR /&gt;mm 0x43fac0dc 0x00000000&lt;BR /&gt;mm 0x43fac0e0 0x00000000&lt;BR /&gt;mm 0x43fac0e4 0x00000000&lt;BR /&gt;mm 0x43fac0e8 0x00000000&lt;BR /&gt;mm 0x43fac0ec 0x00000000&lt;BR /&gt;mm 0x43fac0f0 0x00000000&lt;BR /&gt;mm 0x43fac0f4 0x00000000&lt;BR /&gt;mm 0x43fac0f8 0x00000000&lt;BR /&gt;mm 0x43fac0fc 0x00000000&lt;BR /&gt;mm 0x43fac100 0x00000000&lt;BR /&gt;mm 0x43fac104 0x00000000&lt;BR /&gt;mm 0x43fac204 0x00000002&lt;BR /&gt;mm 0x43fac208 0x00000002&lt;BR /&gt;mm 0x43fac108 0x00000000&lt;BR /&gt;mm 0x43fac10c 0x00000000&lt;BR /&gt;mm 0x43fac110 0x00000000&lt;BR /&gt;mm 0x43fac114 0x00000000&lt;BR /&gt;mm 0x43fac2c0 0x000000e0&lt;BR /&gt;mm 0x43fac2c4 0x000000e0&lt;BR /&gt;mm 0x43fac2c8 0x000000e0&lt;BR /&gt;mm 0x43fac2cc 0x000000e0&lt;BR /&gt;mm 0x43fac2d0 0x000000e0&lt;BR /&gt;mm 0x43fac2d4 0x000000e0&lt;BR /&gt;mm 0x43fac2d8 0x000000e0&lt;BR /&gt;mm 0x43fac2dc 0x000000e0&lt;BR /&gt;mm 0x43fac2e0 0x000000e0&lt;BR /&gt;mm 0x43fac2e4 0x000000e0&lt;BR /&gt;mm 0x43fac2e8 0x000000e0&lt;BR /&gt;mm 0x43fac2ec 0x000000e0&lt;BR /&gt;mm 0x43fac2f0 0x000000e0&lt;BR /&gt;mm 0x43fac2f4 0x000000e0&lt;BR /&gt;mm 0x43fac2f8 0x000000e0&lt;BR /&gt;mm 0x43fac2fc 0x000000e0&lt;BR /&gt;mm 0x43fac400 0x000000e0&lt;BR /&gt;mm 0x43fac404 0x000000e0&lt;BR /&gt;mm 0x43fac300 0x000000e0&lt;BR /&gt;mm 0x43fac304 0x000000e0&lt;BR /&gt;mm 0x43fac308 0x000000e1&lt;BR /&gt;mm 0x43fac30c 0x000000e0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 14:26:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Enabling-LCD-in-Redboot-on-mx257/m-p/205304#M11721</guid>
      <dc:creator>sletter</dc:creator>
      <dc:date>2012-01-25T14:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling LCD in Redboot on mx257</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Enabling-LCD-in-Redboot-on-mx257/m-p/205305#M11722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the board is a Freescale PDK, the backlight is controlled by the MC34704. By default, REG1 is off, and it has to be turned on with an I2C command.&lt;/P&gt;&lt;P&gt;LCD_En signal has to be controller too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, I/Os, clocks, and LCDC have to be configured properly.&lt;/P&gt;&lt;P&gt;The clock configuration seems correct, though LCDC_EN in CCM_CGCR1 should be enabled before accessing the LCDC registers. It allows the programming of the registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unless it is needed, I won't enable the graphic window capability at this stage. If enabled but not used, it generates unnecessary memory traffic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 15:30:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Enabling-LCD-in-Redboot-on-mx257/m-p/205305#M11722</guid>
      <dc:creator>FlorentAuger</dc:creator>
      <dc:date>2012-01-25T15:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling LCD in Redboot on mx257</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Enabling-LCD-in-Redboot-on-mx257/m-p/205306#M11723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is our own board, the backlight is fine.&amp;nbsp;&amp;nbsp; I am not using the graphics and it is usually not configured but I included them for completeness.&amp;nbsp; I'll give this a look and see if it helps (LCD_En)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 18:39:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Enabling-LCD-in-Redboot-on-mx257/m-p/205306#M11723</guid>
      <dc:creator>sletter</dc:creator>
      <dc:date>2012-01-25T18:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling LCD in Redboot on mx257</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Enabling-LCD-in-Redboot-on-mx257/m-p/205307#M11724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was the problem.&amp;nbsp; Shutting it down, configuring, and turning it back on (was doing that) was the answer.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 19:56:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Enabling-LCD-in-Redboot-on-mx257/m-p/205307#M11724</guid>
      <dc:creator>sletter</dc:creator>
      <dc:date>2012-01-25T19:56:31Z</dc:date>
    </item>
  </channel>
</rss>

