<?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中的主题 Re: Parallel RGB Displays</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Parallel-RGB-Displays/m-p/312593#M40941</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; The SDK test codes for IPU look as contradicting to the Reference Manual,&lt;/P&gt;&lt;P&gt;in the same time, I tried to run the SDK IPU test&amp;nbsp; - it is working.&amp;nbsp; Hope &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Qiang_FSL"&gt;Qiang_FSL&lt;/A&gt; &lt;BR /&gt;helps to clarify the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Yuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Oct 2014 09:28:43 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2014-10-27T09:28:43Z</dc:date>
    <item>
      <title>Parallel RGB Displays</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Parallel-RGB-Displays/m-p/312589#M40937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On IMX6 processors how are IPU DATA lines assigned to Red, Blue and Green color lines. I can't seem to find out from reference manual and other documents. I also need to know how should I provide the connections so that both 18bit as well as 24 bit parallel RGB displays can be interfaced.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 11:05:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Parallel-RGB-Displays/m-p/312589#M40937</guid>
      <dc:creator>rajniks</dc:creator>
      <dc:date>2014-04-08T11:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel RGB Displays</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Parallel-RGB-Displays/m-p/312590#M40938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Display (color bit mapping is software configurable. When configuring display output pins, &lt;/P&gt;&lt;P&gt;the following should be taken into account. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;General scheme is shown on Figure 37-32 (Mapping scheme) of the i.MX6DQRM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;From Table 37-25 (DC template's fields description) :&lt;/P&gt;&lt;P&gt;«The MAPPING field holds a pointer to a register holding 3 fields: MAPPING_PNTR_BYTE0_X,&lt;/P&gt;&lt;P&gt;MAPPING_PNTR_BYTE1_X, MAPPING_PNTR_BYTE2_X. This pointers point to sets of OFFSET and &lt;/P&gt;&lt;P&gt;MASK parameters that define the mapping scheme. MAPPING =0 means that mapping is disabled.»&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;Section 37.4.7.5.1 (Bus Mapping Unit) describes the mapping feature in more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the Figure 37-32 (Mapping scheme), microcode field MAPPING = 2. &lt;/P&gt;&lt;P&gt;That is, register IPUx_DC_MAP_CONF_1 should be used for configuring; please refer to section 37.5.336 &lt;/P&gt;&lt;P&gt;[DC Mapping Configuration Register 1 (IPUx_DC_MAP_CONF_1)] of the Reference Manual. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an example let we set :&lt;/P&gt;&lt;P&gt;MAPPING_PNTR_BYTE2_2 = 2&lt;/P&gt;&lt;P&gt;MAPPING_PNTR_BYTE1_2 = 1&lt;/P&gt;&lt;P&gt;MAPPING_PNTR_BYTE0_2 = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then &lt;/P&gt;&lt;P&gt;IPUx_DC_MAP_CONF_15 register should be set as following :&lt;/P&gt;&lt;P&gt;(section 37.5.350 DC Mapping Configuration Register 15 (IPUx_DC_MAP_CONF_15))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MD_OFFSET_1 = 0x0D ; MD_MASK_1 = 0xFC &lt;/P&gt;&lt;P&gt;MD_OFFSET_0 = 0x05 ; MD_MASK_0 = 0xFC &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IPUx_DC_MAP_CONF_16 :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MD_OFFSET_2 = 0x16 ; MD_MASK_2 = 0xFC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.&lt;/P&gt;&lt;P&gt;Please refer to&amp;nbsp; Chapter 18 (Configuring the IPU Driver) of "iMX6_Firmware_Guide.pdf" in the Platform SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://www.freescale.com/webapp/Download?colCode=i.MX6_PLATFORM_SDK&amp;amp;location=null"&gt;https://www.freescale.com/webapp/Download?colCode=i.MX6_PLATFORM_SDK&amp;amp;location=null&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6Q&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6Q&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please use i.MX6 Datasheet(s) to define typical IPU display output formats.&lt;/P&gt;&lt;P&gt;For example please take a look at section 4.11.10.4 (IPU Display Interface &lt;/P&gt;&lt;P&gt;Signal Mapping) of IMX6SDLCEC (Rev. 2.1, 05/2013).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Wed, 09 Apr 2014 02:39:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Parallel-RGB-Displays/m-p/312590#M40938</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2014-04-09T02:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel RGB Displays</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Parallel-RGB-Displays/m-p/312591#M40939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Yuri for the detailed explanation. Many times you get lost in the huge reference manual of IMX6. I found IPU Display Interface Signal Mapping (4.11.10.4) in the datasheet of IMX6DQ like the&amp;nbsp; one you had shared for . I will use the same as given in the table for 18 bit RGB as well 24 bit RGB.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 10:49:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Parallel-RGB-Displays/m-p/312591#M40939</guid>
      <dc:creator>rajniks</dc:creator>
      <dc:date>2014-04-09T10:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel RGB Displays</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Parallel-RGB-Displays/m-p/312592#M40940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;i'm a little confused by this.&amp;nbsp; The SDK uses a MAPPING=2 as in your example in the post here&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;microcode.mapping = 2;&lt;/TD&gt;&lt;TD&gt;//select map conf 2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;in ipu_dc.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but then they use either MAPPING_PNTR_BYTEX_0 or MAPPING_PNTR_BYTEX_1 (depending on another value, which I don't understand the source of) which are both in IPU_DC_MAP_CONF_0 and not IPU_DC_MAP_CONF_1 as you indicate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ipu_write_field(ipu_index, IPU_DC_MAP_CONF_0__MAPPING_PNTR_BYTE2_0, 2);&lt;/P&gt;&lt;P&gt;ipu_write_field(ipu_index, IPU_DC_MAP_CONF_0__MAPPING_PNTR_BYTE1_0, 1);&lt;/P&gt;&lt;P&gt;ipu_write_field(ipu_index, IPU_DC_MAP_CONF_0__MAPPING_PNTR_BYTE0_0, 0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;ipu_write_field(ipu_index, IPU_DC_MAP_CONF_0__MAPPING_PNTR_BYTE2_1, 6);&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;ipu_write_field(ipu_index, IPU_DC_MAP_CONF_0__MAPPING_PNTR_BYTE1_1, 5);&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;ipu_write_field(ipu_index, IPU_DC_MAP_CONF_0__MAPPING_PNTR_BYTE0_1, 4);&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To add to the confusion, the reference manual seems contradictory:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"The MAPPING field holds a pointer to a register holding 3 fields: MAPPING_PNTR_BYTE0_X,&lt;/P&gt;&lt;P&gt;MAPPING_PNTR_BYTE1_X, MAPPING_PNTR_BYTE2_X.&lt;/P&gt;&lt;P&gt;This pointers point to sets of OFFSET and MASK parameters that define the mapping scheme. MAPPING =&lt;/P&gt;&lt;P&gt;0 means that mapping is disabled.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The value in this field should be incremented by 1 to get the correct X pointer value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In order to point to MAPPING_PNTR_BYTE2_0, MAPPING_PNTR_BYTE1_0, MAPPING_PNTR_BYTE0_0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;the user should write 1 to the MAPPING field"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Incrementing 1 gives me 2, not 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So which is it?&amp;nbsp; If the MAPPING=2, is it pointing to MAPPING_PNTR_BYTEX_3, MAPPING_PNTR_BYTEX_2, MAPPING_PNTR_BYTEX_1, or MAPPING_PNTR_BYTEX_0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, I'm on an i.mx6SDL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 22:12:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Parallel-RGB-Displays/m-p/312592#M40940</guid>
      <dc:creator>shefft</dc:creator>
      <dc:date>2014-10-21T22:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel RGB Displays</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Parallel-RGB-Displays/m-p/312593#M40941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; The SDK test codes for IPU look as contradicting to the Reference Manual,&lt;/P&gt;&lt;P&gt;in the same time, I tried to run the SDK IPU test&amp;nbsp; - it is working.&amp;nbsp; Hope &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Qiang_FSL"&gt;Qiang_FSL&lt;/A&gt; &lt;BR /&gt;helps to clarify the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Yuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 09:28:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Parallel-RGB-Displays/m-p/312593#M40941</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2014-10-27T09:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Parallel RGB Displays</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Parallel-RGB-Displays/m-p/312594#M40942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can reference to attached sample code.&lt;/P&gt;&lt;P&gt;DC MAPPING=2 (Mapping pointer #1 in reference manul) is fixed in PNTR_BYTE0_1, PNTR_BYTE1_1, PNTR_BYTE2_1. But MD_OFFSET_&amp;lt;i&amp;gt; and MD_MASK_&amp;lt;i&amp;gt; can be any of the valid value.&lt;/P&gt;&lt;P&gt;For Mapping pointer #1, the value setting in microcode_config should be 2 " incremented by 1".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 09:53:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Parallel-RGB-Displays/m-p/312594#M40942</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2014-10-27T09:53:01Z</dc:date>
    </item>
  </channel>
</rss>

