<?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>topic Re: MMA9553L sample source in Sensors</title>
    <link>https://community.nxp.com/t5/Sensors/MMA9553L-sample-source/m-p/471778#M2716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you David for your quick response. I did awake the device from sleep. I am in need only to read accelerometer data i.e x,y,z axis values and not speed etc. To achieve the same too should we send&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x15,0x20,0x0,0x10....... etc command??? As per data sheet to read accel data, I need to configure it as&lt;/P&gt;&lt;P&gt;aTxBuffer[0] = 0x1A;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[1] = 0x20;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[2] = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[3] = 0x02;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[4] = 0x06;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[5] = 0x10;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; MMA955L_AcclDataTx(aTxBuffer, 6,0x1A); //Send i2c command to app ID 1A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[0] = 0x1A;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[1] = 0x10;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[2] = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[3] = 0x02;&lt;/P&gt;&lt;P&gt;&amp;nbsp; MMA955L_AcclDataTx(aTxBuffer, 4,0x1A);//Send i2c command to app ID 1A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; memset(aRxBuffer, 0x00, sizeof(aRxBuffer));&lt;/P&gt;&lt;P&gt;&amp;nbsp; MMA955L_AcclDataRx(aRxBuffer, 6,0x1A);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Read status reg:&lt;/P&gt;&lt;P&gt;aTxBuffer[0] = 0x1A;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[1] = 0x30;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[2] = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[3] = 0x02;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; MMA955L_AcclDataTx(aTxBuffer, 4,0x1A);// read request to acclerometer&lt;/P&gt;&lt;P&gt;if(COCO_BIT_Set)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MMA955L_AcclDataRx(aRxBuffer, 6,0x1A); //Read i2c data from 1A reg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this commands enough to read the accelerometer data? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prasanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Feb 2016 04:49:02 GMT</pubDate>
    <dc:creator>prasannaprabhu7</dc:creator>
    <dc:date>2016-02-24T04:49:02Z</dc:date>
    <item>
      <title>MMA9553L sample source</title>
      <link>https://community.nxp.com/t5/Sensors/MMA9553L-sample-source/m-p/471774#M2712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Curently I am working on STM32L4RCT MCU and on MMA9553L connected to IIC. Is there any sample source code available for the same ?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prasanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2026 21:03:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA9553L-sample-source/m-p/471774#M2712</guid>
      <dc:creator>prasannaprabhu7</dc:creator>
      <dc:date>2026-02-03T21:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: MMA9553L sample source</title>
      <link>https://community.nxp.com/t5/Sensors/MMA9553L-sample-source/m-p/471775#M2713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Prasanna, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I do not have sample code for the MMA9553L device. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, you may refer to the&lt;SPAN style="color: red;"&gt; &lt;A href="http://www.nxp.com/files/sensors/doc/ref_manual/MMA9553LSWRM.pdf" title="http://www.nxp.com/files/sensors/doc/ref_manual/MMA9553LSWRM.pdf"&gt;MMA9553L Intelligent Pedometer Platform Software Reference Manual&lt;/A&gt;​&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;This reference manual describes the features, architecture, &lt;STRONG&gt;usage examples&lt;/STRONG&gt;, and programming model of the MMA9553L intelligent pedometer platform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this information is useful for you.&lt;/P&gt;&lt;P&gt;If I misunderstood your question, feel free to let me know.&amp;nbsp; I will be glad to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day.&lt;/P&gt;&lt;P&gt;David Diaz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 21:48:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA9553L-sample-source/m-p/471775#M2713</guid>
      <dc:creator>david_diaz</dc:creator>
      <dc:date>2016-02-19T21:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: MMA9553L sample source</title>
      <link>https://community.nxp.com/t5/Sensors/MMA9553L-sample-source/m-p/471776#M2714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you David for your quick response. I did send 0x00 0x00 0x00 0x0c to MMA9555L and receiving proper versions from it. But on sending 0x12 0x20 0x06 0x01 0x00 I am not receiving any valid data and instead receiving 0x00 0x80 0x0c 0x0c 0x7a 0xed as responce from it instead of receiving Accelerometer data. Also tried sending&lt;/P&gt;&lt;P&gt;0x04, 0x20, 0x2C, 0x0C, 0x06, 0x18, 0x06, 0x19, 0x06, 0x1A, 0x06, 0x1B, 0x06, 0x1C, 0x06, 0x1D then 0x18, 0x20, 0x00, 0x01, 0x10 and then reading 6 bytes of data,resulted in&lt;/P&gt;&lt;P&gt;0x00 0x80 0x0c 0x0c 0x20 0x2c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can you please suggest the commands I am sending is wrong to get accelerometer data? Or is that I should send any other commands to receive valid accelerometer data from MMA9555L chip?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prasanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 05:30:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA9553L-sample-source/m-p/471776#M2714</guid>
      <dc:creator>prasannaprabhu7</dc:creator>
      <dc:date>2016-02-22T05:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: MMA9553L sample source</title>
      <link>https://community.nxp.com/t5/Sensors/MMA9553L-sample-source/m-p/471777#M2715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Prasanna, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please be aware that the device powers up in Sleep mode, but it may become necessary to wake the part. This process uses the following mailboxes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="bytes to send.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/53921i92DEBC8485F16665/image-size/large?v=v2&amp;amp;px=999" role="button" title="bytes to send.jpg" alt="bytes to send.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the device is awake, you may proceed with the pedometer application configuration as follow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="bytes to send 2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/53949iCA5A81FFF839BF27/image-size/large?v=v2&amp;amp;px=999" role="button" title="bytes to send 2.jpg" alt="bytes to send 2.jpg" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;You may read the status registers properly. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this information is useful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day.&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 02:52:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA9553L-sample-source/m-p/471777#M2715</guid>
      <dc:creator>david_diaz</dc:creator>
      <dc:date>2016-02-24T02:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: MMA9553L sample source</title>
      <link>https://community.nxp.com/t5/Sensors/MMA9553L-sample-source/m-p/471778#M2716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you David for your quick response. I did awake the device from sleep. I am in need only to read accelerometer data i.e x,y,z axis values and not speed etc. To achieve the same too should we send&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x15,0x20,0x0,0x10....... etc command??? As per data sheet to read accel data, I need to configure it as&lt;/P&gt;&lt;P&gt;aTxBuffer[0] = 0x1A;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[1] = 0x20;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[2] = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[3] = 0x02;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[4] = 0x06;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[5] = 0x10;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; MMA955L_AcclDataTx(aTxBuffer, 6,0x1A); //Send i2c command to app ID 1A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[0] = 0x1A;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[1] = 0x10;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[2] = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[3] = 0x02;&lt;/P&gt;&lt;P&gt;&amp;nbsp; MMA955L_AcclDataTx(aTxBuffer, 4,0x1A);//Send i2c command to app ID 1A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; memset(aRxBuffer, 0x00, sizeof(aRxBuffer));&lt;/P&gt;&lt;P&gt;&amp;nbsp; MMA955L_AcclDataRx(aRxBuffer, 6,0x1A);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Read status reg:&lt;/P&gt;&lt;P&gt;aTxBuffer[0] = 0x1A;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[1] = 0x30;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[2] = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[3] = 0x02;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; MMA955L_AcclDataTx(aTxBuffer, 4,0x1A);// read request to acclerometer&lt;/P&gt;&lt;P&gt;if(COCO_BIT_Set)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MMA955L_AcclDataRx(aRxBuffer, 6,0x1A); //Read i2c data from 1A reg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this commands enough to read the accelerometer data? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prasanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 04:49:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA9553L-sample-source/m-p/471778#M2716</guid>
      <dc:creator>prasannaprabhu7</dc:creator>
      <dc:date>2016-02-24T04:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: MMA9553L sample source</title>
      <link>https://community.nxp.com/t5/Sensors/MMA9553L-sample-source/m-p/471779#M2717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also for the commands you shared, Post sending &lt;/P&gt;&lt;P&gt;aTxBuffer[0] = 0x15;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[1] = 0x20;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[2] = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[3] = 0x10;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[4] = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[5] = 0x10;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[6] = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[7] = 0x10;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[8] = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[9] = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[10] = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[11] = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[12] = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[13] = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[14] = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[15] = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[16] = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[17] = 0x06;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[18] = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[19] = 0x10;&lt;/P&gt;&lt;P&gt;&amp;nbsp; MMA955L_AcclDataTx(aTxBuffer, 20,0x15); //Send 20 bytes command to configure pedometer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//read status reg:&lt;/P&gt;&lt;P&gt;aTxBuffer[0] = 0x15;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[1] = 0x30;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[2] = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; aTxBuffer[3] = 0x0c;&lt;/P&gt;&lt;P&gt;and reading 16 bytes of data response I am receiving is 0x15, 0x30 ,0x0 ,0xc, 0x0 ,0x10,0x0,0x10,0x00,0x00,0x00,0x00,0x80,0xc,0xc,0x7a&lt;/P&gt;&lt;P&gt;Is that valid?&amp;nbsp; As per data sheet 2 byte should be 0x80 but I am receiving 0x30. Is something wrong in sending ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prasanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 05:08:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA9553L-sample-source/m-p/471779#M2717</guid>
      <dc:creator>prasannaprabhu7</dc:creator>
      <dc:date>2016-02-24T05:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: MMA9553L sample source</title>
      <link>https://community.nxp.com/t5/Sensors/MMA9553L-sample-source/m-p/471780#M2718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prasanna,&lt;/P&gt;&lt;P&gt;As you also entered a similar thread in the ISF community forum (&lt;STRONG&gt;MMA955L pedometer issue in reading 6axis data&lt;/STRONG&gt;), do you still need we provide you more inputs on this one ?&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jacques.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 15:05:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA9553L-sample-source/m-p/471780#M2718</guid>
      <dc:creator>JackITB</dc:creator>
      <dc:date>2016-03-04T15:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: MMA9553L sample source</title>
      <link>https://community.nxp.com/t5/Sensors/MMA9553L-sample-source/m-p/471781#M2719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue is monitored in different thread. Thank you for your info.Marking this question resolved.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/621622?et=watches.email.thread#621622" title="https://community.freescale.com/message/621622?et=watches.email.thread#621622"&gt;https://community.freescale.com/message/621622?et=watches.email.thread#621622&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Mar 2016 05:37:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA9553L-sample-source/m-p/471781#M2719</guid>
      <dc:creator>prasannaprabhu7</dc:creator>
      <dc:date>2016-03-05T05:37:28Z</dc:date>
    </item>
  </channel>
</rss>

