<?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>SensorsのトピックRe: FXAS12002</title>
    <link>https://community.nxp.com/t5/Sensors/FXAS12002/m-p/556193#M3433</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have observed your code and emailed you the correct calculation method. Please let me know if you have any questions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aswin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Aug 2016 19:39:56 GMT</pubDate>
    <dc:creator>aswins</dc:creator>
    <dc:date>2016-08-09T19:39:56Z</dc:date>
    <item>
      <title>FXAS12002</title>
      <link>https://community.nxp.com/t5/Sensors/FXAS12002/m-p/556188#M3428</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 also have FXAS12002 code sample from Freescale source for which I studied them including the FIFO transfer the code, offset and gain ,In simple term (which apply all axis)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(0) Gyroresult = 0&lt;/P&gt;&lt;P&gt;(1) For each FIFO element, collect 6 byte data and convert to X.Y.Z 16 bit raw data, ie GyroRaw. That freescale method. &lt;/P&gt;&lt;P&gt;(2) Do Offset&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GyroRaw = GyroRaw - Offset&lt;/P&gt;&lt;P&gt;(3) Do Gain&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Gyro = GyroRaw/Gain&amp;nbsp; (fixed gain = 16, 32, 64 and 128 which in sync with freescale sample code).&amp;nbsp; &lt;/P&gt;&lt;P&gt;(4) Sum up&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Gyroresult = Gyroresult + Gyro&lt;/P&gt;&lt;P&gt;Repeat above for 32 time,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I spin the board 360 deg within 1 second peroid, where FIFO buffer capture every 80mSec for 32 time which is 2.56 second period, then an interrupt take place and run above operation. Now I get Gyroresult as conclusion but number does not make sense unless I do the final step (from my calculaton)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(5) Gyroresult = Gyroresult/128 in order to get degree angle. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I now get close to 360deg angle (done rotation angle), I repeated this with different spin rate during 360 and conclusion is the same. I use stepper motor to do rotation for CW and CCW. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The step 5 does this puzzle me.....any thought about this, is there something I missing out?, any input?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could not find any bug or issue so it must be working fine in accordance to Freescale spec and code sample but the code sample does not provide post FIFO operation code (ie data handling).&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2026 21:02:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXAS12002/m-p/556188#M3428</guid>
      <dc:creator>richardpayne</dc:creator>
      <dc:date>2026-02-03T21:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: FXAS12002</title>
      <link>https://community.nxp.com/t5/Sensors/FXAS12002/m-p/556189#M3429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can you please point me/inbox me the sample code you are using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aswin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 17:33:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXAS12002/m-p/556189#M3429</guid>
      <dc:creator>aswins</dc:creator>
      <dc:date>2016-08-01T17:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: FXAS12002</title>
      <link>https://community.nxp.com/t5/Sensors/FXAS12002/m-p/556190#M3430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aswin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can send you my code for this, can I have your email? I do not wish to put this code into forum. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where is your inbox?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 17:18:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXAS12002/m-p/556190#M3430</guid>
      <dc:creator>richardpayne</dc:creator>
      <dc:date>2016-08-04T17:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: FXAS12002</title>
      <link>https://community.nxp.com/t5/Sensors/FXAS12002/m-p/556191#M3431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Please inbox me the code at &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:aswin.sivakumar@nxp.com"&gt;aswin.sivakumar@nxp.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 17:36:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXAS12002/m-p/556191#M3431</guid>
      <dc:creator>aswins</dc:creator>
      <dc:date>2016-08-04T17:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: FXAS12002</title>
      <link>https://community.nxp.com/t5/Sensors/FXAS12002/m-p/556192#M3432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have posted the email over the weekend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 07:04:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXAS12002/m-p/556192#M3432</guid>
      <dc:creator>richardpayne</dc:creator>
      <dc:date>2016-08-08T07:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: FXAS12002</title>
      <link>https://community.nxp.com/t5/Sensors/FXAS12002/m-p/556193#M3433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have observed your code and emailed you the correct calculation method. Please let me know if you have any questions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aswin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 19:39:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXAS12002/m-p/556193#M3433</guid>
      <dc:creator>aswins</dc:creator>
      <dc:date>2016-08-09T19:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: FXAS12002</title>
      <link>https://community.nxp.com/t5/Sensors/FXAS12002/m-p/556194#M3434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your kind assistance and wish you nice summer vacation. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 09:50:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXAS12002/m-p/556194#M3434</guid>
      <dc:creator>richardpayne</dc:creator>
      <dc:date>2016-08-11T09:50:46Z</dc:date>
    </item>
  </channel>
</rss>

