<?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中的主题 i2C_polling_b2b_master SDK examples creates 741 KHZ SCL</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/i2C-polling-b2b-master-SDK-examples-creates-741-KHZ-SCL/m-p/1596088#M51574</link>
    <description>&lt;P&gt;We are using the LPC55evm and when we use the&amp;nbsp;i2C_polling_b2b_master SDK example. The SCL clock frequency is wrong. It should be 100kHZ, instead, we see 741KHZ. Can someone explain the clock configuration for this example?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also is there a document that describes how the clocks are derived on this evm?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2023 02:01:55 GMT</pubDate>
    <dc:creator>jtauch1</dc:creator>
    <dc:date>2023-02-09T02:01:55Z</dc:date>
    <item>
      <title>i2C_polling_b2b_master SDK examples creates 741 KHZ SCL</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/i2C-polling-b2b-master-SDK-examples-creates-741-KHZ-SCL/m-p/1596088#M51574</link>
      <description>&lt;P&gt;We are using the LPC55evm and when we use the&amp;nbsp;i2C_polling_b2b_master SDK example. The SCL clock frequency is wrong. It should be 100kHZ, instead, we see 741KHZ. Can someone explain the clock configuration for this example?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also is there a document that describes how the clocks are derived on this evm?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 02:01:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/i2C-polling-b2b-master-SDK-examples-creates-741-KHZ-SCL/m-p/1596088#M51574</guid>
      <dc:creator>jtauch1</dc:creator>
      <dc:date>2023-02-09T02:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: i2C_polling_b2b_master SDK examples creates 741 KHZ SCL</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/i2C-polling-b2b-master-SDK-examples-creates-741-KHZ-SCL/m-p/1597085#M51593</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In the I2C master processor of LPC55xx, pls check the I2C clock source, I2C clock divider and SCL high/low time.&lt;/P&gt;
&lt;P&gt;For example, you are using LPC55S69, pls refer to UM11126.pdf, I copy the part from UM11126.pdf.&lt;/P&gt;
&lt;P&gt;I suggest you read the CLKDIV and MSTTIME registers, and the clock source selection FCCLKSELx register value, then use the formula to compute the I2C baud rate.&lt;/P&gt;
&lt;P&gt;33.7.2.1 Rate calculations&lt;BR /&gt;Master timing&lt;BR /&gt;SCL high time (in Flexcomm Interface function clocks) =&lt;BR /&gt;I2C clock divider * SCL high multiplier, See Table 630 and Table 633&lt;BR /&gt;Nominal SCL rate =&lt;BR /&gt;Flexcomm Interface function clock rate / (SCL high time + SCL low time)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1676011589691.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/210406i718A2F62B0F2FDF5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1676011589691.png" alt="xiangjun_rong_0-1676011589691.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="xiangjun_rong_1-1676012183228.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/210411i5545C41F28A59491/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_1-1676012183228.png" alt="xiangjun_rong_1-1676012183228.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;BTW, can you tell us the part number you are using?&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>Fri, 10 Feb 2023 06:57:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/i2C-polling-b2b-master-SDK-examples-creates-741-KHZ-SCL/m-p/1597085#M51593</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-02-10T06:57:31Z</dc:date>
    </item>
  </channel>
</rss>

