<?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 ProcessorsのトピックLCD Interfacing Solutions</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/LCD-Interfacing-Solutions/m-p/168202#M4971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Often you cannot use the default display settings for your particular LCD display.&lt;/P&gt;&lt;P&gt;As an example, we needed to interface a Hantronix HDA1040S LVDS LCD display to display port 0 (di0) of an iMX51.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The HDA1040S has 18 bits-per-pixel, 600x800, and a maximum pixel clock of 50MHz. &amp;nbsp;None of the standard settings suggested in the Linux reference manuals will not work because the bit rate defaults to 66MHz, or the display is too small (CLAA-WVGA for example).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But display types are defined in &amp;lt;ltib-directory&amp;gt;/rpm/BUILD/linux/drivers/video/modedb.c.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you look at the structure defined as "struct fb_videomode modedb[]", you'll see a long list of options. &amp;nbsp;I found one here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;/* 800x600 @ 60 Hz, 37.8 kHz hsync */ NULL, 60, 800, 600, 25000, 88, 40, 23, 1, 128, 4, FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that it has the correct resolution. &amp;nbsp;Frame rate is within specifications. &amp;nbsp;The pixel rate is given by the 5th parameter, which is 25000 pico seconds, or 40MHz. (you can find out what the other numbers mean by looking at the file&amp;nbsp;ltib/rpm/BUILD/linux/include/linux/fb.h)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then all that was left to do was to modify the u-boot environment variable to pass the kernel command:&lt;/P&gt;&lt;P&gt;video=mxcdi0fb:LVDS666,800x600M-16@60&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Sep 2011 19:33:38 GMT</pubDate>
    <dc:creator>bonzo</dc:creator>
    <dc:date>2011-09-06T19:33:38Z</dc:date>
    <item>
      <title>LCD Interfacing Solutions</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LCD-Interfacing-Solutions/m-p/168202#M4971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Often you cannot use the default display settings for your particular LCD display.&lt;/P&gt;&lt;P&gt;As an example, we needed to interface a Hantronix HDA1040S LVDS LCD display to display port 0 (di0) of an iMX51.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The HDA1040S has 18 bits-per-pixel, 600x800, and a maximum pixel clock of 50MHz. &amp;nbsp;None of the standard settings suggested in the Linux reference manuals will not work because the bit rate defaults to 66MHz, or the display is too small (CLAA-WVGA for example).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But display types are defined in &amp;lt;ltib-directory&amp;gt;/rpm/BUILD/linux/drivers/video/modedb.c.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you look at the structure defined as "struct fb_videomode modedb[]", you'll see a long list of options. &amp;nbsp;I found one here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;/* 800x600 @ 60 Hz, 37.8 kHz hsync */ NULL, 60, 800, 600, 25000, 88, 40, 23, 1, 128, 4, FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that it has the correct resolution. &amp;nbsp;Frame rate is within specifications. &amp;nbsp;The pixel rate is given by the 5th parameter, which is 25000 pico seconds, or 40MHz. (you can find out what the other numbers mean by looking at the file&amp;nbsp;ltib/rpm/BUILD/linux/include/linux/fb.h)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then all that was left to do was to modify the u-boot environment variable to pass the kernel command:&lt;/P&gt;&lt;P&gt;video=mxcdi0fb:LVDS666,800x600M-16@60&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 19:33:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LCD-Interfacing-Solutions/m-p/168202#M4971</guid>
      <dc:creator>bonzo</dc:creator>
      <dc:date>2011-09-06T19:33:38Z</dc:date>
    </item>
  </channel>
</rss>

