<?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中的主题 I2C Module not working on KL25Z</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-Module-not-working-on-KL25Z/m-p/506930#M31836</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi I'm doing a processor expert project on the KL25Z freedom board and the I2C stopped working as soon as I added more components. I tried changing it back to it's previous state to revert the problem but it persisted. I'm out of the ideas as how to fix it.&lt;/P&gt;&lt;P&gt;What I'm trying to do is to communicate with an external sensor that works with I2C with the address 0x23, but when I look with a logic analyzer nothing shows up in both the SCL and SDA, in fact not even the lines are pulled up, they are both in low state. I know the logic analyzer wont send an ACK but at least I want to see if the I2C module is sending the Start bit and Address code.&lt;/P&gt;&lt;P&gt;I'm attaching the whole PE configuration for this component, if any other detail is required please let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Mar 2016 18:33:51 GMT</pubDate>
    <dc:creator>roccorondinella</dc:creator>
    <dc:date>2016-03-25T18:33:51Z</dc:date>
    <item>
      <title>I2C Module not working on KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-Module-not-working-on-KL25Z/m-p/506930#M31836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi I'm doing a processor expert project on the KL25Z freedom board and the I2C stopped working as soon as I added more components. I tried changing it back to it's previous state to revert the problem but it persisted. I'm out of the ideas as how to fix it.&lt;/P&gt;&lt;P&gt;What I'm trying to do is to communicate with an external sensor that works with I2C with the address 0x23, but when I look with a logic analyzer nothing shows up in both the SCL and SDA, in fact not even the lines are pulled up, they are both in low state. I know the logic analyzer wont send an ACK but at least I want to see if the I2C module is sending the Start bit and Address code.&lt;/P&gt;&lt;P&gt;I'm attaching the whole PE configuration for this component, if any other detail is required please let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2016 18:33:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-Module-not-working-on-KL25Z/m-p/506930#M31836</guid>
      <dc:creator>roccorondinella</dc:creator>
      <dc:date>2016-03-25T18:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: I2C Module not working on KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-Module-not-working-on-KL25Z/m-p/506931#M31837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rocco,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Did you mean, before your add the other components, the I2C module in&amp;nbsp; KL25 PE project is working correctly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Which component you are adding?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Did you try to create a new PE project just as before?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Besides, the I2C module working is not only relate to the component configuration, but also relate to the code writing, about the code, you can refer to the KSDK1.3.0 code:&lt;/P&gt;&lt;P&gt;C:\Freescale\KSDK_1.3.0\examples\frdmkl25z\driver_examples\i2c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&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>Mon, 28 Mar 2016 07:24:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-Module-not-working-on-KL25Z/m-p/506931#M31837</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-03-28T07:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: I2C Module not working on KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-Module-not-working-on-KL25Z/m-p/506932#M31838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally found out what happened when I compared it with and example of KSDK, somehow in the Low Level PE Init the code skipped the pull-up part on those pins, keeping the channel always down. I still don't know why that happened. &lt;/P&gt;&lt;P&gt;Thanks for the answer anyway, have a great day to!&lt;BR /&gt;Rocco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 11:27:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-Module-not-working-on-KL25Z/m-p/506932#M31838</guid>
      <dc:creator>roccorondinella</dc:creator>
      <dc:date>2016-03-28T11:27:51Z</dc:date>
    </item>
  </channel>
</rss>

