<?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のトピックi.MX6 IPU Driver (RGB888 Format)</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-IPU-Driver-RGB888-Format/m-p/776384#M120531</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;I have a project based on i.MX6 processor and 7" TFT LCD which has 24-bit RGB888 format and I need to use the IPU module to drive it. I used the&amp;nbsp;codes supplied in the i.MX6_Platform_SDK as&amp;nbsp;a guide&amp;nbsp;during&amp;nbsp;driver development.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the SDK, the IPU driver was developed&amp;nbsp;for RGB565 format LCD displays. I tried to change it&amp;nbsp;to RGB888 but it didn't work. The display is just initialized with black background and some colored pixels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To verify that the clocks and data are as intended, I connected the probe to the CLK and DAT lines which, respectively, give the right clock signal and the random data that results in the random pixels on the LCD.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are the panel information;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;panel_info_ptr-&amp;gt;refresh_rate = 60; /*60 Hz*/&lt;BR /&gt;panel_info_ptr-&amp;gt;width = 800;&lt;BR /&gt;panel_info_ptr-&amp;gt;height = 480;&lt;BR /&gt;panel_info_ptr-&amp;gt;pixel_clock = 29232000; /*60*525*928*/&lt;BR /&gt;panel_info_ptr-&amp;gt;hsync_start_width = 88; /*hsync backporch*/&lt;BR /&gt;panel_info_ptr-&amp;gt;hsync_width = 48; /*hsync pulse width*/&lt;BR /&gt;panel_info_ptr-&amp;gt;hsync_end_width = 40; /*hsync front porch*/&lt;BR /&gt;panel_info_ptr-&amp;gt;vsync_start_width = 32;&lt;BR /&gt;panel_info_ptr-&amp;gt;vsync_width = 3;&lt;BR /&gt;panel_info_ptr-&amp;gt;vsync_end_width = 13;&lt;BR /&gt;panel_info_ptr-&amp;gt;delay_h2v = 0;&lt;BR /&gt;panel_info_ptr-&amp;gt;interlaced = 0;&lt;BR /&gt;panel_info_ptr-&amp;gt;clk_sel = 0; /*internal*/&lt;BR /&gt;panel_info_ptr-&amp;gt;clk_pol = 0;&lt;BR /&gt;panel_info_ptr-&amp;gt;hsync_pol = 0;&lt;BR /&gt;panel_info_ptr-&amp;gt;vsync_pol = 0;&lt;BR /&gt;panel_info_ptr-&amp;gt;drdy_pol = 1;&lt;BR /&gt;panel_info_ptr-&amp;gt;data_pol = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are the&amp;nbsp;lines that I changed for my display&lt;/P&gt;&lt;P&gt;idmac_info_ptr-&amp;gt;npb = 19; /*(because 24 bit)*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ipu_cpmem_set_field(get_ipu_cpmem_addr( channel), INTERLEAVED_BPP, 0x01/* 0x3*/);&lt;BR /&gt; ipu_cpmem_set_field(get_ipu_cpmem_addr( channel), INTERLEAVED_WID0, 8-1/*5 - 1*/);&lt;BR /&gt; ipu_cpmem_set_field(get_ipu_cpmem_addr( channel), INTERLEAVED_WID1, 8-1/*6 - 1*/);&lt;BR /&gt; ipu_cpmem_set_field(get_ipu_cpmem_addr( channel), INTERLEAVED_WID2, 8-1/*5 - 1*/);&lt;BR /&gt; ipu_cpmem_set_field(get_ipu_cpmem_addr( channel), INTERLEAVED_WID3, 0 - 1);&lt;BR /&gt; ipu_cpmem_set_field(get_ipu_cpmem_addr( channel), INTERLEAVED_OFF0, 0);&lt;BR /&gt; ipu_cpmem_set_field(get_ipu_cpmem_addr( channel), INTERLEAVED_OFF1, 8/*5*/);&lt;BR /&gt; ipu_cpmem_set_field(get_ipu_cpmem_addr( channel), INTERLEAVED_OFF2, 16/*11*/);&lt;BR /&gt; ipu_cpmem_set_field(get_ipu_cpmem_addr( channel), INTERLEAVED_OFF3, 24/*16*/);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached you will find the photo of the display with the random pixels lit up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kaan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Feb 2018 17:19:15 GMT</pubDate>
    <dc:creator>kaangencay</dc:creator>
    <dc:date>2018-02-26T17:19:15Z</dc:date>
    <item>
      <title>i.MX6 IPU Driver (RGB888 Format)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-IPU-Driver-RGB888-Format/m-p/776384#M120531</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;I have a project based on i.MX6 processor and 7" TFT LCD which has 24-bit RGB888 format and I need to use the IPU module to drive it. I used the&amp;nbsp;codes supplied in the i.MX6_Platform_SDK as&amp;nbsp;a guide&amp;nbsp;during&amp;nbsp;driver development.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the SDK, the IPU driver was developed&amp;nbsp;for RGB565 format LCD displays. I tried to change it&amp;nbsp;to RGB888 but it didn't work. The display is just initialized with black background and some colored pixels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To verify that the clocks and data are as intended, I connected the probe to the CLK and DAT lines which, respectively, give the right clock signal and the random data that results in the random pixels on the LCD.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are the panel information;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;panel_info_ptr-&amp;gt;refresh_rate = 60; /*60 Hz*/&lt;BR /&gt;panel_info_ptr-&amp;gt;width = 800;&lt;BR /&gt;panel_info_ptr-&amp;gt;height = 480;&lt;BR /&gt;panel_info_ptr-&amp;gt;pixel_clock = 29232000; /*60*525*928*/&lt;BR /&gt;panel_info_ptr-&amp;gt;hsync_start_width = 88; /*hsync backporch*/&lt;BR /&gt;panel_info_ptr-&amp;gt;hsync_width = 48; /*hsync pulse width*/&lt;BR /&gt;panel_info_ptr-&amp;gt;hsync_end_width = 40; /*hsync front porch*/&lt;BR /&gt;panel_info_ptr-&amp;gt;vsync_start_width = 32;&lt;BR /&gt;panel_info_ptr-&amp;gt;vsync_width = 3;&lt;BR /&gt;panel_info_ptr-&amp;gt;vsync_end_width = 13;&lt;BR /&gt;panel_info_ptr-&amp;gt;delay_h2v = 0;&lt;BR /&gt;panel_info_ptr-&amp;gt;interlaced = 0;&lt;BR /&gt;panel_info_ptr-&amp;gt;clk_sel = 0; /*internal*/&lt;BR /&gt;panel_info_ptr-&amp;gt;clk_pol = 0;&lt;BR /&gt;panel_info_ptr-&amp;gt;hsync_pol = 0;&lt;BR /&gt;panel_info_ptr-&amp;gt;vsync_pol = 0;&lt;BR /&gt;panel_info_ptr-&amp;gt;drdy_pol = 1;&lt;BR /&gt;panel_info_ptr-&amp;gt;data_pol = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are the&amp;nbsp;lines that I changed for my display&lt;/P&gt;&lt;P&gt;idmac_info_ptr-&amp;gt;npb = 19; /*(because 24 bit)*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ipu_cpmem_set_field(get_ipu_cpmem_addr( channel), INTERLEAVED_BPP, 0x01/* 0x3*/);&lt;BR /&gt; ipu_cpmem_set_field(get_ipu_cpmem_addr( channel), INTERLEAVED_WID0, 8-1/*5 - 1*/);&lt;BR /&gt; ipu_cpmem_set_field(get_ipu_cpmem_addr( channel), INTERLEAVED_WID1, 8-1/*6 - 1*/);&lt;BR /&gt; ipu_cpmem_set_field(get_ipu_cpmem_addr( channel), INTERLEAVED_WID2, 8-1/*5 - 1*/);&lt;BR /&gt; ipu_cpmem_set_field(get_ipu_cpmem_addr( channel), INTERLEAVED_WID3, 0 - 1);&lt;BR /&gt; ipu_cpmem_set_field(get_ipu_cpmem_addr( channel), INTERLEAVED_OFF0, 0);&lt;BR /&gt; ipu_cpmem_set_field(get_ipu_cpmem_addr( channel), INTERLEAVED_OFF1, 8/*5*/);&lt;BR /&gt; ipu_cpmem_set_field(get_ipu_cpmem_addr( channel), INTERLEAVED_OFF2, 16/*11*/);&lt;BR /&gt; ipu_cpmem_set_field(get_ipu_cpmem_addr( channel), INTERLEAVED_OFF3, 24/*16*/);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached you will find the photo of the display with the random pixels lit up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kaan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 17:19:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-IPU-Driver-RGB888-Format/m-p/776384#M120531</guid>
      <dc:creator>kaangencay</dc:creator>
      <dc:date>2018-02-26T17:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 IPU Driver (RGB888 Format)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-IPU-Driver-RGB888-Format/m-p/776385#M120532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi KAAN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be useful to pay attention to data mapping described in&lt;/P&gt;&lt;P&gt;sect.37.4.7.5.1 Bus Mapping Unit i.MX6DQ Reference Manual &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.nxp.com%2Fdocs%2Fen%2Freference-manual%2FIMX6DQRM.pdf" rel="nofollow" target="_blank"&gt;http://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;in linux one can look at SEIKO-WVGA settings&lt;/P&gt;&lt;P&gt;in&amp;nbsp; linux/drivers/video/fbdev/mxc/mxc_lcdif.c&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/tree/drivers/video/fbdev/mxc/mxc_lcdif.c?h=imx_4.1.15_2.0.0_ga&amp;amp;id=rel_imx_4.1.15_2.0.0_ga" title="http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/tree/drivers/video/fbdev/mxc/mxc_lcdif.c?h=imx_4.1.15_2.0.0_ga&amp;amp;id=rel_imx_4.1.15_2.0.0_ga"&gt;linux-imx.git - i.MX Linux Kernel&lt;/A&gt;&amp;nbsp;&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>Tue, 27 Feb 2018 01:10:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-IPU-Driver-RGB888-Format/m-p/776385#M120532</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-02-27T01:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 IPU Driver (RGB888 Format)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-IPU-Driver-RGB888-Format/m-p/776386#M120533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've checked my data mapping configurations and I figured out that microcodes mapping configuration wasn't disabled. I fixed it. As a result, only the random pixels locations changed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- I've checked interrupt status registers, "DI0_SYNC_DISP_ERR" interrupt always occured. What does it mean? How can I fix it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2- Is there any register to figure out&amp;nbsp;whether&amp;nbsp;IDMAC&amp;nbsp;receives my "display_buffer" which has the raw image data, or where the buffer gets stuck at, e.g.&amp;nbsp;IDMAC, DP, DC etc.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Kaan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 06:47:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-IPU-Driver-RGB888-Format/m-p/776386#M120533</guid>
      <dc:creator>kaangencay</dc:creator>
      <dc:date>2018-02-28T06:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 IPU Driver (RGB888 Format)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-IPU-Driver-RGB888-Format/m-p/776387#M120534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem still persists, please see my post below. Can you think of anything else that might be causing the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: "&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;DI0_SYNC_DISP_ERR" interrupt is fixed. But "IDMAC_TH_23" interrupt always ocurred.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kaan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2018 07:12:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-IPU-Driver-RGB888-Format/m-p/776387#M120534</guid>
      <dc:creator>kaangencay</dc:creator>
      <dc:date>2018-03-02T07:12:46Z</dc:date>
    </item>
  </channel>
</rss>

