<?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: i2c waveform in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2c-waveform/m-p/372161#M19381</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good to know it helped :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the curve:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1)&lt;/STRONG&gt; K60 Internal pull resistors should be disabled (PORTx_PCRn[PE] = 0)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2)&lt;/STRONG&gt; Check your external pull-up resistors or try with different values (~ 3.3K to 10K)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3)&lt;/STRONG&gt; Finally confirm you are connecting ground of your scope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Nov 2014 04:45:44 GMT</pubDate>
    <dc:creator>Jorge_Gonzalez</dc:creator>
    <dc:date>2014-11-03T04:45:44Z</dc:date>
    <item>
      <title>i2c waveform</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2c-waveform/m-p/372158#M19378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I meet a problem about the i2c waveform. As you can see in attached figure, it is quite strange that the voltage level stay in the middle of waveform, about 1.2 volt. Presently the final result of read/write is correct, but the waveform is really not the one we expected.&amp;nbsp; Do you have any idea how to modify it? (I'm using K60, and I have ever tried the "High drive select" bit in Reigster I2C0_C2 of K60, but the result wave form is same)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current Platform: IAR&lt;/P&gt;&lt;P&gt;MCU: MK60DX256ZVMC10&lt;/P&gt;&lt;P&gt;I2C Frq: 150KHz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="i2c_wave_part.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47101i006A66E5C0133245/image-size/large?v=v2&amp;amp;px=999" role="button" title="i2c_wave_part.jpg" alt="i2c_wave_part.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 03:29:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2c-waveform/m-p/372158#M19378</guid>
      <dc:creator>jeffgu</dc:creator>
      <dc:date>2014-11-03T03:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: i2c waveform</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2c-waveform/m-p/372159#M19379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jeff:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is probably because Open-Drain is not enabled for the I2C pins you are using. This is configured with PORTx_PCRn[ODE] bit, depending on the port (A/B/C/D/E) and pin number (0-31).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!,&lt;BR /&gt;Jorge Gonzalez&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>Mon, 03 Nov 2014 03:58:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2c-waveform/m-p/372159#M19379</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-11-03T03:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: i2c waveform</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2c-waveform/m-p/372160#M19380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You exactly helped me solved the problem. After enabling port open-drain, the waveform level seems correct. See following figures, however, there is a curve when the pin is pull high, I'm sure there is no Capacities on both SCL and SDA. Do you know if I can improve it?&lt;span class="lia-inline-image-display-wrapper" image-alt="opendrain_i2c.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47163iC3887D6B77686BD8/image-size/large?v=v2&amp;amp;px=999" role="button" title="opendrain_i2c.jpg" alt="opendrain_i2c.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 04:32:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2c-waveform/m-p/372160#M19380</guid>
      <dc:creator>jeffgu</dc:creator>
      <dc:date>2014-11-03T04:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: i2c waveform</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2c-waveform/m-p/372161#M19381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good to know it helped :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the curve:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1)&lt;/STRONG&gt; K60 Internal pull resistors should be disabled (PORTx_PCRn[PE] = 0)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2)&lt;/STRONG&gt; Check your external pull-up resistors or try with different values (~ 3.3K to 10K)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3)&lt;/STRONG&gt; Finally confirm you are connecting ground of your scope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 04:45:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2c-waveform/m-p/372161#M19381</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-11-03T04:45:44Z</dc:date>
    </item>
  </channel>
</rss>

