<?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: Middle state on I2C in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Middle-state-on-I2C/m-p/223659#M4191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since the I2C SDA is a digital pin function, you need to make it open drain using the ODE bit in the pin configuration register. I wrote a note two weeks ago, please look for "Kinetis I2C ODE".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jun 2013 14:09:25 GMT</pubDate>
    <dc:creator>dieterteuchert</dc:creator>
    <dc:date>2013-06-17T14:09:25Z</dc:date>
    <item>
      <title>Middle state on I2C</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Middle-state-on-I2C/m-p/223658#M4190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In first, I apologize for my english, i'm not very good :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I work on a K10 and i would like use I2C to communicate with an RTC (rv-3029)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i write on the bus, it's works perfectly. But, when the RTC send à ACK or a Data, it result an middle state (like the pictures)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's seems good, except this half state&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="I2C.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119498iCC38252F139DAA44/image-size/large?v=v2&amp;amp;px=999" role="button" title="I2C.jpg" alt="I2C.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to configure the Open drain on the port, but the flag busy is always set after that.&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;PORTB_PCR0 = 0|(PORT_PCR_MUX(0x2));&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt; PORTB_PCR1 = 0|PORT_PCR_DSE_MASK|(PORT_PCR_MUX(0x2));&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Thx for reply&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 11:55:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Middle-state-on-I2C/m-p/223658#M4190</guid>
      <dc:creator>gaelsieber</dc:creator>
      <dc:date>2013-06-17T11:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Middle state on I2C</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Middle-state-on-I2C/m-p/223659#M4191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since the I2C SDA is a digital pin function, you need to make it open drain using the ODE bit in the pin configuration register. I wrote a note two weeks ago, please look for "Kinetis I2C ODE".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 14:09:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Middle-state-on-I2C/m-p/223659#M4191</guid>
      <dc:creator>dieterteuchert</dc:creator>
      <dc:date>2013-06-17T14:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Middle state on I2C</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Middle-state-on-I2C/m-p/223660#M4192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply&lt;/P&gt;&lt;P&gt;i've read your note and i succeed to correct my code, I had a problem with the pin configuration AND with my i2c sequence but it's corrected now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 08:14:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Middle-state-on-I2C/m-p/223660#M4192</guid>
      <dc:creator>gaelsieber</dc:creator>
      <dc:date>2013-06-18T08:14:39Z</dc:date>
    </item>
  </channel>
</rss>

