<?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: KL46Z with FXS-9AXIS in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-with-FXS-9AXIS/m-p/474005#M28775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Thanks for your advice,&lt;/P&gt;&lt;P&gt;I installed the library and imported the FSFK_KL46Z in KDS but it does not work. I cannot debug it&lt;/P&gt;&lt;P&gt;It can not find the Cpu.h&lt;/P&gt;&lt;P&gt;The coonsole says: FSFK_KL25.elf: cannot execute binary file: &lt;SPAN class="short_text" lang="en"&gt;error &lt;SPAN&gt;in the&lt;/SPAN&gt; &lt;SPAN&gt;format&lt;/SPAN&gt; &lt;SPAN&gt;of the&lt;/SPAN&gt; &lt;SPAN&gt;program file&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;Would be great if you can help me &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Mar 2016 08:25:51 GMT</pubDate>
    <dc:creator>bertan7</dc:creator>
    <dc:date>2016-03-29T08:25:51Z</dc:date>
    <item>
      <title>KL46Z with FXS-9AXIS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-with-FXS-9AXIS/m-p/473999#M28769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey i'm using the KL46Z working with KDS and already write some programs ( Hello World, LED blink, UART etc.) and it works well.&lt;/P&gt;&lt;P&gt;I need the FXS-9Axis for my new project now (Selfbalancing Robot) to get the Data from the Acc and Gyro on the 9Axis and calculate them to use the Kalmanfilter and adjust later with a PID controller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Problem:&lt;/P&gt;&lt;P&gt;I don't know how to use the i2c comunication to get output values from the Gyro or Acc, on my Term to see if it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Mar 2016 11:07:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-with-FXS-9AXIS/m-p/473999#M28769</guid>
      <dc:creator>bertan7</dc:creator>
      <dc:date>2016-03-13T11:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: KL46Z with FXS-9AXIS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-with-FXS-9AXIS/m-p/474000#M28770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bertan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You need to find the I2C driver at first, actually, our FRDM-KL46 have the I2C code for reading the digital accelerometer, you can refer to it, then associate with the FXS-9AXIS datasheet to modify the code and read your FXS-9AXIS data ,.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The sample code download link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.nxp.com/files/32bit/software/KL46_SC.exe?fpsp=1&amp;amp;WT_TYPE=Lab%20and%20Test%20Software&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=exe&amp;amp;WT_ASSET=Downloads&amp;amp;fileExt=.exe" title="http://cache.nxp.com/files/32bit/software/KL46_SC.exe?fpsp=1&amp;amp;WT_TYPE=Lab%20and%20Test%20Software&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=exe&amp;amp;WT_ASSET=Downloads&amp;amp;fileExt=.exe"&gt;http://cache.nxp.com/files/32bit/software/KL46_SC.exe?fpsp=1&amp;amp;WT_TYPE=Lab%20and%20Test%20Software&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then, you can find the according code in folder: kinetis_kl46_sc\kinetis_kl46_sc_rev2\klxx-sc-baremetal\build\iar\FRDMKL46_Demo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have question, please contact with me!&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, 14 Mar 2016 08:55:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-with-FXS-9AXIS/m-p/474000#M28770</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-03-14T08:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: KL46Z with FXS-9AXIS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-with-FXS-9AXIS/m-p/474001#M28771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Thank you for your answer,&lt;/P&gt;&lt;P&gt;but I can't find the code in the link for reading the accelerometer.&lt;/P&gt;&lt;P&gt;There is just a main.c file with: int main() and return(). in it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I already have a demo called Bubble where I can send out the acc data&lt;/P&gt;&lt;P&gt;Now I need the code for reading the gyro on the 9-axis, to add it to the accelerometer data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I just have to change the PINs and addresses?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 07:56:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-with-FXS-9AXIS/m-p/474001#M28771</guid>
      <dc:creator>bertan7</dc:creator>
      <dc:date>2016-03-18T07:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: KL46Z with FXS-9AXIS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-with-FXS-9AXIS/m-p/474002#M28772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bertan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please see this picture:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="36.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/23423iB1040F122C850CBB/image-size/large?v=v2&amp;amp;px=999" role="button" title="36.jpg" alt="36.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; That's the accelerator code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; About whether you need to change the PINS and address, it determined by your hardware, you should choose the according pin which your sensor are using, the address you should read your sensor's datasheet.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I don't have the 9-axis code directly, you need to write the code by yourself and refer to the accelerator code.&lt;/P&gt;&lt;P&gt;Wish it helps you!&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>Fri, 18 Mar 2016 08:54:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-with-FXS-9AXIS/m-p/474002#M28772</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-03-18T08:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: KL46Z with FXS-9AXIS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-with-FXS-9AXIS/m-p/474003#M28773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Thanks for your answer,&lt;/P&gt;&lt;P&gt;but i need something with i2c mastersendblock and masterreceiveblock in the code because of the processor expert component: I2C.&lt;/P&gt;&lt;P&gt;Are there any other example codes for ACC(FXOS8700CQ) or GYRO(FXAS21000) for the FRDM-FXS-9Axis that i can use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 13:10:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-with-FXS-9AXIS/m-p/474003#M28773</guid>
      <dc:creator>bertan7</dc:creator>
      <dc:date>2016-03-22T13:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: KL46Z with FXS-9AXIS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-with-FXS-9AXIS/m-p/474004#M28774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bertan,&lt;/P&gt;&lt;P&gt;Please downloader the library for FRDM-FXS-9Axis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H3&gt;&lt;A class="dtmAssetClick" data-dtmassettype="Download" data-dtmname="NXP Sensor Fusion Library for Kinetis MCUs" href="http://www.nxp.com/webapp/sps/download/license.jsp?colCode=XTRINSIC_FUSION_LIB_KINMCU&amp;amp;location=null" target="_blank"&gt;NXP Sensor Fusion Library for Kinetis MCUs&lt;/A&gt;&lt;/H3&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After you install it, you can find the KL46 code for FRDM-FXS-9XIS in folder:FRDM-FXS-9AXIS\Codewarrior\FSFK_KL46Z&lt;/P&gt;&lt;P&gt;Wish it helps you!&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>Fri, 25 Mar 2016 02:47:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-with-FXS-9AXIS/m-p/474004#M28774</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-03-25T02:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: KL46Z with FXS-9AXIS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-with-FXS-9AXIS/m-p/474005#M28775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Thanks for your advice,&lt;/P&gt;&lt;P&gt;I installed the library and imported the FSFK_KL46Z in KDS but it does not work. I cannot debug it&lt;/P&gt;&lt;P&gt;It can not find the Cpu.h&lt;/P&gt;&lt;P&gt;The coonsole says: FSFK_KL25.elf: cannot execute binary file: &lt;SPAN class="short_text" lang="en"&gt;error &lt;SPAN&gt;in the&lt;/SPAN&gt; &lt;SPAN&gt;format&lt;/SPAN&gt; &lt;SPAN&gt;of the&lt;/SPAN&gt; &lt;SPAN&gt;program file&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;Would be great if you can help me &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 08:25:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-with-FXS-9AXIS/m-p/474005#M28775</guid>
      <dc:creator>bertan7</dc:creator>
      <dc:date>2016-03-29T08:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: KL46Z with FXS-9AXIS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-with-FXS-9AXIS/m-p/474006#M28776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bertan,&lt;/P&gt;&lt;P&gt;&amp;nbsp; The KL46 sample code is the Codewarrior project, so you can't use the KDS to open it directly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; When you import it, did you refer to the KDS import document in the path:C:\Freescale\KDS_3.0.0\doc KDS_Porting_Guide?&lt;/P&gt;&lt;P&gt;&amp;nbsp; Besides, I use the Codewarrior 10.6 to open the KL46project, and complier it, it has no error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="44.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26387i6C03ADFB24C14B0C/image-size/large?v=v2&amp;amp;px=999" role="button" title="44.jpg" alt="44.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; So, you can download an &lt;A href="http://www.nxp.com/products/software-and-tools/software-development-tools/codewarrior-development-tools/codewarrior-development-studios/codewarrior-for-microcontrollers/codewarrior-for-mcus-eclipse-ide-coldfire-56800-e-dsc-kinetis-freescale-56xx-rs08-s08-s12z-v10.6:CW-MCU10?code=CW-MCU10&amp;amp;nodeId=015210BAF72726E4C7E4CB&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;CW &lt;/A&gt;to open it, then refer to the codewarrior configuration to configure your KDS again.&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;/P&gt;&lt;P&gt;Jingjing&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, 30 Mar 2016 06:29:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-with-FXS-9AXIS/m-p/474006#M28776</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-03-30T06:29:44Z</dc:date>
    </item>
  </channel>
</rss>

