<?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>S12 / MagniV Microcontrollers中的主题 Re: Bug in Freescale IIC (I2C) example code (AN2318)</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Bug-in-Freescale-IIC-I2C-example-code-AN2318/m-p/141010#M3200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;I think you are correct. I will try to get the AN updated.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jun 2006 06:38:25 GMT</pubDate>
    <dc:creator>DrSeuss</dc:creator>
    <dc:date>2006-06-27T06:38:25Z</dc:date>
    <item>
      <title>Bug in Freescale IIC (I2C) example code (AN2318)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Bug-in-Freescale-IIC-I2C-example-code-AN2318/m-p/141008#M3198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;FYI:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For anybody trying to get the freescale example AN2318&amp;nbsp;IIC&amp;nbsp;code to work.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The code works fine if you tx or rx&amp;nbsp;2 bytes or more.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you rx a single byte, however, the code fails to switch off master transmission acknowledgements&amp;nbsp;( by setting TXAK = 1).&amp;nbsp; This is because it relies on the transmission of the "last but one" byte to switch TXAK off.&amp;nbsp; Of course if you are only rx'ing one byte their is no "last but one" byte.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This problem occurred for me because the AD5242 digital pot I&amp;nbsp;am using requires the reception of a single byte (after the slave address).&amp;nbsp; The read worked for the majority of the time, but occasionally resulted in the failure of the device to deassert the SDA line.&amp;nbsp; The failure occured on the next read/write when the bus was still busy.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2006 19:29:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Bug-in-Freescale-IIC-I2C-example-code-AN2318/m-p/141008#M3198</guid>
      <dc:creator>JonHart</dc:creator>
      <dc:date>2006-06-26T19:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Freescale IIC (I2C) example code (AN2318)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Bug-in-Freescale-IIC-I2C-example-code-AN2318/m-p/141009#M3199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;...oh and my solution!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Check the number of bytes.&amp;nbsp; If it is only one, set TXAK when you send the IIC START signal.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2006 19:31:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Bug-in-Freescale-IIC-I2C-example-code-AN2318/m-p/141009#M3199</guid>
      <dc:creator>JonHart</dc:creator>
      <dc:date>2006-06-26T19:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Freescale IIC (I2C) example code (AN2318)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Bug-in-Freescale-IIC-I2C-example-code-AN2318/m-p/141010#M3200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;I think you are correct. I will try to get the AN updated.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2006 06:38:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Bug-in-Freescale-IIC-I2C-example-code-AN2318/m-p/141010#M3200</guid>
      <dc:creator>DrSeuss</dc:creator>
      <dc:date>2006-06-27T06:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Freescale IIC (I2C) example code (AN2318)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Bug-in-Freescale-IIC-I2C-example-code-AN2318/m-p/141011#M3201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to me it doesn't work anyway with 1 byte read... I have a 10th clk after the ack one, so it doesn't make the stop condition... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 12:46:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Bug-in-Freescale-IIC-I2C-example-code-AN2318/m-p/141011#M3201</guid>
      <dc:creator>Selea</dc:creator>
      <dc:date>2013-08-08T12:46:12Z</dc:date>
    </item>
  </channel>
</rss>

