<?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>Kinetis Microcontrollers中的主题 Kinetis K20 I2C SDA bus low level @ 1 volt</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20-I2C-SDA-bus-low-level-1-volt/m-p/813072#M49338</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am running simple i2c test with 2 ea K20 talking back and forth to each other.&lt;/P&gt;&lt;P&gt;I am running into a couple of issues I haven't been able to explain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been playing around with the pin control settings.&lt;/P&gt;&lt;P&gt;PORTB_PCR0&amp;nbsp;&amp;nbsp; SCL&lt;/P&gt;&lt;P&gt;PORTB_PCR1&amp;nbsp;&amp;nbsp; SDA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&amp;nbsp; code works when PCR's set to (ALT2 + ODE + PE).&amp;nbsp; However, the Low signal levels look bad on SDA (around 1V).&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&amp;nbsp; Code does not work when PCR's set to (ALT2 + ODE).&amp;nbsp; But, low signal levels now look correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any reason why i2c module requires a PULL DOWN Resister enabled?&lt;/P&gt;&lt;P&gt;I have external pullups on both SCL &amp;amp; SDA (I think they are 4.75K but I need to verify this)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried changing Pulldown to Pullup and no activity on bus at all with that config.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It acts like the Master cannot pull the bus completely low when the internal pullups are enabled.&amp;nbsp; And cannot see RX Data from the slave unless the pulldown is enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas?&amp;nbsp;&amp;nbsp; I'm beginning to wonder if I've missed another config parameter somewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Roger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More Info&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I forgot to mention that when the slave needs to pull SDA low that level is correct&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Dec 2018 18:22:48 GMT</pubDate>
    <dc:creator>rthornblad</dc:creator>
    <dc:date>2018-12-18T18:22:48Z</dc:date>
    <item>
      <title>Kinetis K20 I2C SDA bus low level @ 1 volt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20-I2C-SDA-bus-low-level-1-volt/m-p/813072#M49338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am running simple i2c test with 2 ea K20 talking back and forth to each other.&lt;/P&gt;&lt;P&gt;I am running into a couple of issues I haven't been able to explain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been playing around with the pin control settings.&lt;/P&gt;&lt;P&gt;PORTB_PCR0&amp;nbsp;&amp;nbsp; SCL&lt;/P&gt;&lt;P&gt;PORTB_PCR1&amp;nbsp;&amp;nbsp; SDA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&amp;nbsp; code works when PCR's set to (ALT2 + ODE + PE).&amp;nbsp; However, the Low signal levels look bad on SDA (around 1V).&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&amp;nbsp; Code does not work when PCR's set to (ALT2 + ODE).&amp;nbsp; But, low signal levels now look correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any reason why i2c module requires a PULL DOWN Resister enabled?&lt;/P&gt;&lt;P&gt;I have external pullups on both SCL &amp;amp; SDA (I think they are 4.75K but I need to verify this)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried changing Pulldown to Pullup and no activity on bus at all with that config.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It acts like the Master cannot pull the bus completely low when the internal pullups are enabled.&amp;nbsp; And cannot see RX Data from the slave unless the pulldown is enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas?&amp;nbsp;&amp;nbsp; I'm beginning to wonder if I've missed another config parameter somewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Roger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More Info&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I forgot to mention that when the slave needs to pull SDA low that level is correct&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2018 18:22:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20-I2C-SDA-bus-low-level-1-volt/m-p/813072#M49338</guid>
      <dc:creator>rthornblad</dc:creator>
      <dc:date>2018-12-18T18:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K20 I2C SDA bus low level @ 1 volt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20-I2C-SDA-bus-low-level-1-volt/m-p/813073#M49339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roger Thornblad,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. Please tell me what the K20 detail part number you are using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. What the high level voltage on your I2C bus? 3.3V or others?&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. Try to modify your external pull up to 10K.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4. ALT2 + ODE + PE+PS(1), the test the I2C bus wave, if still have problem, please also share me your I2C oscilloscope bus wave.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your updated information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2018 06:17:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20-I2C-SDA-bus-low-level-1-volt/m-p/813073#M49339</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-12-19T06:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K20 I2C SDA bus low level @ 1 volt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20-I2C-SDA-bus-low-level-1-volt/m-p/813074#M49340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry, thanks for getting back to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Part # is &amp;nbsp;&amp;nbsp;&amp;nbsp;k20dx128vlf5&lt;/P&gt;&lt;P&gt;I tried the ALT2 + ODE + PE+PS(1) with no luck.&amp;nbsp; Note I am modifying both sides so they match (have not tried individual setups on either side yet as I don't think they will help).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will try the pullup value mods now and see where I get to.&amp;nbsp; If that still fails I will take some waveform captures and post them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;-Roger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2018 17:17:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20-I2C-SDA-bus-low-level-1-volt/m-p/813074#M49340</guid>
      <dc:creator>rthornblad</dc:creator>
      <dc:date>2018-12-19T17:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K20 I2C SDA bus low level @ 1 volt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20-I2C-SDA-bus-low-level-1-volt/m-p/813075#M49341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;High voltage is 2.5V with the external pullups.&lt;/P&gt;&lt;P&gt;Removed the external pullups as a quick test and tried (ALT2 + ODE + PE+PS(1)).&lt;/P&gt;&lt;P&gt;i.&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;SCL is constant @ 1 Volt&lt;/P&gt;&lt;P&gt;ii.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SDA is constant @ 0.3 Volts&lt;/P&gt;&lt;P&gt;iii.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No obvious transitions on either line now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached are 2 scope captures&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Master222_Slave222.png &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;i.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 are communicating but the SDA line has the 1V low&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Config Reg is (ALT2 + ODE + PE+PS(0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Master222_slave223.png&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;i.&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;2 are not commnicating.&lt;/P&gt;&lt;P&gt;ii.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Levels being issued by the Master seem OK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;iii.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Slave fails to pull ACK bit low&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Config Reg is (ALT2 + ODE + PE+PS(1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I disconnect the slave device from the bus the levels return to normal&amp;nbsp; Almost looks like in slave mode a DC level is being output on the 2 lines...&amp;nbsp; hard to believe that but ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Roger&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Master222_Slave223&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Master222_Slave222.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/70164i76761ACD7CD1935D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Master222_Slave222.PNG" alt="Master222_Slave222.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Master222_Slave223&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Master222_Slave223.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/70211iC8D4A4E2D9095579/image-size/large?v=v2&amp;amp;px=999" role="button" title="Master222_Slave223.PNG" alt="Master222_Slave223.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2018 22:43:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20-I2C-SDA-bus-low-level-1-volt/m-p/813075#M49341</guid>
      <dc:creator>rthornblad</dc:creator>
      <dc:date>2018-12-19T22:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K20 I2C SDA bus low level @ 1 volt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20-I2C-SDA-bus-low-level-1-volt/m-p/813076#M49342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another weird twist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've installed the slave device into the chassis where it is now communicating with a FPGA that is the I2C master and the levels on the i2C bus are now correct.&amp;nbsp; It appears the only time I get the strange levels is when I have 2 K20 devices connected together.&amp;nbsp; Very strange.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe I can get by with the current design however I would like to get to the bottom of this as we have plans to use K20's on both sides of future designs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;-Roger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2018 14:23:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20-I2C-SDA-bus-low-level-1-volt/m-p/813076#M49342</guid>
      <dc:creator>rthornblad</dc:creator>
      <dc:date>2018-12-20T14:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K20 I2C SDA bus low level @ 1 volt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20-I2C-SDA-bus-low-level-1-volt/m-p/813077#M49343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figured out the problem.&amp;nbsp; I screwed up the configuration in both Master and Slave parts..&amp;nbsp; Not sure why the level issues are not present when the slave module connected to the FPGA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any case I'm good to go.&amp;nbsp; it seems the moderators are pretty busy so I'm not sure when this will really post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Roger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2018 16:05:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20-I2C-SDA-bus-low-level-1-volt/m-p/813077#M49343</guid>
      <dc:creator>rthornblad</dc:creator>
      <dc:date>2018-12-20T16:05:52Z</dc:date>
    </item>
  </channel>
</rss>

