<?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: GPIO Open-Drain I2C Bit Bang MK02FN128VFM in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/GPIO-Open-Drain-I2C-Bit-Bang-MK02FN128VFM/m-p/400231#M22202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Philipp,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you connect the GPIO pin to GND are you still getting an 1 when you call the function GPIO_DRV_ReadPinInput()?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Earl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jul 2015 15:03:52 GMT</pubDate>
    <dc:creator>EarlOrlando</dc:creator>
    <dc:date>2015-07-10T15:03:52Z</dc:date>
    <item>
      <title>GPIO Open-Drain I2C Bit Bang MK02FN128VFM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/GPIO-Open-Drain-I2C-Bit-Bang-MK02FN128VFM/m-p/400230#M22201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to intergrate a I2C BitBang on two of the GPIO Pins. The Kinetis processor should work as master.&lt;/P&gt;&lt;P&gt;Therefore I have to configure those pins as open-drain output connected with external pull up resistors.&lt;/P&gt;&lt;P&gt;Once the Master has send out the I2C Adress, it has to check the I2C_SDA like for the acknowledge of the slave.&lt;/P&gt;&lt;P&gt;The slaves gives the acknowledge by pulling the signal line low, but unfortunately when I read the GPIO with GPIO_DRV_ReadPinInput(), I get always a 0x01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm a little bit confused about one sentence in the user manual of MK02FN128VFM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The GPIO input data register&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;displays the logic value on each pin when the pin is configured for any digital function,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;provided the corresponding Port Control and Interrupt module for that pin is enabled.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me to do the right configuration?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Philipp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 06:59:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/GPIO-Open-Drain-I2C-Bit-Bang-MK02FN128VFM/m-p/400230#M22201</guid>
      <dc:creator>philipp_laemmle</dc:creator>
      <dc:date>2015-07-10T06:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO Open-Drain I2C Bit Bang MK02FN128VFM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/GPIO-Open-Drain-I2C-Bit-Bang-MK02FN128VFM/m-p/400231#M22202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Philipp,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you connect the GPIO pin to GND are you still getting an 1 when you call the function GPIO_DRV_ReadPinInput()?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Earl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 15:03:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/GPIO-Open-Drain-I2C-Bit-Bang-MK02FN128VFM/m-p/400231#M22202</guid>
      <dc:creator>EarlOrlando</dc:creator>
      <dc:date>2015-07-10T15:03:52Z</dc:date>
    </item>
  </channel>
</rss>

