<?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: MMA8451Q Z-axis issues</title>
    <link>https://community.nxp.com/t5/Sensors/MMA8451Q-Z-axis-issues/m-p/255726#M415</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; background: white;"&gt;First, sorry for not responding sooner, I have been out of the office the last couple of days.&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;It might be helpful to see your complete source code and not only the initialization of the device.&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;I would also recommend you to try a &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-98836"&gt;simple bare metal code&lt;/A&gt; (not MQX based) to better understand where the problem is. &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;The first device most likely has the stiction problem, but the second one behaves very strangely.&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>Mon, 16 Dec 2013 10:04:26 GMT</pubDate>
    <dc:creator>TomasVaverka</dc:creator>
    <dc:date>2013-12-16T10:04:26Z</dc:date>
    <item>
      <title>MMA8451Q Z-axis issues</title>
      <link>https://community.nxp.com/t5/Sensors/MMA8451Q-Z-axis-issues/m-p/255725#M414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;we are experiencing difficulties with the Z-axis of the MMA8451Q accelerometer. Running the (slightly modified) MQX's accelerometer demo on two devices, each accelerometer behaves differently and neither of them seems to work correctly.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Firstly the sensor is initialized with the following (unchanged) code:&lt;/P&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style=""&gt;&lt;/TD&gt;&lt;TD style=""&gt;/* Configure MMA8451Q */&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style=""&gt;&lt;/TD&gt;&lt;TD style=""&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; data[0] = 0x11;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; data[1] = 0xc0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mcI2C_write(I2C_ACCELEROMETER_BUS, I2C_ACCELEROMETER_ADDRESS, data, 2);&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; data[0] = 0x2a;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; data[1] = 0x04 | 0x01;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mcI2C_write(I2C_ACCELEROMETER_BUS, I2C_ACCELEROMETER_ADDRESS, data, 2);&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;It simply enables the orientation detection and activates the sensor. The rest is left untouched with the default values.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the first device, the Z-axis does not seem to work at all, outputting always 0x8000. The orientation status does not change when flipping the device (see attached accel1.txt).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the second device, the Z-axis output value also stagnates, but on a different value: 0xF5XX, i.e. the MSB part does not change, but the LSB part changes (see attached accel2.txt). But here, even though the value does not behave as expected, the orientation status changes correctly. And MSB sometimes (but &lt;STRONG&gt;rarely&lt;/STRONG&gt;) also changes - just for one readout, even without the need to move the device (and the value change might be large, i.e. in tens). The attachment shows one such "flash", which was in this case caused by a short quick move (see the orientation status also changed). But as I say, these rare flashes appear randomly and are not conditioned by any movements performed.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have an explanation for such behaviour? Might the first piece be connected to this announcement: &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Ffiles%2Fshared%2Fdoc%2Fpcn%2FPCN14989.htm" rel="nofollow" target="_blank"&gt;http://www.freescale.com/files/shared/doc/pcn/PCN14989.htm&lt;/A&gt; ? And why the second gives unchanging values if it detects the orientation correctly?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338631" target="_blank"&gt;accel1.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338631" target="_blank"&gt;accel2.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2026 22:12:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA8451Q-Z-axis-issues/m-p/255725#M414</guid>
      <dc:creator>kubiznak_petr</dc:creator>
      <dc:date>2026-02-03T22:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: MMA8451Q Z-axis issues</title>
      <link>https://community.nxp.com/t5/Sensors/MMA8451Q-Z-axis-issues/m-p/255726#M415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; background: white;"&gt;First, sorry for not responding sooner, I have been out of the office the last couple of days.&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;It might be helpful to see your complete source code and not only the initialization of the device.&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;I would also recommend you to try a &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-98836"&gt;simple bare metal code&lt;/A&gt; (not MQX based) to better understand where the problem is. &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;The first device most likely has the stiction problem, but the second one behaves very strangely.&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>Mon, 16 Dec 2013 10:04:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA8451Q-Z-axis-issues/m-p/255726#M415</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2013-12-16T10:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Re: MMA8451Q Z-axis issues</title>
      <link>https://community.nxp.com/t5/Sensors/MMA8451Q-Z-axis-issues/m-p/255727#M416</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;thank you for your reply. Please see attached source code - as I wrote, it is just a slightly modified official accelerometer demo primarily used for MCC demonstration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try your bare metal demo as soon as possible, then I will let you know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 09:20:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA8451Q-Z-axis-issues/m-p/255727#M416</guid>
      <dc:creator>kubiznak_petr</dc:creator>
      <dc:date>2013-12-18T09:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Re: MMA8451Q Z-axis issues</title>
      <link>https://community.nxp.com/t5/Sensors/MMA8451Q-Z-axis-issues/m-p/255728#M417</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 tested your bare metal demo with the same result. I simply added printf to the cycle:&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("%04X %04X %04X\n", (unsigned short)Xout_14_bit, (unsigned short)Yout_14_bit, (unsigned short)Zout_14_bit);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("%4d %4d %4d\n", Xout_14_bit, Yout_14_bit, Zout_14_bit);
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That gives the following output for the first accelerometer (non-changing Z):&lt;/P&gt;&lt;PRE style="padding-left: 30px;"&gt;FFFA FFF5 E000
&amp;nbsp; -6&amp;nbsp; -11 -8192
0ED7 0035 E000
3799&amp;nbsp;&amp;nbsp; 53 -8192
024D F0F0 E000
 589 -3856 -8192
