<?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>Wireless MCUのトピックRe: Kw41z i2c setup</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Kw41z-i2c-setup/m-p/847767#M5723</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ppz"&gt;ppz&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your hardware setup sounds a little odd.&amp;nbsp; I wouldn't enable the pull up/down resistor in my pin configuration.&amp;nbsp; I especially don't recommend enabling the pull down resistor.&amp;nbsp; I2C needs external pull-up resistors.&amp;nbsp; 10K pull ups also sound a bit high.&amp;nbsp; Not that they're not possible to use for the slower baud rates, but if you want higher baud rates you need to use a stronger pull-up.&amp;nbsp; I would recommend something around 2K - 4K. The FRDM-KW41Z uses 2.2K ohms.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Chris&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Oct 2018 21:24:12 GMT</pubDate>
    <dc:creator>chris_brown</dc:creator>
    <dc:date>2018-10-10T21:24:12Z</dc:date>
    <item>
      <title>Kw41z i2c setup</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Kw41z-i2c-setup/m-p/847766#M5722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I use a KW41Z board as a master and a LTC3207 LED driver as a slave device and try to set up a communication between this devices. I have checked the accelerometer example and it was relatively simple,&amp;nbsp;now I use almost the same code with some modifications as changing I2C1 bus to I2C0, setting up SDA/SCL ports (I use pull-down resistor in my ports configuration in this case), addresses, etc. The SDA/SCL lines are both connected to the voltage source with two ~10k ohm resistors for each connection. No matter what I send, the ack bit is always received, even if the I2C lines are only connected to the board ports and to the voltage source. What can be possibly wrong? I had the same issue with setting up some digital temperature sensor working on One Wire protocol by using GPIO ports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2018 20:04:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Kw41z-i2c-setup/m-p/847766#M5722</guid>
      <dc:creator>ppz</dc:creator>
      <dc:date>2018-10-10T20:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Kw41z i2c setup</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Kw41z-i2c-setup/m-p/847767#M5723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ppz"&gt;ppz&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your hardware setup sounds a little odd.&amp;nbsp; I wouldn't enable the pull up/down resistor in my pin configuration.&amp;nbsp; I especially don't recommend enabling the pull down resistor.&amp;nbsp; I2C needs external pull-up resistors.&amp;nbsp; 10K pull ups also sound a bit high.&amp;nbsp; Not that they're not possible to use for the slower baud rates, but if you want higher baud rates you need to use a stronger pull-up.&amp;nbsp; I would recommend something around 2K - 4K. The FRDM-KW41Z uses 2.2K ohms.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Chris&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2018 21:24:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Kw41z-i2c-setup/m-p/847767#M5723</guid>
      <dc:creator>chris_brown</dc:creator>
      <dc:date>2018-10-10T21:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Kw41z i2c setup</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Kw41z-i2c-setup/m-p/847768#M5724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I've tried to disable any internal pull-up/pull-down resistors&amp;nbsp;and changed the&amp;nbsp;external pull-up resistors of the I2C lines to ~4k ohms.&amp;nbsp;The result remains the same.&lt;/P&gt;&lt;P&gt;Here is the code of the pin configuration if that helps.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;nbsp;const port_pin_config_t portc_pin16_config = {&lt;BR /&gt;&amp;nbsp;kPORT_PullDisable,&lt;BR /&gt;&amp;nbsp;kPORT_FastSlewRate,&amp;nbsp;&lt;BR /&gt;&amp;nbsp;kPORT_PassiveFilterDisable,&amp;nbsp;&lt;BR /&gt;&amp;nbsp;kPORT_LowDriveStrength,&amp;nbsp;&lt;BR /&gt;&amp;nbsp;kPORT_MuxAlt3,&lt;BR /&gt;&amp;nbsp;};&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2018 22:44:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Kw41z-i2c-setup/m-p/847768#M5724</guid>
      <dc:creator>ppz</dc:creator>
      <dc:date>2018-10-10T22:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Kw41z i2c setup</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Kw41z-i2c-setup/m-p/847769#M5725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ppz"&gt;ppz&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At a brief glance, it looks fine.&amp;nbsp; Which pins are you using?&amp;nbsp; Do you have an oscilloscope trace of the I2C transaction (NOT a logic analyzer trace)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2018 20:18:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Kw41z-i2c-setup/m-p/847769#M5725</guid>
      <dc:creator>chris_brown</dc:creator>
      <dc:date>2018-10-11T20:18:29Z</dc:date>
    </item>
  </channel>
</rss>

