<?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: Accelerometer calibration</title>
    <link>https://community.nxp.com/t5/Sensors/Accelerometer-calibration/m-p/278202#M573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amreen,&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;1. The embedded motion detection function does not use the high-pass filtered data like the transient detection function, so you need to take into consideration static acceleration due to gravity when setting the threshold value for motion detection. &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;2. Are you sure that no motion is detected? If you enable also the Z-axis for motion detection and set the threshold value to e.g. 0.5g, the device is always detecting motion on the Z-axis with the device horizontal and motionless as the Z-axis is at +1g or -1g depending on the orientation of the device.&amp;nbsp; &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;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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Nov 2013 13:15:20 GMT</pubDate>
    <dc:creator>TomasVaverka</dc:creator>
    <dc:date>2013-11-18T13:15:20Z</dc:date>
    <item>
      <title>Accelerometer calibration</title>
      <link>https://community.nxp.com/t5/Sensors/Accelerometer-calibration/m-p/278199#M570</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;I am using MMA841 Accelerometer.&lt;/P&gt;&lt;P&gt;I stable condition i am getting higher value data on X,Y,Z axis.&lt;/P&gt;&lt;P&gt;I want to calibrate my accelerometer so that in stable condition it should read X,Y,Z axis data as zero.&lt;/P&gt;&lt;P&gt;For that i am referring application note&amp;nbsp; AN-4069. I followed steps as in&amp;nbsp; AN-4069.&lt;/P&gt;&lt;P&gt;For calibration i used following steps and Accel_offset_X,Accel_offset_Y, Accel_offset_Z are calculated as in given in AN-4069&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; MMA8451_WriteReg(MMA8451_CTRL_REG_1, 0x018);&lt;/P&gt;&lt;P&gt;&amp;nbsp; MMA8451_WriteReg(0x2F, Accel_offset_X);&lt;/P&gt;&lt;P&gt;&amp;nbsp; MMA8451_WriteReg(0x30, Accel_offset_Y);&lt;/P&gt;&lt;P&gt;&amp;nbsp; MMA8451_WriteReg(0x31, Accel_offset_Z);&lt;/P&gt;&lt;P&gt;&amp;nbsp; MMA8451_WriteReg(0x2A, CTRL_REG1_Data);//Set active mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this my calibration process is working.&lt;/P&gt;&lt;P&gt;But when i disable above steps and reprogram the device it is showing the original data as before calibration.&lt;/P&gt;&lt;P&gt;Please help me if i am going in wrong direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Amreen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2026 21:20:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Accelerometer-calibration/m-p/278199#M570</guid>
      <dc:creator>Embionics</dc:creator>
      <dc:date>2026-02-03T21:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerometer calibration</title>
      <link>https://community.nxp.com/t5/Sensors/Accelerometer-calibration/m-p/278200#M571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amreen,&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;What you seeing is correct as the offset registers (0x2F - 0x31) do not retain the value written into them when power is removed from the part. Power-cycling the MMA8451Q returns the offset registers to their default value of 0x00.&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;So it is advised to store the calibration values in the MCU flash memory or an external non-volatile memory and write them to the offset registers at a startup sequence.&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;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;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 14:23:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Accelerometer-calibration/m-p/278200#M571</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2013-11-14T14:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerometer calibration</title>
      <link>https://community.nxp.com/t5/Sensors/Accelerometer-calibration/m-p/278201#M572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for earlier reply.&lt;/P&gt;&lt;P&gt;I have two questions related to the calibration.&lt;/P&gt;&lt;P&gt;1) If we calibrate Z axis it get set above/near to 1G. If we have to monitor (X,Y,)Z axis for the motion do we have to set threshold above 1G as Z axis base value is 1G.&lt;/P&gt;&lt;P&gt;2) We have observed if we keep threshold below 1G and enable motion detection on X,Y axis, motion is detected but no motion is detected if Z axis is also enable along with X,Y though movement is above threshold. Is the expected behavior?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2013 13:33:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Accelerometer-calibration/m-p/278201#M572</guid>
      <dc:creator>Embionics</dc:creator>
      <dc:date>2013-11-16T13:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerometer calibration</title>
      <link>https://community.nxp.com/t5/Sensors/Accelerometer-calibration/m-p/278202#M573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amreen,&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;1. The embedded motion detection function does not use the high-pass filtered data like the transient detection function, so you need to take into consideration static acceleration due to gravity when setting the threshold value for motion detection. &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;2. Are you sure that no motion is detected? If you enable also the Z-axis for motion detection and set the threshold value to e.g. 0.5g, the device is always detecting motion on the Z-axis with the device horizontal and motionless as the Z-axis is at +1g or -1g depending on the orientation of the device.&amp;nbsp; &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;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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 13:15:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Accelerometer-calibration/m-p/278202#M573</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2013-11-18T13:15:20Z</dc:date>
    </item>
  </channel>
</rss>

