<?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>MPC5xxxのトピックRe: I2C time frequency configure</title>
    <link>https://community.nxp.com/t5/MPC5xxx/I2C-time-frequency-configure/m-p/475530#M2102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;The I2C module is clocked from F40 clock group (max 40MHz). The IBFD[IBC] field is used to divide this module clock to give desired bit rate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;If you&amp;nbsp; want for example 100kHz I2C bus then simply calculate divider as&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;divider = F40 / bit rate = 40MHz / 100kHz = 400.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Now from Table 44-11 find closest SCL divider and use respective IBC value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;So you can select SCL divider = 416 and IBFD = 0x96.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;The SCL Divider, SDA Hold and SCL Hold (start/stop) values represent time duration in number of module clock.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;For 400kHz I2C bus, assuming max 40MHz module clock, you get divider = 100, then select IBFD = 0x16.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jun 2016 04:53:46 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2016-06-03T04:53:46Z</dc:date>
    <item>
      <title>I2C time frequency configure</title>
      <link>https://community.nxp.com/t5/MPC5xxx/I2C-time-frequency-configure/m-p/475529#M2101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Hi everybody!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;When configing the I2C module in MPC5748G, there is something puzzle me about the frequency of the SCL for I2C bus. For example, IBFD=0x20&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="152854_152854.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121704i683F21C61AD87D2D/image-size/large?v=v2&amp;amp;px=999" role="button" title="152854_152854.png" alt="152854_152854.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21481i75BA0AA9673F09B7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;what's the unit of the number 160, 17, 78, 81? stands for how long time?&lt;/P&gt;&lt;P&gt;What should I do if I want to have a 400KHz I2C bus?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="152853_152853.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121705i9DC50E828F2B7198/image-size/large?v=v2&amp;amp;px=999" role="button" title="152853_152853.png" alt="152853_152853.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21471iE546E157F4BA3E20/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 14:44:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/I2C-time-frequency-configure/m-p/475529#M2101</guid>
      <dc:creator>huqiang</dc:creator>
      <dc:date>2016-06-02T14:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: I2C time frequency configure</title>
      <link>https://community.nxp.com/t5/MPC5xxx/I2C-time-frequency-configure/m-p/475530#M2102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;The I2C module is clocked from F40 clock group (max 40MHz). The IBFD[IBC] field is used to divide this module clock to give desired bit rate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;If you&amp;nbsp; want for example 100kHz I2C bus then simply calculate divider as&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;divider = F40 / bit rate = 40MHz / 100kHz = 400.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Now from Table 44-11 find closest SCL divider and use respective IBC value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;So you can select SCL divider = 416 and IBFD = 0x96.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;The SCL Divider, SDA Hold and SCL Hold (start/stop) values represent time duration in number of module clock.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;For 400kHz I2C bus, assuming max 40MHz module clock, you get divider = 100, then select IBFD = 0x16.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 04:53:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/I2C-time-frequency-configure/m-p/475530#M2102</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2016-06-03T04:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: I2C time frequency configure</title>
      <link>https://community.nxp.com/t5/MPC5xxx/I2C-time-frequency-configure/m-p/475531#M2103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Petr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you very much for your help! I will do it later.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Qiang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 12:52:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/I2C-time-frequency-configure/m-p/475531#M2103</guid>
      <dc:creator>huqiang</dc:creator>
      <dc:date>2016-06-03T12:52:18Z</dc:date>
    </item>
  </channel>
</rss>

