<?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: Changing I2C Configuration</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Changing-I2C-Configuration/m-p/643435#M98242</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a physically smaller copy of imx6 quad sabre board(connections remain the same).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Mar 2017 08:01:38 GMT</pubDate>
    <dc:creator>mcergun</dc:creator>
    <dc:date>2017-03-19T08:01:38Z</dc:date>
    <item>
      <title>Changing I2C Configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-I2C-Configuration/m-p/643433#M98240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to change I2C voltage on DVP port. I have checked device tree for some hints but all I can find is this:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DOVDD-supply = &amp;lt;&amp;amp;vgen4_reg&amp;gt;; /* 1.8v */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;AVDD-supply = &amp;lt;&amp;amp;vgen3_reg&amp;gt;;&amp;nbsp; /* 2.8v, on rev C board is VGEN3,&lt;BR /&gt;&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; &amp;nbsp;on rev B board is VGEN5 */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;DVDD-supply = &amp;lt;&amp;amp;vgen2_reg&amp;gt;;&amp;nbsp; /* 1.5v*/&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pwn-gpios = &amp;lt;&amp;amp;gpio1 16 1&amp;gt;;&amp;nbsp;&amp;nbsp; /* active low: SD1_DAT0 */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;rst-gpios = &amp;lt;&amp;amp;gpio1 17 0&amp;gt;;&amp;nbsp;&amp;nbsp; /* active high: SD1_DAT1 */&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;There is no information about any of the *-supply variables.I can understand AVDD stands for analog VDD and DVDD stands for digital VDD but still it's not really clear.&lt;/P&gt;&lt;P&gt;Are they(DOVDD, AVDD, DVDD supply) for CSI-DVP configuration?&lt;/P&gt;&lt;P&gt;Can they also control I2C voltages?&lt;/P&gt;&lt;P&gt;Are I2C settings fixed, and not changeable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 10:24:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-I2C-Configuration/m-p/643433#M98240</guid>
      <dc:creator>mcergun</dc:creator>
      <dc:date>2017-03-13T10:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Changing I2C Configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-I2C-Configuration/m-p/643434#M98241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello mert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what device are you using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 21:25:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-I2C-Configuration/m-p/643434#M98241</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2017-03-17T21:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Changing I2C Configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-I2C-Configuration/m-p/643435#M98242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a physically smaller copy of imx6 quad sabre board(connections remain the same).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Mar 2017 08:01:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-I2C-Configuration/m-p/643435#M98242</guid>
      <dc:creator>mcergun</dc:creator>
      <dc:date>2017-03-19T08:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Changing I2C Configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-I2C-Configuration/m-p/643436#M98243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Hi mert can ergun,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;My understanding is that you want to change the I2C operation voltage of the DVP (camera connector). Is this correct? So, in this case it would be necessary to modify HW rather than SW.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;In SABRE board design, you can find that the I2C master signal comes from CSIO_DAT8 -&amp;gt; I2C1_SDA and CSIO_DAT9 -&amp;gt; I2C1_SCL pins on IMX6Q.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15764i53B89E3E5594B5B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;I2C1_SCL is connected to CSIO_SCL and I2C1_SDA is connected to CSIO_SDA, and both are connected with a pull-up to GEN_1V8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15790iFD5104E4F191CE0B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15858i554652F78AEE5A5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Then CSIO_SCL y CSIO_SDA is connected to J9 which is the camera connector for DVP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15873iB250C94EB583CAE3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Now, changing the I2C voltage could be done in different ways:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;OPTION 1: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Change pull-ups, instead of “GEN_1V8” they may be connected to a power rail with the required voltage. Please note that in this case all the devices connected to this rail must support the same voltage, otherwise you may use option 3.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;OPTION2:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;You may also change voltage in VGEN4 on PF0100 (which is source of GEN_1V8) by modifying “VGEN4” (3:0) field in “VGEN4CTRL” register (addr 0x6F):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15941i6F76A52D4F89BB00/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Or if OTP programming is required you may modify “VGEN4_VOLT” (3:0) field of “OTP VGEN4 VOLT” register (addr 0xD4):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_15.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15979i66CC36CB717C081D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_15.png" alt="pastedImage_15.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Please note that in this case all the devices connected to this rail must support the same voltage, otherwise you may use option 3.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;OPTION3:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;You may use I2C level shifter, this device allows having different voltage levels in the same I2C rail, below you can see an example (U10) implemented in SABRE board:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_16.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16023i426566C85289ADC0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_16.png" alt="pastedImage_16.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;If you consider option 3 to be the best option we can provide advice and recommend and NXP I2C level shifter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Carlos&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>Tue, 21 Mar 2017 21:36:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-I2C-Configuration/m-p/643436#M98243</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2017-03-21T21:36:14Z</dc:date>
    </item>
  </channel>
</rss>

