<?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: IMX6DL: How to do LCD calibration ?  in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6DL-How-to-do-LCD-calibration/m-p/562279#M87025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try to use yuv viewer tool to show the YcbCr &amp;amp; Y’Cb’Cr image to&lt;/P&gt;&lt;P&gt;get an intuitive color change perception. Gamma correction slope for a specific&lt;/P&gt;&lt;P&gt;panel/display should be provided by the display manufacturer, one can try to&lt;/P&gt;&lt;P&gt;change koefficients experimentally to see effect and imitate it on PC computer.&lt;/P&gt;&lt;P&gt;Also one can try hue control (implemented by mixing the Cb and Cr data)&lt;BR /&gt;using formula provided on&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.google.ch%2Fpatents%2FUS20040021671" rel="nofollow" target="_blank"&gt;http://www.google.ch/patents/US20040021671&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://en.wikipedia.org/wiki/Hue"&gt;https://en.wikipedia.org/wiki/Hue&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Aug 2016 00:02:43 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2016-08-29T00:02:43Z</dc:date>
    <item>
      <title>IMX6DL: How to do LCD calibration ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6DL-How-to-do-LCD-calibration/m-p/562278#M87024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The red colour on my LCD is little off, it does not exactly looks like perfect red. So i want to calibrate this LCD. And i am looking for the suggestion to do that:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is gamma correction steps, i already tried and did not get the good result&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-98062"&gt;Gamma correction on i.MX6&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-94961"&gt;ipu-examples release notes - v0.1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/rogeriorps/ipu-examples/blob/master/mx6/framebuffer/example1/framebuffer_ex1.c" title="https://github.com/rogeriorps/ipu-examples/blob/master/mx6/framebuffer/example1/framebuffer_ex1.c"&gt;ipu-examples/framebuffer_ex1.c at master · rogeriorps/ipu-examples · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried above gamma correction sample code but LCD calibration &amp;nbsp;become more bad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is my &amp;nbsp;platform and &amp;nbsp;setting for LVDS interface :[&amp;nbsp;Android 4.4 &amp;nbsp;kernel 3.10 ]&lt;/P&gt;&lt;P&gt;LCD panel uses (HX8282 -Source driver / HX8696 -Gate Driver) &amp;nbsp; &amp;nbsp;---SPI interface is not out from the Panel for control so i can not set the panel registers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;====(drivers/video/mxc/mxc_lcdif.c)===================================&lt;/P&gt;&lt;P&gt;&lt;EM&gt;static struct fb_videomode lcdif_modedb[] = { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; /* lcd 1024x600 @ 60 Hz , pixel clk @ 66MHz */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; "HiMAX-WSVGA", 60, 1024, 600, 25000 , 155, 160, 8, 23, 4, 4,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; FB_SYNC_CLK_LAT_FALL,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; FB_VMODE_NONINTERLACED,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; 0,},&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;};&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;===( DTS file ) ===========:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;mxcfb1: fb@0 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; compatible = "fsl,mxc_sdc_fb";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; disp_dev = "ldb";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; interface_pix_fmt = "RGB24";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; default_bpp = &amp;lt;24&amp;gt;;/*&amp;lt;24&amp;gt;;*/&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; int_clk = &amp;lt;0&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; late_init = &amp;lt;0&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; status = "okay";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; };&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;================================================================&lt;/P&gt;&lt;P&gt;Questions :&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) I used the ipu example code for gamma correction, where Gout array is :&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #a71d5d; background-color: #ffffff; font-size: 12px;"&gt;int&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt; gout[&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0086b3; background-color: #ffffff; font-size: 12px;"&gt;16&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;] = {&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0086b3; background-color: #ffffff; font-size: 12px;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0086b3; background-color: #ffffff; font-size: 12px;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0086b3; background-color: #ffffff; font-size: 12px;"&gt;4&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0086b3; background-color: #ffffff; font-size: 12px;"&gt;8&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0086b3; background-color: #ffffff; font-size: 12px;"&gt;16&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0086b3; background-color: #ffffff; font-size: 12px;"&gt;32&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0086b3; background-color: #ffffff; font-size: 12px;"&gt;64&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0086b3; background-color: #ffffff; font-size: 12px;"&gt;96&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0086b3; background-color: #ffffff; font-size: 12px;"&gt;128&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0086b3; background-color: #ffffff; font-size: 12px;"&gt;160&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0086b3; background-color: #ffffff; font-size: 12px;"&gt;192&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0086b3; background-color: #ffffff; font-size: 12px;"&gt;224&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0086b3; background-color: #ffffff; font-size: 12px;"&gt;255&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0086b3; background-color: #ffffff; font-size: 12px;"&gt;255&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0086b3; background-color: #ffffff; font-size: 12px;"&gt;255&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0086b3; background-color: #ffffff; font-size: 12px;"&gt;255&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;}; &amp;nbsp;this setting do not have any impact on my LCD color, is there any other gout value for my processor imx6dl , which i need to use or How will i calculate these value , any suggestion ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;2) Reference manual section: 38.4.9.6 Gamma correction says" Required gamma correction slope for a specific panel/display should be provided by the display manufacturer " &amp;nbsp;, can you point me, &amp;nbsp; what will be &amp;nbsp;the value i &amp;nbsp;will be suing &amp;nbsp;from gamma slope in the sample code ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;3) Regarding Data format, &amp;nbsp; &amp;nbsp;My LCD support RGB stripe(LCD document does not provide good details about this), And "RGB24" is working for me with reasonable &amp;nbsp;result. &amp;nbsp;Android HAL is using&amp;nbsp;HAL_PIXEL_FORMAT_RGB_565 . is there anything i need to look from this perspective, In terms of IPU Color space conversion ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;4) Any other pointer or reference for LCD panel calibration ? &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Robin Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 17:48:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6DL-How-to-do-LCD-calibration/m-p/562278#M87024</guid>
      <dc:creator>robinsingh</dc:creator>
      <dc:date>2016-08-26T17:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6DL: How to do LCD calibration ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6DL-How-to-do-LCD-calibration/m-p/562279#M87025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try to use yuv viewer tool to show the YcbCr &amp;amp; Y’Cb’Cr image to&lt;/P&gt;&lt;P&gt;get an intuitive color change perception. Gamma correction slope for a specific&lt;/P&gt;&lt;P&gt;panel/display should be provided by the display manufacturer, one can try to&lt;/P&gt;&lt;P&gt;change koefficients experimentally to see effect and imitate it on PC computer.&lt;/P&gt;&lt;P&gt;Also one can try hue control (implemented by mixing the Cb and Cr data)&lt;BR /&gt;using formula provided on&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.google.ch%2Fpatents%2FUS20040021671" rel="nofollow" target="_blank"&gt;http://www.google.ch/patents/US20040021671&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://en.wikipedia.org/wiki/Hue"&gt;https://en.wikipedia.org/wiki/Hue&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 00:02:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6DL-How-to-do-LCD-calibration/m-p/562279#M87025</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-08-29T00:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6DL: How to do LCD calibration ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6DL-How-to-do-LCD-calibration/m-p/562280#M87026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking for the same solution for custom target based on i.MX6Dualite. Have you achieved it? Could you share your finding and solutions if possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vikash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 05:41:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6DL-How-to-do-LCD-calibration/m-p/562280#M87026</guid>
      <dc:creator>vikaspatil</dc:creator>
      <dc:date>2016-12-29T05:41:03Z</dc:date>
    </item>
  </channel>
</rss>

