<?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>topic Re: I have a problem with I2C an debbuging  in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-have-a-problem-with-I2C-an-debbuging/m-p/527701#M32776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jingjing, &lt;/P&gt;&lt;P&gt;I'm doing it in that way, i'm waiting for the flags till it sets! But still failling, the problem is with the repeated start condition, when i use it, it sends the last byte that i sent in the bus, instead the address that im trying to send, it works only debugging step by step! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jul 2016 15:18:17 GMT</pubDate>
    <dc:creator>saul_2510</dc:creator>
    <dc:date>2016-07-06T15:18:17Z</dc:date>
    <item>
      <title>I have a problem with I2C an debbuging</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-have-a-problem-with-I2C-an-debbuging/m-p/527698#M32773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When i run my application it doesn't works, but when i debug it step by step it works!&lt;/P&gt;&lt;P&gt;It's a problem with an I2C reading, i'm using the FRDM-KL03Z. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 16:59:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-have-a-problem-with-I2C-an-debbuging/m-p/527698#M32773</guid>
      <dc:creator>saul_2510</dc:creator>
      <dc:date>2016-06-30T16:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: I have a problem with I2C an debbuging</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-have-a-problem-with-I2C-an-debbuging/m-p/527699#M32774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When it works stepping it via a debugger but fails with no debugger - I'd look for a race condition that the code is not addressing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hardware events (like I2C) take some time to complete.&amp;nbsp; If your code does not take these delays into account, it can "race" in front of the hardware and produce faults.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure your code is waiting of I2C flags before your move to your next step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jul 2016 19:47:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-have-a-problem-with-I2C-an-debbuging/m-p/527699#M32774</guid>
      <dc:creator>JHinkle</dc:creator>
      <dc:date>2016-07-03T19:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: I have a problem with I2C an debbuging</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-have-a-problem-with-I2C-an-debbuging/m-p/527700#M32775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Customer,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Joe is correct, if you want to receive your I2C code, you need to use while to wait the receive flag(I2C_S_IICIF_MASK) is set after you read the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I attached the KL03 i2c driver for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you still have question, just let me know!&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>Wed, 06 Jul 2016 05:58:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-have-a-problem-with-I2C-an-debbuging/m-p/527700#M32775</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-07-06T05:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: I have a problem with I2C an debbuging</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-have-a-problem-with-I2C-an-debbuging/m-p/527701#M32776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jingjing, &lt;/P&gt;&lt;P&gt;I'm doing it in that way, i'm waiting for the flags till it sets! But still failling, the problem is with the repeated start condition, when i use it, it sends the last byte that i sent in the bus, instead the address that im trying to send, it works only debugging step by step! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 15:18:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-have-a-problem-with-I2C-an-debbuging/m-p/527701#M32776</guid>
      <dc:creator>saul_2510</dc:creator>
      <dc:date>2016-07-06T15:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: I have a problem with I2C an debbuging</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-have-a-problem-with-I2C-an-debbuging/m-p/527702#M32777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your more details!&lt;/P&gt;&lt;P&gt;Actually, we have a lot of I2C sample code for FRDM-KL03 in our SDK_2.0_FRDM-KL03Z, please download it from this link:&lt;/P&gt;&lt;P&gt;kex.freescale.com/en/welcome&lt;/P&gt;&lt;P&gt;Choose FRDM-KL03 in the board, then generate the KSDK2.0 package.&lt;/P&gt;&lt;P&gt;After you download it, you can find the I2C sample code in folder :SDK_2.0_FRDM-KL03Z\boards\frdmkl03z\driver_examples\i2c&lt;/P&gt;&lt;P&gt;Please refer to this code and test it on your side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still have question after refer to the KSDK2.0 I2C sample code, please let me know!&lt;/P&gt;&lt;P&gt;&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>Thu, 07 Jul 2016 02:19:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-have-a-problem-with-I2C-an-debbuging/m-p/527702#M32777</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-07-07T02:19:22Z</dc:date>
    </item>
  </channel>
</rss>

