<?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: can't read valid data from MMA9555L in Sensors</title>
    <link>https://community.nxp.com/t5/Sensors/can-t-read-valid-data-from-MMA9555L/m-p/799175#M5152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some modifications, now the slave returns error 0x9C instead of 0x80 which shows "the command interpreter does not recognize a command code."&lt;/P&gt;&lt;P&gt;How can I fix this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Aug 2018 12:17:52 GMT</pubDate>
    <dc:creator>miladfcb91</dc:creator>
    <dc:date>2018-08-20T12:17:52Z</dc:date>
    <item>
      <title>can't read valid data from MMA9555L</title>
      <link>https://community.nxp.com/t5/Sensors/can-t-read-valid-data-from-MMA9555L/m-p/799174#M5151</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;&lt;/P&gt;&lt;P&gt;I'm working with MMA9555L module through an i2c interface, but I'm having a problem with pedometer function in MMA9555L. For a sanity check, I read back the version information which is ok and gets back the desired data but when I want to read the data from pedometer application, the slave returns nonsense data. Here is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void main()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;void pedometerConfigRegs();&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//sets the configuration registers of the pedometer application&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//send these bytes to the part:&amp;nbsp;0x15, 0x20, 0x00, 0x11, 0x00, 0x00, 0x00, 0x00,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x00, 0x00, 0xE0, 0x00, 0xB6, 0x44, 0x04, 0x83, 0x05, 0x82, 0x00, 0x00, 0x00&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;void pedometerReadValue();&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //reads back from the slave&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//send these bytes to the part: 0x15, 0x30, 0x00, 0x0C&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;while(1)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; read_i2c(16);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is highly appreciated.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Milad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2026 22:06:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/can-t-read-valid-data-from-MMA9555L/m-p/799174#M5151</guid>
      <dc:creator>miladfcb91</dc:creator>
      <dc:date>2026-02-03T22:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: can't read valid data from MMA9555L</title>
      <link>https://community.nxp.com/t5/Sensors/can-t-read-valid-data-from-MMA9555L/m-p/799175#M5152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some modifications, now the slave returns error 0x9C instead of 0x80 which shows "the command interpreter does not recognize a command code."&lt;/P&gt;&lt;P&gt;How can I fix this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 12:17:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/can-t-read-valid-data-from-MMA9555L/m-p/799175#M5152</guid>
      <dc:creator>miladfcb91</dc:creator>
      <dc:date>2018-08-20T12:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: can't read valid data from MMA9555L</title>
      <link>https://community.nxp.com/t5/Sensors/can-t-read-valid-data-from-MMA9555L/m-p/799176#M5153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello milad,&lt;/P&gt;&lt;P&gt;in order for the information to be updated, the COCO flag should be 1,&lt;/P&gt;&lt;P&gt;so a fix delay between write and read will ensure the data is correct,&lt;/P&gt;&lt;P&gt;the delay must be &amp;gt; 33ms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, did you put the device out of sleep mode, before setting the pedometer function, which is its state out of reset?&lt;/P&gt;&lt;P&gt;For that you'll need to clear the bit 0 of the CFG register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the error code, it is possible that the comand you are sending is incorrect,&lt;/P&gt;&lt;P&gt;could you share the modifications you did?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aldo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 16:40:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/can-t-read-valid-data-from-MMA9555L/m-p/799176#M5153</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2018-08-21T16:40:26Z</dc:date>
    </item>
  </channel>
</rss>

