<?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: MMA8652 Tap vs Motion</title>
    <link>https://community.nxp.com/t5/Sensors/MMA8652-Tap-vs-Motion/m-p/508558#M3192</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: justify;"&gt;Hello Edmon, &lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Accept my apologies for the delay. &lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Indeed, the &lt;STRONG&gt;PULSE_SRC &lt;/STRONG&gt;register indicates a double or single pulse event has occurred and also which direction.&lt;/P&gt;&lt;P style="text-align: justify;"&gt;By reading the register mentioned, you can configure your application in case you want to disregard the Z-axis positive/negative direction. &lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;For example, if you tap the device in the Z-axis and negative direction, you will read the &lt;STRONG&gt;PULSE_SRC &lt;/STRONG&gt;register as follow:&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="negative Z TAP.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/53521i11666DAF90F0CAA2/image-size/large?v=v2&amp;amp;px=999" role="button" title="negative Z TAP.jpg" alt="negative Z TAP.jpg" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P style="text-align: justify;"&gt;In this case, I would like to recommend a sample project that could be useful for you in order to read the &lt;STRONG&gt;PULSE_SRC &lt;/STRONG&gt;register.&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Please find the sample project at &lt;A _jive_internal="true" data-containerid="11146" data-containertype="14" data-content-finding="Community" data-objectid="329888" data-objecttype="102" href="https://community.nxp.com/docs/DOC-329888"&gt;MMA8451Q -Single Tap Detection Bare metal example project&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;I hope you find it useful.&lt;/P&gt;&lt;P style="text-align: justify;"&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 style="text-align: justify;"&gt;Have a great day.&lt;/P&gt;&lt;P style="text-align: justify;"&gt;David Diaz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Feb 2016 17:41:30 GMT</pubDate>
    <dc:creator>david_diaz</dc:creator>
    <dc:date>2016-02-19T17:41:30Z</dc:date>
    <item>
      <title>MMA8652 Tap vs Motion</title>
      <link>https://community.nxp.com/t5/Sensors/MMA8652-Tap-vs-Motion/m-p/508553#M3187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have been working with the MMA8652FC 3-axis Accelerometer for quite some time now. I've been playing with the registers, that I can already read data and configure some interrupt. I am also able to create a “sleep-to-wake up” program using TAP detection of the IC. Now, for my next step, I want to able to determine a TAP when in motion. Is it possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2026 21:56:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA8652-Tap-vs-Motion/m-p/508553#M3187</guid>
      <dc:creator>edmon</dc:creator>
      <dc:date>2026-02-03T21:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: MMA8652 Tap vs Motion</title>
      <link>https://community.nxp.com/t5/Sensors/MMA8652-Tap-vs-Motion/m-p/508554#M3188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Edmon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure to understand your query. Do you mean by "&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;TAP when in motion" that you want to discard TAP when there is no motion or are you asking if the TAP detection works when the MMA8652FC is moving?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Anthony&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 15:39:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA8652-Tap-vs-Motion/m-p/508554#M3188</guid>
      <dc:creator>anthonyduhamel</dc:creator>
      <dc:date>2016-02-15T15:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: MMA8652 Tap vs Motion</title>
      <link>https://community.nxp.com/t5/Sensors/MMA8652-Tap-vs-Motion/m-p/508555#M3189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anthony,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I want to figure out if the TAP detection works when MMA8652FC is moving. I'm not sure how the line is drawn between a tap and motion. As sometimes motion/movement will also generate a "PULSE/TAP" interrupt. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, Edmon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 16:20:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA8652-Tap-vs-Motion/m-p/508555#M3189</guid>
      <dc:creator>edmon</dc:creator>
      <dc:date>2016-02-15T16:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: MMA8652 Tap vs Motion</title>
      <link>https://community.nxp.com/t5/Sensors/MMA8652-Tap-vs-Motion/m-p/508556#M3190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: justify;"&gt;Hello Edmon,&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Thank you for writing to the NXP communities.&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;The &lt;STRONG&gt;Motion&lt;/STRONG&gt; is often used to simply alert the main processor that the device is currently in use. When the acceleration exceeds a set threshold, the motion interrupt is asserted. On the other hand, the &lt;STRONG&gt;Tap&lt;/STRONG&gt; detection function has various customizing timers, for setting the pulse time width and the latency time between pulses.&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;As a summary, &lt;STRONG&gt;Motion detection detects a threshold and Tap detection detects pulses&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you planning to route these interrupt sources to the interrupt pins? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;In case it is useful for you, I would like to recommend the following application notes:&lt;/P&gt;&lt;P style="text-align: justify;"&gt;1. &lt;A href="http://cache.freescale.com/files/sensors/doc/app_note/AN4070.pdf"&gt;AN4070 - Motion and Freefal Detection Using the MMA8451, 2, 3Q&lt;/A&gt;​&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;2. &lt;A href="http://cache.freescale.com/files/sensors/doc/app_note/AN4072.pdf"&gt;AN4072 - MMA8451, 2, 3Q Single/Double and Directional Tap Detection &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;I hope this information will be useful for you.&lt;/P&gt;&lt;P style="text-align: justify;"&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 style="text-align: justify;"&gt;Have a great day.&lt;/P&gt;&lt;P style="text-align: justify;"&gt;David Diaz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 22:00:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA8652-Tap-vs-Motion/m-p/508556#M3190</guid>
      <dc:creator>david_diaz</dc:creator>
      <dc:date>2016-02-15T22:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: MMA8652 Tap vs Motion</title>
      <link>https://community.nxp.com/t5/Sensors/MMA8652-Tap-vs-Motion/m-p/508557#M3191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt;Hi David, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt;Thank you for the documents! It helps me a lot but not quite there yet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt;My follow-up question:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt;By reading PULSE_SRC (0x22), will it show me which side of the IC or board I am tapping? Is tapping at the bottom side mean negative pulse in z-axis?&amp;nbsp; Will it set bit 2 to 1? As I don’t always get consistent value when I tap at the bottom side.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: Helvetica, sans-serif; font-size: 11.5pt;"&gt;I just want to disregard a pulse (negative?) caused by a tapping the &lt;STRONG&gt;table or something&lt;/STRONG&gt; which my board is place. I want only a tap coming from the&amp;nbsp; top or direct hit/shock.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt;Do you have a better way to do this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt;Thanks again,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt;Edmon&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 12:13:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA8652-Tap-vs-Motion/m-p/508557#M3191</guid>
      <dc:creator>edmon</dc:creator>
      <dc:date>2016-02-16T12:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: MMA8652 Tap vs Motion</title>
      <link>https://community.nxp.com/t5/Sensors/MMA8652-Tap-vs-Motion/m-p/508558#M3192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: justify;"&gt;Hello Edmon, &lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Accept my apologies for the delay. &lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Indeed, the &lt;STRONG&gt;PULSE_SRC &lt;/STRONG&gt;register indicates a double or single pulse event has occurred and also which direction.&lt;/P&gt;&lt;P style="text-align: justify;"&gt;By reading the register mentioned, you can configure your application in case you want to disregard the Z-axis positive/negative direction. &lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;For example, if you tap the device in the Z-axis and negative direction, you will read the &lt;STRONG&gt;PULSE_SRC &lt;/STRONG&gt;register as follow:&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="negative Z TAP.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/53521i11666DAF90F0CAA2/image-size/large?v=v2&amp;amp;px=999" role="button" title="negative Z TAP.jpg" alt="negative Z TAP.jpg" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P style="text-align: justify;"&gt;In this case, I would like to recommend a sample project that could be useful for you in order to read the &lt;STRONG&gt;PULSE_SRC &lt;/STRONG&gt;register.&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Please find the sample project at &lt;A _jive_internal="true" data-containerid="11146" data-containertype="14" data-content-finding="Community" data-objectid="329888" data-objecttype="102" href="https://community.nxp.com/docs/DOC-329888"&gt;MMA8451Q -Single Tap Detection Bare metal example project&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;I hope you find it useful.&lt;/P&gt;&lt;P style="text-align: justify;"&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 style="text-align: justify;"&gt;Have a great day.&lt;/P&gt;&lt;P style="text-align: justify;"&gt;David Diaz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 17:41:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA8652-Tap-vs-Motion/m-p/508558#M3192</guid>
      <dc:creator>david_diaz</dc:creator>
      <dc:date>2016-02-19T17:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: MMA8652 Tap vs Motion</title>
      <link>https://community.nxp.com/t5/Sensors/MMA8652-Tap-vs-Motion/m-p/508559#M3193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;When tapping at the negative side, I sometimes read PULSE_SCR = 0xC4 or 0xC0. Does this value depends on how strong i tap?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Edmon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 14:25:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA8652-Tap-vs-Motion/m-p/508559#M3193</guid>
      <dc:creator>edmon</dc:creator>
      <dc:date>2016-02-25T14:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: MMA8652 Tap vs Motion</title>
      <link>https://community.nxp.com/t5/Sensors/MMA8652-Tap-vs-Motion/m-p/508560#M3194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: justify;"&gt;Hello Edmon,&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;I have to personally apologize for the long delay it took to come back to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;For a single tap event there are three key parameters to consider.&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;Time Window for the tap signature to cross a threshold and drop below it &lt;STRONG&gt;(PULSE_TMLT)&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Threshold Value to Trigger the event &lt;STRONG&gt;(PULSE_THSX, PULSE_THSY, PULSE_THSZ)&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Latency time to hold the event conditions &lt;STRONG&gt;(PULSE_LTCY)&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="threshold2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58482i18E1AA123126DCA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="threshold2.jpg" alt="threshold2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;In this case, you may &lt;STRONG&gt;modify&lt;/STRONG&gt; the pulse Z threshold register in order to define the threshold used by the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="threshold.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58392iE994F83729AE0EF7/image-size/large?v=v2&amp;amp;px=999" role="button" title="threshold.jpg" alt="threshold.jpg" /&gt;&lt;/span&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 style="text-align: justify;"&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 style="text-align: justify;"&gt;Have a great day.&lt;/P&gt;&lt;P style="text-align: justify;"&gt;David Diaz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-size: 9.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>Mon, 07 Mar 2016 21:08:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA8652-Tap-vs-Motion/m-p/508560#M3194</guid>
      <dc:creator>david_diaz</dc:creator>
      <dc:date>2016-03-07T21:08:06Z</dc:date>
    </item>
  </channel>
</rss>

