<?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>LPC MicrocontrollersのトピックRe: LPC845 I2C Clock issues at 400kHz</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-Clock-issues-at-400kHz/m-p/1744367#M54519</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I suppose it is normal, the I2C clock is not related with if the I2C slave device is connected. But the I2C slave device can provide the ACK signal when the master send the slave address and direction, so I suggest you connect I2C slave device when you test I2C function.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
    <pubDate>Mon, 23 Oct 2023 09:15:08 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2023-10-23T09:15:08Z</dc:date>
    <item>
      <title>LPC845 I2C Clock issues at 400kHz</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-Clock-issues-at-400kHz/m-p/1742443#M54480</link>
      <description>&lt;P&gt;Hello, I am trying to configure I2C to work at 400kHz. I am using a logic analyzer at 8Ms/s to see SCL and SDA lanes.&lt;/P&gt;&lt;P&gt;Here is what datasheet says about I2C clock:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AgustinOrdonez_0-1697678430995.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/245789iDC4FA157DA871BB7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AgustinOrdonez_0-1697678430995.png" alt="AgustinOrdonez_0-1697678430995.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is what I have configured:&lt;/P&gt;&lt;P&gt;MAIN_CLOCK=12MHz&lt;BR /&gt;CLKDIV=4&lt;BR /&gt;MSTIME=17 (High and low at 3 cycles)&lt;/P&gt;&lt;P&gt;This is what analyzer sees:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AgustinOrdonez_1-1697678577282.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/245790i340962F83584D11B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AgustinOrdonez_1-1697678577282.png" alt="AgustinOrdonez_1-1697678577282.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AgustinOrdonez_2-1697678598938.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/245791i4AA709A0F90F142B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AgustinOrdonez_2-1697678598938.png" alt="AgustinOrdonez_2-1697678598938.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As we can see high and low times are uneven and frequency is not 400kHz&lt;/P&gt;&lt;P&gt;Why could this be happening?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 01:41:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-Clock-issues-at-400kHz/m-p/1742443#M54480</guid>
      <dc:creator>AgustinOrdonez</dc:creator>
      <dc:date>2023-10-19T01:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845 I2C Clock issues at 400kHz</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-Clock-issues-at-400kHz/m-p/1742612#M54485</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As the following Figure, both the MSTSCLLOW and MSTSCLHIGH bits only specify the minimum time of the SCL low and high time, there is internal rule to define the concrete time.'&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_1-1697695500816.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/245850i6DC2C1760EEEE13A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_1-1697695500816.png" alt="xiangjun_rong_1-1697695500816.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 06:08:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-Clock-issues-at-400kHz/m-p/1742612#M54485</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-10-19T06:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845 I2C Clock issues at 400kHz</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-Clock-issues-at-400kHz/m-p/1743916#M54506</link>
      <description>&lt;P&gt;Hello, thanks for answering. I get less than 400kHz either with or without another device connected to I2C lane. Is this still normal?&lt;/P&gt;</description>
      <pubDate>Sat, 21 Oct 2023 00:00:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-Clock-issues-at-400kHz/m-p/1743916#M54506</guid>
      <dc:creator>AgustinOrdonez</dc:creator>
      <dc:date>2023-10-21T00:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845 I2C Clock issues at 400kHz</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-Clock-issues-at-400kHz/m-p/1744367#M54519</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I suppose it is normal, the I2C clock is not related with if the I2C slave device is connected. But the I2C slave device can provide the ACK signal when the master send the slave address and direction, so I suggest you connect I2C slave device when you test I2C function.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 09:15:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-I2C-Clock-issues-at-400kHz/m-p/1744367#M54519</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-10-23T09:15:08Z</dc:date>
    </item>
  </channel>
</rss>

