<?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: LPC845 I2C 8 Extra Clocks after Repeated Start in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-8-Extra-Clocks-after-Repeated-Start/m-p/1553725#M50702</link>
    <description>&lt;P&gt;The 8 extra clocks are being produced by the LPC845 which is operating as the I2C master.&amp;nbsp; The I2C master produces all of the clocks.&amp;nbsp; The EEPROM does not produce any clocks.&lt;/P&gt;&lt;P&gt;It could be caused by "10 bit" addressing, which is a feature of the LPC845 I2C module.&amp;nbsp; However, I do not see a way to either enable or disable "10 bit" addressing.&amp;nbsp; My EEPROM requires "8 bit" addressing, which is the normal behavior for I2C.&lt;/P&gt;&lt;P&gt;Maybe you should have an engineer that is familiar with the LPC845 I2C module look at this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2022 22:14:40 GMT</pubDate>
    <dc:creator>kk7xo</dc:creator>
    <dc:date>2022-11-15T22:14:40Z</dc:date>
    <item>
      <title>LPC845 I2C 8 Extra Clocks after Repeated Start</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-8-Extra-Clocks-after-Repeated-Start/m-p/1549109#M50624</link>
      <description>&lt;P&gt;I am using the LPC845 I2C port to read my EEPROM.&amp;nbsp; In order to read I must first write a data pointer to the device, so my transaction consists of a write, followed by a repeated start, followed by a read.&amp;nbsp; However, after issuing the repeated start, the LPC845 outputs the EEPROM address and read bit, followed by 8 additional clocks.&amp;nbsp; I found a post that is similar but it did not solve my problem.&lt;/P&gt;&lt;P&gt;I am using an interrupt based driver.&lt;/P&gt;&lt;P&gt;Do you know about this issue, what causes it, and how to fix it?&lt;/P&gt;&lt;P&gt;Edit: It also turns out that the 8 extra clocks appear immediately after the next start command even if preceded by a stop.&amp;nbsp; So it is not just repeated starts, its any start following the first one.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 02:56:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-8-Extra-Clocks-after-Repeated-Start/m-p/1549109#M50624</guid>
      <dc:creator>kk7xo</dc:creator>
      <dc:date>2022-11-18T02:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845 I2C 8 Extra Clocks after Repeated Start</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-8-Extra-Clocks-after-Repeated-Start/m-p/1550875#M50654</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/172140"&gt;@kk7xo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;What about your code and signal by logic analyzer?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 08:17:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-8-Extra-Clocks-after-Repeated-Start/m-p/1550875#M50654</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2022-11-09T08:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845 I2C 8 Extra Clocks after Repeated Start</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-8-Extra-Clocks-after-Repeated-Start/m-p/1551347#M50661</link>
      <description>&lt;P&gt;I have attached my code and a scope snapshot.&amp;nbsp; In the scope snapshot, the SCL is the top trace and SDA is the bottom trace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 02:59:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-8-Extra-Clocks-after-Repeated-Start/m-p/1551347#M50661</guid>
      <dc:creator>kk7xo</dc:creator>
      <dc:date>2022-11-18T02:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845 I2C 8 Extra Clocks after Repeated Start</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-8-Extra-Clocks-after-Repeated-Start/m-p/1553606#M50695</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/172140"&gt;@kk7xo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check how to read EEPROM data from EEPROM datasheet.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From your screenshot, only after Read command, there is&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;8 extra clocks.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 02:46:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-8-Extra-Clocks-after-Repeated-Start/m-p/1553606#M50695</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2022-11-15T02:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845 I2C 8 Extra Clocks after Repeated Start</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-8-Extra-Clocks-after-Repeated-Start/m-p/1553673#M50698</link>
      <description>&lt;P&gt;The LPC845 generates the clock, not the EEPROM.&amp;nbsp; The 8 extra clocks are coming from the LPC845.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 04:38:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-8-Extra-Clocks-after-Repeated-Start/m-p/1553673#M50698</guid>
      <dc:creator>kk7xo</dc:creator>
      <dc:date>2022-11-15T04:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845 I2C 8 Extra Clocks after Repeated Start</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-8-Extra-Clocks-after-Repeated-Start/m-p/1553725#M50702</link>
      <description>&lt;P&gt;The 8 extra clocks are being produced by the LPC845 which is operating as the I2C master.&amp;nbsp; The I2C master produces all of the clocks.&amp;nbsp; The EEPROM does not produce any clocks.&lt;/P&gt;&lt;P&gt;It could be caused by "10 bit" addressing, which is a feature of the LPC845 I2C module.&amp;nbsp; However, I do not see a way to either enable or disable "10 bit" addressing.&amp;nbsp; My EEPROM requires "8 bit" addressing, which is the normal behavior for I2C.&lt;/P&gt;&lt;P&gt;Maybe you should have an engineer that is familiar with the LPC845 I2C module look at this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 22:14:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-8-Extra-Clocks-after-Repeated-Start/m-p/1553725#M50702</guid>
      <dc:creator>kk7xo</dc:creator>
      <dc:date>2022-11-15T22:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845 I2C 8 Extra Clocks after Repeated Start</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-8-Extra-Clocks-after-Repeated-Start/m-p/1555993#M50755</link>
      <description>&lt;P&gt;I figured this out.&amp;nbsp; Refer to the attached code file.&amp;nbsp; When reading from I2C on the LPC845 it is not necessary to bump the "continue" flag to read the first byte after giving the address and r/w flag (which is 1 in the case of a read).&amp;nbsp; Just wait for "pending" status and then you can read the first byte.&amp;nbsp; After that you must bump the "continue" flag on subsequent reads.&amp;nbsp; This was not clear from the LPC845 User Manual, but anyway, that's it.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 22:34:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-8-Extra-Clocks-after-Repeated-Start/m-p/1555993#M50755</guid>
      <dc:creator>kk7xo</dc:creator>
      <dc:date>2022-11-17T22:34:06Z</dc:date>
    </item>
  </channel>
</rss>

