<?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 FRDM-K64 I2C accelerometer KSDK v1 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K64-I2C-accelerometer-KSDK-v1/m-p/775125#M47145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi everyone,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I have to make a project using uC/OS III as rtos on the FRDM-K64F.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I am trying to read the values of the accelerometer&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(FXOS87000CQ)&amp;nbsp;inside the board using, as base, the project provided by micrium with uC/OS III (that uses the old ksdk 1.0).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I found this example on the nxp community and so I tried to follow it changing the port of I2C (the accelerometer is connected to PTE24 - SCL and PTE25 - SDA in mux mode 5) and the I2C module that is I2C0.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-101073"&gt;FXOS8700CQ - Bare metal example project&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using a scope I see something happens on the port, but when I read the values of the accelerometer I have always 0xFF as&amp;nbsp;result but because I am not very skilled with the protocol and the board I cannot find the problem(s).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried also disabling the magnetometer and using only the accelerometer but I obtain the same results. Using the project example generated by the sdk builder, it works. (but it use KSDk v2.3)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me explain why the code is not working?&lt;/P&gt;&lt;P&gt;Are there other examples using KSDK 1.0 and the K64F?&lt;/P&gt;&lt;P&gt;Is there a way to update or create a new project using the new&amp;nbsp;KSDK and the uC/OS III rtos?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Any help on this would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Davide&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Dec 2017 13:44:02 GMT</pubDate>
    <dc:creator>dave_c1</dc:creator>
    <dc:date>2017-12-08T13:44:02Z</dc:date>
    <item>
      <title>FRDM-K64 I2C accelerometer KSDK v1</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K64-I2C-accelerometer-KSDK-v1/m-p/775125#M47145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi everyone,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I have to make a project using uC/OS III as rtos on the FRDM-K64F.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I am trying to read the values of the accelerometer&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(FXOS87000CQ)&amp;nbsp;inside the board using, as base, the project provided by micrium with uC/OS III (that uses the old ksdk 1.0).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I found this example on the nxp community and so I tried to follow it changing the port of I2C (the accelerometer is connected to PTE24 - SCL and PTE25 - SDA in mux mode 5) and the I2C module that is I2C0.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-101073"&gt;FXOS8700CQ - Bare metal example project&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using a scope I see something happens on the port, but when I read the values of the accelerometer I have always 0xFF as&amp;nbsp;result but because I am not very skilled with the protocol and the board I cannot find the problem(s).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried also disabling the magnetometer and using only the accelerometer but I obtain the same results. Using the project example generated by the sdk builder, it works. (but it use KSDk v2.3)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me explain why the code is not working?&lt;/P&gt;&lt;P&gt;Are there other examples using KSDK 1.0 and the K64F?&lt;/P&gt;&lt;P&gt;Is there a way to update or create a new project using the new&amp;nbsp;KSDK and the uC/OS III rtos?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Any help on this would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Davide&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2017 13:44:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K64-I2C-accelerometer-KSDK-v1/m-p/775125#M47145</guid>
      <dc:creator>dave_c1</dc:creator>
      <dc:date>2017-12-08T13:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K64 I2C accelerometer KSDK v1</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K64-I2C-accelerometer-KSDK-v1/m-p/775126#M47146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Davide&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Check the I2C address being used for the FXOS8700. On the FRDM-K64F the address jumpers are set by default to SA1 = '0' and SA0 = '1', which gives a read address of 0x3b and write address of 0x3a (or sometimes expressed as 0x1e depending on how the firmware manages it).&lt;/P&gt;&lt;P&gt;Possibly the demo that you are using has it set for a different address, in which case the slave would never respond and so 0xff be always read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&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;SPAN&gt;Kinetis: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;BR /&gt;Kinetis K64:&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FFRDM-K64F.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/FRDM-K64F.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FTWR-K64F120M.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/TWR-K64F120M.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FTEENSY_3.5.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/TEENSY_3.5.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FHexiwear-K64F.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/Hexiwear-K64F.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;I2C: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fdocs%2FuTasker%2FuTasker_I2C.pdf" rel="nofollow" target="_blank"&gt;http://www.utasker.com/docs/uTasker/uTasker_I2C.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Free Open Source solution: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FuTasker%2FuTasker-Kinetis" rel="nofollow" target="_blank"&gt;https://github.com/uTasker/uTasker-Kinetis&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Working project in 15 minutes video: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fyoutu.be%2FK8ScSgpgQ6M" rel="nofollow" target="_blank"&gt;https://youtu.be/K8ScSgpgQ6M&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Professional Kinetis support, one-on-one training and complete fast-track project solutions: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fsupport.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/support.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2017 17:42:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K64-I2C-accelerometer-KSDK-v1/m-p/775126#M47146</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-12-08T17:42:10Z</dc:date>
    </item>
  </channel>
</rss>

