<?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: Accelerometer interruption MMA8652FC don't work in Sensors</title>
    <link>https://community.nxp.com/t5/Sensors/Accelerometer-interruption-MMA8652FC-don-t-work/m-p/482893#M2817</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;&amp;nbsp;&amp;nbsp; Thanks for your help. The problem was being in uC interrupt setting. The interruption did not work when placed in open drain and not in pushpull only worked when the pin configured as pullup. The uC that use is PROC of Cypress.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Mar 2016 19:33:23 GMT</pubDate>
    <dc:creator>hugooliveira</dc:creator>
    <dc:date>2016-03-22T19:33:23Z</dc:date>
    <item>
      <title>Accelerometer interruption MMA8652FC don't work</title>
      <link>https://community.nxp.com/t5/Sensors/Accelerometer-interruption-MMA8652FC-don-t-work/m-p/482889#M2813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did MMA8652FC accelerometer configuration to detect motion. However, the interrupt pin does not work, and the recorder is in EA bit FF_MT_SRC 1 and SRC_FF_MT bit is also in 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I configured so that the interruption is active in the INT1 pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follows the configuration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(198, 198, 198); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: left; background-color: #f2f2f2; color: #505050; padding: 6px;" valign="middle"&gt;&lt;STRONG&gt;Registrador&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: left; background-color: #f2f2f2; color: #505050; padding: 6px;" valign="middle"&gt;&lt;STRONG&gt;Valor&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 6px;"&gt;XYZ_DATA_CFG&lt;/TD&gt;&lt;TD style="padding: 6px;"&gt;0x00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 6px;"&gt;CTRL_REG1&lt;/TD&gt;&lt;TD style="padding: 6px;"&gt;(DR=101)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 6px;"&gt;FF_MT_CFG&lt;/TD&gt;&lt;TD style="padding: 6px;"&gt;0xF8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 6px;"&gt;FF_MT_THS&lt;/TD&gt;&lt;TD style="padding: 6px;"&gt;0x20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 6px;"&gt;FF_MT_COUNT&lt;/TD&gt;&lt;TD style="padding: 6px;"&gt;0x02&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 6px;"&gt;CTRL_REG3&lt;/TD&gt;&lt;TD style="padding: 6px;"&gt;0xF9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 6px;"&gt;CTRL_REG4&lt;/TD&gt;&lt;TD style="padding: 6px;"&gt;0xFF&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 6px;"&gt;CTRL_REG5&lt;/TD&gt;&lt;TD style="padding: 6px;"&gt;0xFF&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 6px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 6px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 6px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 6px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 6px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 6px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2026 21:04:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Accelerometer-interruption-MMA8652FC-don-t-work/m-p/482889#M2813</guid>
      <dc:creator>hugooliveira</dc:creator>
      <dc:date>2026-02-03T21:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerometer interruption MMA8652FC don't work</title>
      <link>https://community.nxp.com/t5/Sensors/Accelerometer-interruption-MMA8652FC-don-t-work/m-p/482890#M2814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hugo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To clear the SRC_FF_MT interrupt status bit in the INT_SOURCE register (0x0C) and consequently deassert the Freefall/Motion interrupt, it is necessary to read the FF_MT_SRC register. Are you using something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14582079176765212" data-renderedposition="135.26988220214844_7.997159004211426_1192_93" jivemacro_uid="_14582079176765212" modifiedtitle="true"&gt;&lt;P&gt;void PORTA_IRQHandler()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORTA_PCR5 |= PORT_PCR_ISF_MASK; // Clear the interrupt flag &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Temp = I2C_ReadRegister(MMA8652FC_I2C_ADDRESS, FF_MT_SRC_REG); // Read the FF_MT_SRC register to clear the SRC_FF_MT flag in the INT_SOURCE register and deassert the interrupt&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MotionEventCounter++;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="MMA8652FC - Motion interrupt.JPG"&gt;&lt;IMG alt="MMA8652FC - Motion interrupt.JPG" src="https://community.nxp.com/t5/image/serverpage/image-id/23424i9072C9ADA7E85793/image-size/large?v=v2&amp;amp;px=999" title="MMA8652FC - Motion interrupt.JPG" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also make sure that your GPIO pin connected to the INT1 pin of the MMA8652FC is configured for falling edge interrupts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would also recommend to start your experimenting without using the Auto Wake/Sleep function (CTRL_REG3 = 0x00), with only the Motion/Freefall interrupt enabled (CTRL_REG4 = 0x04) and routed to the INT1 pin (CTRL_REG5 = 0x04).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: italic; font-size: 11px; font-family: inherit; color: #51626f; text-align: left; text-indent: 0px;"&gt;&lt;EM&gt;PS: If my answer helps to solve your question, please mark it as "Correct". Thank you.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 13:26:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Accelerometer-interruption-MMA8652FC-don-t-work/m-p/482890#M2814</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2020-11-02T13:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerometer interruption MMA8652FC don't work</title>
      <link>https://community.nxp.com/t5/Sensors/Accelerometer-interruption-MMA8652FC-don-t-work/m-p/482891#M2815</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;I made all of these settings, but unfortunately the interruption does not work ... you would have a complete sample configuration that was already made and it worked?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 14:57:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Accelerometer-interruption-MMA8652FC-don-t-work/m-p/482891#M2815</guid>
      <dc:creator>hugooliveira</dc:creator>
      <dc:date>2016-03-17T14:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerometer interruption MMA8652FC don't work</title>
      <link>https://community.nxp.com/t5/Sensors/Accelerometer-interruption-MMA8652FC-don-t-work/m-p/482892#M2816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hugo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached you can find a simple code example for motion detection based on the &lt;A href="http://cache.nxp.com/files/sensors/doc/app_note/AN4070.pdf"&gt;AN4070&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&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>Fri, 18 Mar 2016 09:09:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Accelerometer-interruption-MMA8652FC-don-t-work/m-p/482892#M2816</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2016-03-18T09:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerometer interruption MMA8652FC don't work</title>
      <link>https://community.nxp.com/t5/Sensors/Accelerometer-interruption-MMA8652FC-don-t-work/m-p/482893#M2817</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;&amp;nbsp;&amp;nbsp; Thanks for your help. The problem was being in uC interrupt setting. The interruption did not work when placed in open drain and not in pushpull only worked when the pin configured as pullup. The uC that use is PROC of Cypress.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 19:33:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Accelerometer-interruption-MMA8652FC-don-t-work/m-p/482893#M2817</guid>
      <dc:creator>hugooliveira</dc:creator>
      <dc:date>2016-03-22T19:33:23Z</dc:date>
    </item>
  </channel>
</rss>

