<?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 K64F I2C driver Ignore NAK when sending 1 byte  in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64F-I2C-driver-Ignore-NAK-when-sending-1-byte/m-p/763960#M7769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I may have found a bug in the in the K64F i2c driver, specifically fsl_i2c_edma.c.&lt;/P&gt;&lt;P&gt;When the I2C_MasterTransferEDMA() is called to only send 1 byte it doesn't check for NAK after it sends. Is this a bug or was this done for a reason.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've add the call&amp;nbsp;result = I2C_CheckAndClearError(base, base-&amp;gt;S); after&amp;nbsp;while (!(base-&amp;gt;S &amp;amp; kI2C_IntPendingFlag));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jun 2018 19:19:07 GMT</pubDate>
    <dc:creator>unknowncoder</dc:creator>
    <dc:date>2018-06-07T19:19:07Z</dc:date>
    <item>
      <title>K64F I2C driver Ignore NAK when sending 1 byte</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64F-I2C-driver-Ignore-NAK-when-sending-1-byte/m-p/763960#M7769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I may have found a bug in the in the K64F i2c driver, specifically fsl_i2c_edma.c.&lt;/P&gt;&lt;P&gt;When the I2C_MasterTransferEDMA() is called to only send 1 byte it doesn't check for NAK after it sends. Is this a bug or was this done for a reason.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've add the call&amp;nbsp;result = I2C_CheckAndClearError(base, base-&amp;gt;S); after&amp;nbsp;while (!(base-&amp;gt;S &amp;amp; kI2C_IntPendingFlag));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 19:19:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64F-I2C-driver-Ignore-NAK-when-sending-1-byte/m-p/763960#M7769</guid>
      <dc:creator>unknowncoder</dc:creator>
      <dc:date>2018-06-07T19:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: K64F I2C driver Ignore NAK when sending 1 byte</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64F-I2C-driver-Ignore-NAK-when-sending-1-byte/m-p/763961#M7770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="311755" data-username="unknowncoder" href="https://community.nxp.com/people/unknowncoder"&gt;unknowncoder&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to I2C bus specification, for the last byte,&amp;nbsp; I2C don't care the NAK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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/22332i3135EC44DF1EC3E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2018 06:16:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64F-I2C-driver-Ignore-NAK-when-sending-1-byte/m-p/763961#M7770</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2018-06-15T06:16:24Z</dc:date>
    </item>
  </channel>
</rss>

