<?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 Reading KL25Z data in I2C1_D in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-KL25Z-data-in-I2C1-D/m-p/517341#M32633</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;I have a problem reading data from the I2C1_D Register for my KL25Z.&lt;/P&gt;&lt;P&gt;I have when running in a while loop on the logic analyzer the 0x3A Data.&lt;/P&gt;&lt;P&gt;But when working with the start-stop-breakpoint debugging, I have other data in this register.&lt;/P&gt;&lt;P&gt;How is this register organized? Where is the least significant bit and where the most significant bit?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jun 2016 17:09:19 GMT</pubDate>
    <dc:creator>us1</dc:creator>
    <dc:date>2016-06-08T17:09:19Z</dc:date>
    <item>
      <title>Reading KL25Z data in I2C1_D</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-KL25Z-data-in-I2C1-D/m-p/517341#M32633</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;I have a problem reading data from the I2C1_D Register for my KL25Z.&lt;/P&gt;&lt;P&gt;I have when running in a while loop on the logic analyzer the 0x3A Data.&lt;/P&gt;&lt;P&gt;But when working with the start-stop-breakpoint debugging, I have other data in this register.&lt;/P&gt;&lt;P&gt;How is this register organized? Where is the least significant bit and where the most significant bit?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 17:09:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-KL25Z-data-in-I2C1-D/m-p/517341#M32633</guid>
      <dc:creator>us1</dc:creator>
      <dc:date>2016-06-08T17:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reading KL25Z data in I2C1_D</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-KL25Z-data-in-I2C1-D/m-p/517342#M32634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have values in every Most Signigicant Byte and Least Significant byte, but could it be that the problem is not having the dummy read?&lt;/P&gt;&lt;P&gt;What is the requirement to leave the dummy read?&lt;/P&gt;&lt;P&gt;thank yoou&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 20:22:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-KL25Z-data-in-I2C1-D/m-p/517342#M32634</guid>
      <dc:creator>us1</dc:creator>
      <dc:date>2016-06-08T20:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Reading KL25Z data in I2C1_D</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-KL25Z-data-in-I2C1-D/m-p/517343#M32635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ulrich:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, after reading your post I am not understanding your issue clearly. The I2C data register (&lt;STRONG&gt;I2Cx_D&lt;/STRONG&gt;) is a single byte with bits organized in the conventional order:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59659i25757652B8CC72FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach a very simple sample project which I shared a while ago that communicates a KL25-Master to a KL25-Slave through I2C. The master simply issues a read command and then the slave sends 10 consecutive bytes. Maybe this project helps you as reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also download KSDK for KL25 and you will find I2C example projects:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/products/software-and-tools/run-time-software/kinetis-software-and-tools/development-platforms-with-mbed/software-development-kit-for-kinetis-mcus:KINETIS-SDK?tid=redKINETIS_SDK" title="http://www.nxp.com/products/software-and-tools/run-time-software/kinetis-software-and-tools/development-platforms-with-mbed/software-development-kit-for-kinetis-mcus:KINETIS-SDK?tid=redKINETIS_SDK"&gt;Software Development Kit for Kinetis MCUs|NXP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have doubts or your issue persists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&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, 15 Jun 2016 02:29:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-KL25Z-data-in-I2C1-D/m-p/517343#M32635</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2016-06-15T02:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Reading KL25Z data in I2C1_D</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-KL25Z-data-in-I2C1-D/m-p/517344#M32636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi @Jorge_Gonzalez&lt;/P&gt;&lt;P&gt;the problem I had: There was the wrong value in the I2C1_D Register!!! Sensor send the right one.&lt;/P&gt;&lt;P&gt;This was, because my code was missing the Dummy read!&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;NXP should add this to their handbook, if you work after the reference manual!!!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 11:28:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-KL25Z-data-in-I2C1-D/m-p/517344#M32636</guid>
      <dc:creator>us1</dc:creator>
      <dc:date>2016-06-19T11:28:15Z</dc:date>
    </item>
  </channel>
</rss>