FFA9 0FB7 E000
 -87 4023 -8192
F026 02BB E000
-4058&amp;nbsp; 699 -8192
FEF9 00DE E000
-263&amp;nbsp; 222 -8192
FFFB FFF6 E000
&amp;nbsp; -5&amp;nbsp; -10 -8192
FFFA FFF6 E000
&amp;nbsp; -6&amp;nbsp; -10 -8192
&lt;/PRE&gt;&lt;P&gt;... and the following output for the second accelerometer (perturbing Z):&lt;/P&gt;&lt;PRE style="padding-left: 30px;"&gt;FFAD 001B FFC3
 -83&amp;nbsp;&amp;nbsp; 27&amp;nbsp; -61
FFAD 001B FFC3
 -83&amp;nbsp;&amp;nbsp; 27&amp;nbsp; -61
FFAC 001B FFC3
 -84&amp;nbsp;&amp;nbsp; 27&amp;nbsp; -61
FFAC 001B FFC2
 -84&amp;nbsp;&amp;nbsp; 27&amp;nbsp; -62
002D 0EE4 FFC3
&amp;nbsp; 45 3812&amp;nbsp; -61
FFE4 03A2 FFC3
 -28&amp;nbsp; 930&amp;nbsp; -61
003E F084 FFC3
&amp;nbsp; 62 -3964&amp;nbsp; -61
0EE3 00FB FFC3
3811&amp;nbsp; 251&amp;nbsp; -61
EFDE 0175 FFC3
-4130&amp;nbsp; 373&amp;nbsp; -61
FF54 FF7B FFC3
-172 -133&amp;nbsp; -61
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you see any conclusions? Is this a hardware problem of the part? Then we would have to be really dissatisfied with its reliability...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 13:17:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA8451Q-Z-axis-issues/m-p/255728#M417</guid>
      <dc:creator>kubiznak_petr</dc:creator>
      <dc:date>2013-12-19T13:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: MMA8451Q Z-axis issues</title>
      <link>https://community.nxp.com/t5/Sensors/MMA8451Q-Z-axis-issues/m-p/255729#M418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petr,&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;Looking at the extracted data, the first device seems to be really bad due to stiction.&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;As for the second part, it does not look like hard stiction. &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;I have a few other questions to further investigate it.&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;Could you please send me a complete part marking found on the top side of both devices?&amp;nbsp; &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;Where did you purchase them from?&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;Do you have only those two samples or more parts? If more, have you already tested any of them?&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;Or are you using some of our development boards/kits with the MMA8451Q soldered onto a board?&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;As this issue requires more detailed communication I will also create a Service Request for you. You will receive an email from us acknowledging the creation of this Service Request. All additional communication should be primarily worked via this Service Request.&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, 19 Dec 2013 15:24:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA8451Q-Z-axis-issues/m-p/255729#M418</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2013-12-19T15:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: MMA8451Q Z-axis issues</title>
      <link>https://community.nxp.com/t5/Sensors/MMA8451Q-Z-axis-issues/m-p/255730#M419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;we have similar problem as P.K. with Z-axis of MMA8451Q, we soldered more than 3500 pcs of PCB and about 200 pcs don't pass a self-test and measuring in Z-axis has the same behaviour.&lt;/P&gt;&lt;P&gt;The behaviour of bad pcs:&lt;/P&gt;&lt;P&gt; 1. Self-test &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X&amp;nbsp; = 90&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y = 135&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Z = 0&lt;/P&gt;&lt;P&gt; 2. Active state&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Z is always -8192&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can you help us ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 10:15:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA8451Q-Z-axis-issues/m-p/255730#M419</guid>
      <dc:creator>jiribartos</dc:creator>
      <dc:date>2015-06-08T10:15:47Z</dc:date>
    </item>
  </channel>
</rss>

