<?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>ColdFire/68K Microcontrollers and Processors中的主题 I2C on 5282</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/I2C-on-5282/m-p/158694#M4839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the I2C on 5282. The manual states that the ICF bit in the Status register indicates if transfer is in progress or completed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Checking the ICF bit does not work. Instead, checking the IIF bit works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it a mistake in the manual or I am missing something (I am not using any interrupts)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Mar 2009 06:57:56 GMT</pubDate>
    <dc:creator>SVC2</dc:creator>
    <dc:date>2009-03-05T06:57:56Z</dc:date>
    <item>
      <title>I2C on 5282</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/I2C-on-5282/m-p/158694#M4839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the I2C on 5282. The manual states that the ICF bit in the Status register indicates if transfer is in progress or completed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Checking the ICF bit does not work. Instead, checking the IIF bit works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it a mistake in the manual or I am missing something (I am not using any interrupts)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2009 06:57:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/I2C-on-5282/m-p/158694#M4839</guid>
      <dc:creator>SVC2</dc:creator>
      <dc:date>2009-03-05T06:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: I2C on 5282</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/I2C-on-5282/m-p/158695#M4840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the explaination. When you are using I2C module, you might have multiple devices connected to the bus and there might be arbitration involved and you might have arbitration lost, also you might be receiving a calling address when in slave receive mode. ICF bit just reflects data transfer complete, but IIF reflects three cases:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Complete one byte transfer (set at the falling edge of the ninth clock)&lt;/LI&gt;&lt;LI&gt;Reception of a calling address that matches its own specific address in slave-receive mode&lt;/LI&gt;&lt;LI&gt;Arbitration lost&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you better read IIF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OK, I know that you are not using interrupt, you are just try to poll the IIC interrupt status, IIF is just a flag, if you are not enabling IIEN, no I2C interrupt will be fired.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 10:17:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/I2C-on-5282/m-p/158695#M4840</guid>
      <dc:creator>cutworth</dc:creator>
      <dc:date>2009-03-06T10:17:04Z</dc:date>
    </item>
  </channel>
</rss>

