<?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 using I2C1 in Kinetis to read temperature sensor in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/using-I2C1-in-Kinetis-to-read-temperature-sensor/m-p/309149#M801</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and I see the program stucks in that last while loop and "prints 2" all the way! Why?&lt;/P&gt;&lt;P&gt;I have my I2C1 interrupt based so master should receive the "ACK signal" before interrupting that "I sent all data", correct?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also the last command (" I2C1_MasterSendBlock(I2C1ptr, &amp;amp;passin, 1, [[LDD_I2C_SEND_STOP/ OR /LDD_I2C_NO_SEND_STOP]]);"), I tried with no send stop and it did not work. On page 9, it says, it should send with stop signal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 May 2014 23:56:19 GMT</pubDate>
    <dc:creator>mehdikarimibiuk</dc:creator>
    <dc:date>2014-05-02T23:56:19Z</dc:date>
    <item>
      <title>using I2C1 in Kinetis to read temperature sensor</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/using-I2C1-in-Kinetis-to-read-temperature-sensor/m-p/309149#M801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and I see the program stucks in that last while loop and "prints 2" all the way! Why?&lt;/P&gt;&lt;P&gt;I have my I2C1 interrupt based so master should receive the "ACK signal" before interrupting that "I sent all data", correct?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also the last command (" I2C1_MasterSendBlock(I2C1ptr, &amp;amp;passin, 1, [[LDD_I2C_SEND_STOP/ OR /LDD_I2C_NO_SEND_STOP]]);"), I tried with no send stop and it did not work. On page 9, it says, it should send with stop signal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 23:56:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/using-I2C1-in-Kinetis-to-read-temperature-sensor/m-p/309149#M801</guid>
      <dc:creator>mehdikarimibiuk</dc:creator>
      <dc:date>2014-05-02T23:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: using I2C1 in Kinetis to read temperature sensor</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/using-I2C1-in-Kinetis-to-read-temperature-sensor/m-p/309150#M802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your post, however please consider moving it to the right community place (e.g. &lt;A _jive_internal="true" class="jivecontainerTT-hover-container jive-link-community-small" data-containerid="1" data-containertype="14" data-objectid="2020" data-objecttype="14" href="https://community.nxp.com/community/codewarrior"&gt;CodeWarrior Development Tools&lt;/A&gt; or &lt;A _jive_internal="true" class="jivecontainerTT-hover-container jive-link-community-small" data-containerid="1" data-containertype="14" data-objectid="2019" data-objecttype="14" href="https://community.nxp.com/community/kinetis"&gt; Kinetis Microcontrollers&lt;/A&gt; ) to get it visible for active members.&lt;/P&gt;&lt;P&gt;For details please see general advice &lt;A _jive_internal="true" data-containerid="2001" data-containertype="14" data-objectid="99909" data-objecttype="102" href="https://community.nxp.com/docs/DOC-99909"&gt;Where to post a Discussion?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for using Freescale Community.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 08:04:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/using-I2C1-in-Kinetis-to-read-temperature-sensor/m-p/309150#M802</guid>
      <dc:creator>Wlodek_D_</dc:creator>
      <dc:date>2014-05-05T08:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: using I2C1 in Kinetis to read temperature sensor</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/using-I2C1-in-Kinetis-to-read-temperature-sensor/m-p/309151#M803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I moved it. Is there any update for this?&lt;/P&gt;&lt;P&gt;Can anyone tell me why I cannot talk properly to the I2C temperature sensor component?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 18:21:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/using-I2C1-in-Kinetis-to-read-temperature-sensor/m-p/309151#M803</guid>
      <dc:creator>mehdikarimibiuk</dc:creator>
      <dc:date>2014-05-05T18:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: using I2C1 in Kinetis to read temperature sensor</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/using-I2C1-in-Kinetis-to-read-temperature-sensor/m-p/309152#M804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mehdi, sorry for the delay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem here seems to be the same as in your other thread (&lt;A href="https://community.nxp.com/thread/323398"&gt;K60 I2C-EEPROM write and read&lt;/A&gt;). Each time you call the MasterSendBlock() API, the K60 Master must be sending the address before the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As workaround you can put together all the data you want to send in the same buffer (in this case 0xAC+0x01 in the same buffer).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this the call to MasterSendBlock() should only generate 1 start signal and send the data correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 16:19:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/using-I2C1-in-Kinetis-to-read-temperature-sensor/m-p/309152#M804</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-05-09T16:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: using I2C1 in Kinetis to read temperature sensor</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/using-I2C1-in-Kinetis-to-read-temperature-sensor/m-p/309153#M805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No I did not pass data first!&lt;/P&gt;&lt;P&gt;Did you not read my other posts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 16:33:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/using-I2C1-in-Kinetis-to-read-temperature-sensor/m-p/309153#M805</guid>
      <dc:creator>mehdikarimibiuk</dc:creator>
      <dc:date>2014-05-09T16:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: using I2C1 in Kinetis to read temperature sensor</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/using-I2C1-in-Kinetis-to-read-temperature-sensor/m-p/309154#M806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please post answers for this post &lt;A href="https://community.nxp.com/thread/323398"&gt;K60 I2C-EEPROM write and read&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I will close this thread.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Mehdi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 16:39:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/using-I2C1-in-Kinetis-to-read-temperature-sensor/m-p/309154#M806</guid>
      <dc:creator>mehdikarimibiuk</dc:creator>
      <dc:date>2014-05-09T16:39:45Z</dc:date>
    </item>
  </channel>
</rss>

