<?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: Re: FXLS8471QR1-Self test</title>
    <link>https://community.nxp.com/t5/Sensors/FXLS8471QR1-Self-test/m-p/387232#M1392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;It looks like you are not converting correctly the raw values from r&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif; color: #3d3d3d; background-position: initial;"&gt;egisters 0x01 – 0x06&lt;/SPAN&gt; to signed 14-bit values. As you can see in my &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-99917"&gt;example project&lt;/A&gt;, you should use something like this:&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Consolas; color: black;"&gt;Xout_14_bit = ((&lt;/SPAN&gt;&lt;SPAN style="color: #7f0055; font-size: 13.3333320617676px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;STRONG&gt;short&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Consolas; color: black;"&gt;) (OUT_X_MSB&amp;lt;&amp;lt;8 | &lt;SPAN style="color: #000000; font-family: Consolas; font-size: 13.3333330154419px;"&gt;OUT_X_LSB&lt;/SPAN&gt;)) &amp;gt;&amp;gt; 2;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Consolas; color: #3f7f5f;"&gt;// Compute 14-bit X-axis output value&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Consolas; color: black;"&gt;Yout_14_bit = ((&lt;/SPAN&gt;&lt;SPAN style="color: #7f0055; font-size: 13.3333320617676px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;STRONG&gt;short&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Consolas; color: black;"&gt;) (&lt;SPAN style="color: #000000; font-family: Consolas; font-size: 13.3333330154419px;"&gt;OUT_Y_MSB&lt;/SPAN&gt;&amp;lt;&amp;lt;8 | &lt;SPAN style="color: #000000; font-family: Consolas; font-size: 13.3333330154419px;"&gt;OUT_Y_LSB&lt;/SPAN&gt;)) &amp;gt;&amp;gt; 2;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Consolas; color: #3f7f5f;"&gt;// Compute 14-bit Y-axis output value&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Consolas; color: black;"&gt;Zout_14_bit = ((&lt;/SPAN&gt;&lt;SPAN style="color: #7f0055; font-size: 13.3333320617676px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;STRONG&gt;short&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Consolas; color: black;"&gt;) (&lt;SPAN style="color: #000000; font-family: Consolas; font-size: 13.3333330154419px;"&gt;OUT_Z_MSB&lt;/SPAN&gt;&amp;lt;&amp;lt;8 | &lt;SPAN style="color: #000000; font-family: Consolas; font-size: 13.3333330154419px;"&gt;OUT_Z_LSB&lt;/SPAN&gt;)) &amp;gt;&amp;gt; 2;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Consolas; color: #3f7f5f;"&gt;// Compute 14-bit Z-axis output value&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: Helvetica, sans-serif; background-position: initial;"&gt;If you place the accelerometer upside down so its z-axis points upward, the z-axis (Zout_14_bit) should be approximately -4096 which corresponds to -1g in &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: #3d3d3d; background-position: initial;"&gt;±2g&lt;/SPAN&gt; range.&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #3d3d3d; background: white;"&gt;Now using correct signed 14-bit values, you should be able to get right numbers when performing self test, regardless of the sensor orientation. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #3d3d3d; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #3d3d3d; background: white;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #3d3d3d; background: white;"&gt;Tomas&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Apr 2015 12:04:01 GMT</pubDate>
    <dc:creator>TomasVaverka</dc:creator>
    <dc:date>2015-04-09T12:04:01Z</dc:date>
    <item>
      <title>FXLS8471QR1-Self test</title>
      <link>https://community.nxp.com/t5/Sensors/FXLS8471QR1-Self-test/m-p/387227#M1387</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 am looking some information on self test feature of fxls8471qr1.&lt;/P&gt;&lt;P&gt;What will be value of axis when fxls8471qr1 is engaged in self test?&lt;/P&gt;&lt;P&gt;Do we need to perform self test at any particular orientation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2026 21:04:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXLS8471QR1-Self-test/m-p/387227#M1387</guid>
      <dc:creator>ziarehman</dc:creator>
      <dc:date>2026-02-03T21:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: FXLS8471QR1-Self test</title>
      <link>https://community.nxp.com/t5/Sensors/FXLS8471QR1-Self-test/m-p/387228#M1388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Simply compute the difference between the acceleration output of all axes with self-test enabled (st = 1) and disabled (st = 0) as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;X&lt;SUB&gt;ST&lt;/SUB&gt; = X&lt;SUB&gt;ST_ON &lt;/SUB&gt;− X&lt;SUB&gt;ST_OFF &lt;/SUB&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Y&lt;SUB&gt;ST&lt;/SUB&gt; = Y&lt;SUB&gt;ST_ON &lt;/SUB&gt;− Y&lt;SUB&gt;ST_OFF &lt;/SUB&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Z&lt;SUB&gt;ST&lt;/SUB&gt; = Z&lt;SUB&gt;ST_ON &lt;/SUB&gt;− Z&lt;SUB&gt;ST_OFF&lt;/SUB&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Note that it&lt;SPAN style="background: white;"&gt; is recommended to take several samples (e.g. 10) for each axis and average them.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white; font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;If these self test responses are higher than the minimum values specified for each axis in the datasheet (table 2),&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt; the FXLS8471Q passed the self test.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any other questions.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Tomas&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;EM style="font-weight: normal; font-style: italic; font-size: 13px; font-family: Arial, sans-serif; text-align: left; text-indent: 0px; color: #333333;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 11px; font-family: inherit; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-style: italic; font-size: 11px; font-family: inherit;"&gt;PS:&lt;SPAN class="Apple-converted-space" style="font-weight: inherit; font-style: inherit; font-size: 11px; font-family: inherit;"&gt;&lt;SPAN class="Apple-converted-space" style="font-weight: inherit; font-style: inherit; font-size: 11px; font-family: inherit;"&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;I&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 11px; font-family: inherit; color: #3d3d3d;"&gt;f my answer helps to solve your question, please mark it as "Correct" or “Helpful”. Thank you.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 13:25:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXLS8471QR1-Self-test/m-p/387228#M1388</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2015-04-08T13:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: FXLS8471QR1-Self test</title>
      <link>https://community.nxp.com/t5/Sensors/FXLS8471QR1-Self-test/m-p/387229#M1389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just did a try as per your suggestion. &lt;BR /&gt;But it did not worked for me. The difference of all three axis is not always greater than the values given in the table.&lt;BR /&gt;What I have noticed is that at least difference of one axis out of three is greater that the tabled values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Zia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 17:25:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXLS8471QR1-Self-test/m-p/387229#M1389</guid>
      <dc:creator>ziarehman</dc:creator>
      <dc:date>2015-04-08T17:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: FXLS8471QR1-Self test</title>
      <link>https://community.nxp.com/t5/Sensors/FXLS8471QR1-Self-test/m-p/387230#M1390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Is the full-scale range set to ±2g (fs[1:0] = 0b00)? I am asking this because the values specified in the datasheet are given for ±2g mode. I read the following values from the device at ±2g (and ODR = 1.56Hz) without offset calibration:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;X&lt;SUB&gt;ST&lt;/SUB&gt; = X&lt;SUB&gt;ST_ON &lt;/SUB&gt;− X&lt;SUB&gt;ST_OFF &lt;/SUB&gt;= 506 – 186 = 320&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Y&lt;SUB&gt;ST&lt;/SUB&gt; = Y&lt;SUB&gt;ST_ON &lt;/SUB&gt;− Y&lt;SUB&gt;ST_OFF &lt;/SUB&gt;= 194 – (–277) = 471&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Z&lt;SUB&gt;ST&lt;/SUB&gt; = Z&lt;SUB&gt;ST_ON &lt;/SUB&gt;− Z&lt;SUB&gt;ST_OFF &lt;/SUB&gt;= 7172 – 4273 = 2899&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Could you please post here your values? How many accelerometers have you tested so far and how many of them failed the self test? &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Tomas&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 08:16:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXLS8471QR1-Self-test/m-p/387230#M1390</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2015-04-09T08:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: FXLS8471QR1-Self test</title>
      <link>https://community.nxp.com/t5/Sensors/FXLS8471QR1-Self-test/m-p/387231#M1391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tomas,&lt;/P&gt;&lt;P&gt;Yes, the full scale range is set to 2g and ODR rate is set to 200Hz.&lt;/P&gt;&lt;P&gt;We are using accelerometer in a handheld device and I am calculating the difference by placing the device in different orientations.&lt;/P&gt;&lt;P&gt;At some orientations I am getting correct result and some results are not correct.&lt;/P&gt;&lt;P&gt;Does orientation has any effect of Self Test feature?&lt;/P&gt;&lt;P&gt;Do we need to add delay after putting accelerometer in self test mode?&lt;/P&gt;&lt;P&gt;Results of my accelerometer by placing in 6 different orientation are:&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;First Orientation: &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;X&lt;SUB&gt;ST&lt;/SUB&gt; = 326; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Y&lt;SUB&gt;ST&lt;/SUB&gt; = (-15943) ;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Z&lt;SUB&gt;ST&lt;/SUB&gt; = 3210&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Second Orientation: &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;X&lt;SUB&gt;ST&lt;/SUB&gt; = 331; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Y&lt;SUB&gt;ST&lt;/SUB&gt; = (-15932) ;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Z&lt;SUB&gt;ST&lt;/SUB&gt; = 3&lt;/SPAN&gt;&lt;/SPAN&gt;084&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Third Orientation: &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;X&lt;SUB&gt;ST&lt;/SUB&gt; = (-3607); &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Y&lt;SUB&gt;ST&lt;/SUB&gt; = 443 ;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Z&lt;SUB&gt;ST&lt;/SUB&gt; = &lt;/SPAN&gt;(-13262)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Fourth Orientation: &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;X&lt;SUB&gt;ST&lt;/SUB&gt; = 328; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Y&lt;SUB&gt;ST&lt;/SUB&gt; = 449 ;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Z&lt;SUB&gt;ST&lt;/SUB&gt; = &lt;/SPAN&gt;3154&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Fifth Orientation: &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;X&lt;SUB&gt;ST&lt;/SUB&gt; = 307; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Y&lt;SUB&gt;ST&lt;/SUB&gt;355) ;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Z&lt;SUB&gt;ST&lt;/SUB&gt; = &lt;/SPAN&gt;(-13256)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Sixth Orientation: &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;X&lt;SUB&gt;ST&lt;/SUB&gt; = 327; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Y&lt;SUB&gt;ST&lt;/SUB&gt; = 460 ;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Z&lt;SUB&gt;ST&lt;/SUB&gt; = &lt;/SPAN&gt;(-13262)&lt;/P&gt;&lt;P&gt;So far I have tested this on two different instruments and results are more or less same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atique&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 10:26:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXLS8471QR1-Self-test/m-p/387231#M1391</guid>
      <dc:creator>ziarehman</dc:creator>
      <dc:date>2015-04-09T10:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Re: FXLS8471QR1-Self test</title>
      <link>https://community.nxp.com/t5/Sensors/FXLS8471QR1-Self-test/m-p/387232#M1392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;It looks like you are not converting correctly the raw values from r&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif; color: #3d3d3d; background-position: initial;"&gt;egisters 0x01 – 0x06&lt;/SPAN&gt; to signed 14-bit values. As you can see in my &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-99917"&gt;example project&lt;/A&gt;, you should use something like this:&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Consolas; color: black;"&gt;Xout_14_bit = ((&lt;/SPAN&gt;&lt;SPAN style="color: #7f0055; font-size: 13.3333320617676px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;STRONG&gt;short&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Consolas; color: black;"&gt;) (OUT_X_MSB&amp;lt;&amp;lt;8 | &lt;SPAN style="color: #000000; font-family: Consolas; font-size: 13.3333330154419px;"&gt;OUT_X_LSB&lt;/SPAN&gt;)) &amp;gt;&amp;gt; 2;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Consolas; color: #3f7f5f;"&gt;// Compute 14-bit X-axis output value&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Consolas; color: black;"&gt;Yout_14_bit = ((&lt;/SPAN&gt;&lt;SPAN style="color: #7f0055; font-size: 13.3333320617676px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;STRONG&gt;short&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Consolas; color: black;"&gt;) (&lt;SPAN style="color: #000000; font-family: Consolas; font-size: 13.3333330154419px;"&gt;OUT_Y_MSB&lt;/SPAN&gt;&amp;lt;&amp;lt;8 | &lt;SPAN style="color: #000000; font-family: Consolas; font-size: 13.3333330154419px;"&gt;OUT_Y_LSB&lt;/SPAN&gt;)) &amp;gt;&amp;gt; 2;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Consolas; color: #3f7f5f;"&gt;// Compute 14-bit Y-axis output value&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Consolas; color: black;"&gt;Zout_14_bit = ((&lt;/SPAN&gt;&lt;SPAN style="color: #7f0055; font-size: 13.3333320617676px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;STRONG&gt;short&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Consolas; color: black;"&gt;) (&lt;SPAN style="color: #000000; font-family: Consolas; font-size: 13.3333330154419px;"&gt;OUT_Z_MSB&lt;/SPAN&gt;&amp;lt;&amp;lt;8 | &lt;SPAN style="color: #000000; font-family: Consolas; font-size: 13.3333330154419px;"&gt;OUT_Z_LSB&lt;/SPAN&gt;)) &amp;gt;&amp;gt; 2;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Consolas; color: #3f7f5f;"&gt;// Compute 14-bit Z-axis output value&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: Helvetica, sans-serif; background-position: initial;"&gt;If you place the accelerometer upside down so its z-axis points upward, the z-axis (Zout_14_bit) should be approximately -4096 which corresponds to -1g in &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: #3d3d3d; background-position: initial;"&gt;±2g&lt;/SPAN&gt; range.&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #3d3d3d; background: white;"&gt;Now using correct signed 14-bit values, you should be able to get right numbers when performing self test, regardless of the sensor orientation. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #3d3d3d; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #3d3d3d; background: white;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #3d3d3d; background: white;"&gt;Tomas&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 12:04:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXLS8471QR1-Self-test/m-p/387232#M1392</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2015-04-09T12:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: FXLS8471QR1-Self test</title>
      <link>https://community.nxp.com/t5/Sensors/FXLS8471QR1-Self-test/m-p/387233#M1393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am converting these values before using them.&lt;/P&gt;&lt;P&gt;But there was a in my code mistake I was storing values in unsigned type, using the signed type resolve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atique&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 14:41:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXLS8471QR1-Self-test/m-p/387233#M1393</guid>
      <dc:creator>ziarehman</dc:creator>
      <dc:date>2015-04-09T14:41:31Z</dc:date>
    </item>
  </channel>
</rss>

