<?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: Using AN4652 - I2C Driver Locks Up in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Using-AN4652-I2C-Driver-Locks-Up/m-p/242483#M6854</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please upload it to AN4625 in Freescale website? I just downloaded the AN zip file, and it contains the old version.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Mar 2013 08:57:12 GMT</pubDate>
    <dc:creator>panpwr</dc:creator>
    <dc:date>2013-03-12T08:57:12Z</dc:date>
    <item>
      <title>Using AN4652 - I2C Driver Locks Up</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Using-AN4652-I2C-Driver-Locks-Up/m-p/242478#M6849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the I2C driver as presented in AN4652 on a K70 system using MQX 3.8 and CodeWarrior 10.2.&amp;nbsp; The K70 is a master and there is a single slave device.&amp;nbsp; Initially everything works fine.&amp;nbsp; Looking at an oscilloscope I see the clock and data lines; the data from the slave device is correct.&amp;nbsp; The problem is that after some time the I2C interface just stops--the oscilloscope shows nothing.&amp;nbsp; The time is somewhat random but less than five minutes.&amp;nbsp; The program is executing an 'fread' statement that never returns.&amp;nbsp;&amp;nbsp; The problem is somewhat baud rate dependent.&amp;nbsp; Lowering the baud rate (from 100,000 to 10,000) results in a longer time until the interface locks.&amp;nbsp; Are there any know problems with the I2C driver? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 15:57:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Using-AN4652-I2C-Driver-Locks-Up/m-p/242478#M6849</guid>
      <dc:creator>mrupp_viatechno</dc:creator>
      <dc:date>2013-01-30T15:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using AN4652 - I2C Driver Locks Up</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Using-AN4652-I2C-Driver-Locks-Up/m-p/242479#M6850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the I2C driver from MQX 3.8.1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 20:31:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Using-AN4652-I2C-Driver-Locks-Up/m-p/242479#M6850</guid>
      <dc:creator>BryGuyH</dc:creator>
      <dc:date>2013-01-30T20:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using AN4652 - I2C Driver Locks Up</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Using-AN4652-I2C-Driver-Locks-Up/m-p/242480#M6851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I copied all the files from MQX3_8_1\source\io\i2c into the corresponding folder in MQX3_8.&amp;nbsp; Then made the changes as per AN4653 and rebuilt MQX (BSP, PSP, and so forth).&amp;nbsp; Lastly, I rebuild my application and ran it.&amp;nbsp; No change.&amp;nbsp; The driver still hangs in the 'fread'.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 20:17:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Using-AN4652-I2C-Driver-Locks-Up/m-p/242480#M6851</guid>
      <dc:creator>mrupp_viatechno</dc:creator>
      <dc:date>2013-02-01T20:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using AN4652 - I2C Driver Locks Up</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Using-AN4652-I2C-Driver-Locks-Up/m-p/242481#M6852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The driver is developed and tested on MQX3.8.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check after the communication stops.&amp;nbsp; Is the SDA/SCL low?&amp;nbsp; If yes, master make it low or device make it low?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If master make it low, here is a new version of the driver in the attachment, which adds the SMBUS feature to prevent lock-up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Feb 2013 05:57:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Using-AN4652-I2C-Driver-Locks-Up/m-p/242481#M6852</guid>
      <dc:creator>jia_guo</dc:creator>
      <dc:date>2013-02-16T05:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using AN4652 - I2C Driver Locks Up</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Using-AN4652-I2C-Driver-Locks-Up/m-p/242482#M6853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem was "solved" by using a better cable.&amp;nbsp; Shorter, twisted pairs and shielded.&amp;nbsp; Although we occasionally get incorect data, the driver no longer locks up.&amp;nbsp; Thank you for your response, but I just don't have the time to go back to the old cable to verify if the new file solves the problem. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 03:36:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Using-AN4652-I2C-Driver-Locks-Up/m-p/242482#M6853</guid>
      <dc:creator>mrupp_viatechno</dc:creator>
      <dc:date>2013-02-21T03:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using AN4652 - I2C Driver Locks Up</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Using-AN4652-I2C-Driver-Locks-Up/m-p/242483#M6854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please upload it to AN4625 in Freescale website? I just downloaded the AN zip file, and it contains the old version.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 08:57:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Using-AN4652-I2C-Driver-Locks-Up/m-p/242483#M6854</guid>
      <dc:creator>panpwr</dc:creator>
      <dc:date>2013-03-12T08:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using AN4652 - I2C Driver Locks Up</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Using-AN4652-I2C-Driver-Locks-Up/m-p/242484#M6855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am also having some issues with I2C driver. It works fine but the delay required between completing a write for one device (i.e. sending STOP) and starting the write for the second device (sending START) is very high around 10us. I have seen the documentation and any of the connected device does not require this long delay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I give a delay of 15us it works fine but really not sure why it required this much delay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mohsin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 16:17:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Using-AN4652-I2C-Driver-Locks-Up/m-p/242484#M6855</guid>
      <dc:creator>Mohsin455</dc:creator>
      <dc:date>2013-05-16T16:17:33Z</dc:date>
    </item>
  </channel>
</rss>

