<?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: MMA8452 sleep current</title>
    <link>https://community.nxp.com/t5/Sensors/MMA8452-sleep-current/m-p/963026#M5885</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Takuya-san,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not have enough time right now to try to reproduce your settings, but there is a good example illustrating the use of&amp;nbsp;auto-wake/sleep mode available at:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-332453"&gt;https://community.nxp.com/docs/DOC-332453&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eventually you can also take a closer look at my example code at:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/318705"&gt;https://community.nxp.com/thread/318705&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="border: 0px; font-weight: inherit; font-size: 12px;"&gt;PS:&amp;nbsp;If&amp;nbsp;this answer helps to solve your question, please mark it as "Correct" or “Helpful”. Thank you.&lt;/EM&gt;&lt;/P&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;/DIV&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px; margin: 20px 0px 0px;"&gt;&lt;DIV class="" data-comment-id="1182634" style="color: #646464; border: none; font-weight: inherit; font-size: 0.8571rem;"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jul 2019 08:22:24 GMT</pubDate>
    <dc:creator>TomasVaverka</dc:creator>
    <dc:date>2019-07-25T08:22:24Z</dc:date>
    <item>
      <title>MMA8452 sleep current</title>
      <link>https://community.nxp.com/t5/Sensors/MMA8452-sleep-current/m-p/963025#M5884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I am working on a development project using MMA8452, but I am facing the problem that the sleep current of MMA8452 doesn't go down.&lt;/P&gt;&lt;P&gt;Automatic sleep and wake up of MMA8452 functions are set, and the CPU also transitions to sleep based on the sleep interrupt signal from MMA8452.&lt;/P&gt;&lt;P&gt;However, the consumption current of MMA8452 doesn't fall after sleep.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #51626f; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;I am doing the following configuration setting on the device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #51626f; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;1.&amp;nbsp; standby mode setting&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #51626f; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;　　readRegister(0x2A, &amp;amp;data);&lt;BR /&gt;　　writeRegister(0x2A, data &amp;amp; ~(0x01));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #51626f; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;2.&amp;nbsp; dynamic range setting (2G)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #51626f; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;　　readRegister(0x0E, &amp;amp;XYZ_DATA);&lt;BR /&gt;　　CTRL_REG3_Data &amp;amp;= 0xFC;&lt;BR /&gt;　　writeRegister(0x0E, XYZ_DATA);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #51626f; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;3.&amp;nbsp; oversampling mode setting(SleepMode : Low Power,&amp;nbsp; ActiveMode : Low Power)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #51626f; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;　　readRegister(0x2B, &amp;amp;CTRL_REG2_Data);&lt;BR /&gt;　　CTRL_REG2_Data &amp;amp;= 0xE4;&lt;BR /&gt;　　CTRL_REG2_Data |= 0x1B;&lt;BR /&gt;　　writeRegister(0x2B,CTRL_REG2_Data);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #51626f; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;4.&amp;nbsp; automatic sleep and wake up setting&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #51626f; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;　　readRegister(0x2B, &amp;amp;CTRL_REG2_Data);&lt;BR /&gt;　　CTRL_REG2_Data |= 0x04;&lt;BR /&gt;　　writeRegister(0x2B, CTRL_REG2_Data);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #51626f; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;5.&amp;nbsp; automatic sleep timer count setting (five second)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #51626f; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;　　writeRegister(0x29, 0x10);&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;6.&amp;nbsp; interrupt enable setting&amp;nbsp; (motion, automatic sleep and wake up enable)&lt;/P&gt;&lt;P&gt;　　writeRegister(0x2D, 0x84);&lt;/P&gt;&lt;P&gt;7.&amp;nbsp; configuration setting (set auto sleep, wake up to INT1)&lt;/P&gt;&lt;P&gt;　　writeRegister(0x2E, 0x80);&lt;/P&gt;&lt;P&gt;8.&amp;nbsp; wake up control setting (motion)&lt;/P&gt;&lt;P&gt;　　writeRegister(0x2C, 0x08);&lt;/P&gt;&lt;P&gt;9.&amp;nbsp; sample rate setting (sleep : 12.5Hz,&amp;nbsp; wake : 12.5Hz)&lt;/P&gt;&lt;P&gt;　　readRegister(0x2A, &amp;amp;CTRL_REG1_Data);&lt;BR /&gt;　　CTRL_REG1_Data &amp;amp;= 0x07;&lt;BR /&gt;　　CTRL_REG1_Data |= 0x68;&lt;BR /&gt;　　writeRegister(0x2A,CTRL_REG1_Data);&lt;/P&gt;&lt;P&gt;10.&amp;nbsp; motion detection setting&lt;/P&gt;&lt;P&gt;　　writeRegister(0x15, 0xD8);&lt;/P&gt;&lt;P&gt;11.&amp;nbsp; motion detection threshold setting ( switchable)&lt;/P&gt;&lt;P&gt;　　writeRegister(0x17, 0x01);&lt;BR /&gt;　　writeRegister(0x17, 0x02);&lt;BR /&gt;　　writeRegister(0x17, 0x03);&lt;/P&gt;&lt;P&gt;12.&amp;nbsp; device counter setting (300ms/80ms=4)&lt;/P&gt;&lt;P&gt;　　writeRegister(0x18, 0x04);&lt;/P&gt;&lt;P&gt;13.&amp;nbsp; active mode setting&lt;/P&gt;&lt;P&gt;　　readRegister(0x2A, &amp;amp;data);&lt;BR /&gt;　　writeRegister(0x2A, data | 0x01);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a cause for the sleep current not to fall in the above settings?&lt;/P&gt;&lt;P&gt;The board current at sleep is 235uA, but if you remove the MMA8452 from the board and put the CPU to sleep, the board current will drop to 5uA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Takuya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2026 22:13:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA8452-sleep-current/m-p/963025#M5884</guid>
      <dc:creator>takuya1</dc:creator>
      <dc:date>2026-02-03T22:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: MMA8452 sleep current</title>
      <link>https://community.nxp.com/t5/Sensors/MMA8452-sleep-current/m-p/963026#M5885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Takuya-san,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not have enough time right now to try to reproduce your settings, but there is a good example illustrating the use of&amp;nbsp;auto-wake/sleep mode available at:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-332453"&gt;https://community.nxp.com/docs/DOC-332453&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eventually you can also take a closer look at my example code at:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/318705"&gt;https://community.nxp.com/thread/318705&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="border: 0px; font-weight: inherit; font-size: 12px;"&gt;PS:&amp;nbsp;If&amp;nbsp;this answer helps to solve your question, please mark it as "Correct" or “Helpful”. Thank you.&lt;/EM&gt;&lt;/P&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;/DIV&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px; margin: 20px 0px 0px;"&gt;&lt;DIV class="" data-comment-id="1182634" style="color: #646464; border: none; font-weight: inherit; font-size: 0.8571rem;"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2019 08:22:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA8452-sleep-current/m-p/963026#M5885</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2019-07-25T08:22:24Z</dc:date>
    </item>
  </channel>
</rss>

