<?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>Kinetis MicrocontrollersのトピックRe: Re: MMA8451 on kl25z baremetal code angle calculation</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MMA8451-on-kl25z-baremetal-code-angle-calculation/m-p/288275#M11291</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached you can find the complete example code that computes both pitch and roll angles according to equations 37 and 38 in the &lt;A href="http://www.freescale.com/files/sensors/doc/app_note/AN3461.pdf"&gt;AN3461&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jan 2014 13:51:31 GMT</pubDate>
    <dc:creator>TomasVaverka</dc:creator>
    <dc:date>2014-01-08T13:51:31Z</dc:date>
    <item>
      <title>MMA8451 on kl25z baremetal code angle calculation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MMA8451-on-kl25z-baremetal-code-angle-calculation/m-p/288270#M11286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, did someone write some baremetal code for reading the mma8451 accelerometer data and also calculate the angles. Is there a tutorial anywhere?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 14:43:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MMA8451-on-kl25z-baremetal-code-angle-calculation/m-p/288270#M11286</guid>
      <dc:creator>asdasdaram</dc:creator>
      <dc:date>2014-01-06T14:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: MMA8451 on kl25z baremetal code angle calculation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MMA8451-on-kl25z-baremetal-code-angle-calculation/m-p/288271#M11287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The FRDM-KL25ZDemo, which can be found in the KL25z sample code, contains baremetal code for angle calculation which can be found in the "angle_calculation" directory in the project folder. The KL25z sample code can be found here &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-KL25Z&amp;amp;tid=vanFRDM-KL25Z" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-KL25Z&amp;amp;tid=vanFRDM-KL25Z"&gt;FRDM-KL25Z: Freescale Freedom Development Platform for Kinetis KL14/15/24/25 MCUs&lt;/A&gt; under Downloads &amp;gt;&amp;gt; Software Development Tools &amp;gt;&amp;gt; Lab and Test software. Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bryan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 20:09:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MMA8451-on-kl25z-baremetal-code-angle-calculation/m-p/288271#M11287</guid>
      <dc:creator>bryancole-b4682</dc:creator>
      <dc:date>2014-01-06T20:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: MMA8451 on kl25z baremetal code angle calculation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MMA8451-on-kl25z-baremetal-code-angle-calculation/m-p/288272#M11288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for the answer. I looked at this already but its hard to understand why he do so. Maybe a closer look will help i try my best.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 20:13:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MMA8451-on-kl25z-baremetal-code-angle-calculation/m-p/288272#M11288</guid>
      <dc:creator>asdasdaram</dc:creator>
      <dc:date>2014-01-06T20:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: MMA8451 on kl25z baremetal code angle calculation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MMA8451-on-kl25z-baremetal-code-angle-calculation/m-p/288273#M11289</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;You can give a look to the step by step tutorial in the next link. It does not mention the angle calculation, but you can develop your own algorithm with the basics explained:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/09/21/tutorial-accelerating-the-kl25z-freedom-board/" title="http://mcuoneclipse.com/2012/09/21/tutorial-accelerating-the-kl25z-freedom-board/"&gt;Tutorial: Accelerating the KL25Z Freedom Board | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;/Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 20:30:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MMA8451-on-kl25z-baremetal-code-angle-calculation/m-p/288273#M11289</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-01-06T20:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: MMA8451 on kl25z baremetal code angle calculation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MMA8451-on-kl25z-baremetal-code-angle-calculation/m-p/288274#M11290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might also find useful my baremetal &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-98836"&gt;example code&lt;/A&gt; for the MMA8451Q accelerometer and FRDM-KL25Z platform. &lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d; background: white;"&gt;I will try to add a few lines of&amp;nbsp; code to calculate an angle of inclination using atan2 function and then I will post it here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 09:26:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MMA8451-on-kl25z-baremetal-code-angle-calculation/m-p/288274#M11290</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2014-01-07T09:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Re: MMA8451 on kl25z baremetal code angle calculation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MMA8451-on-kl25z-baremetal-code-angle-calculation/m-p/288275#M11291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached you can find the complete example code that computes both pitch and roll angles according to equations 37 and 38 in the &lt;A href="http://www.freescale.com/files/sensors/doc/app_note/AN3461.pdf"&gt;AN3461&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 13:51:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MMA8451-on-kl25z-baremetal-code-angle-calculation/m-p/288275#M11291</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2014-01-08T13:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: MMA8451 on kl25z baremetal code angle calculation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MMA8451-on-kl25z-baremetal-code-angle-calculation/m-p/288276#M11292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just in case you wanted a&amp;nbsp; convenient breakout board to interface and probe the data here is one: &lt;A href="http://doproto.com/store/31-accelerometermma8451-3-axis-digital-module.html" title="http://doproto.com/store/31-accelerometermma8451-3-axis-digital-module.html"&gt;Accelerometer(MMA8451) 3-AXIS Digital Module - DoProto Electronics&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Polash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 05:20:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MMA8451-on-kl25z-baremetal-code-angle-calculation/m-p/288276#M11292</guid>
      <dc:creator>polashmisra</dc:creator>
      <dc:date>2014-01-28T05:20:06Z</dc:date>
    </item>
  </channel>
</rss>

