<?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: [FXOS8700] Transient Detection troubles</title>
    <link>https://community.nxp.com/t5/Sensors/FXOS8700-Transient-Detection-troubles/m-p/1659023#M7441</link>
    <description>&lt;P&gt;After 10h of investigation:&lt;BR /&gt;&lt;BR /&gt;It seems that threshold set in&amp;nbsp;&lt;STRONG&gt;TRANSIENT_THS&amp;nbsp;&lt;/STRONG&gt;is ignored. Therefore interrupt fired non-stop (fallback threshold 0mg?).&lt;/P&gt;&lt;P&gt;But after &lt;EM&gt;enabling&amp;nbsp;a_ffmt_trans_ths_en=1&lt;/EM&gt; in&amp;nbsp;&lt;STRONG&gt;A_FFMT_THS_Y_MSB&lt;/STRONG&gt; the system started to work correctly.&lt;/P&gt;&lt;P&gt;Axis of interest is X.&lt;BR /&gt;And I didn't expect to use invidual thresholds per axis. But it works now.&lt;/P&gt;</description>
    <pubDate>Mon, 29 May 2023 08:30:04 GMT</pubDate>
    <dc:creator>Ruig25</dc:creator>
    <dc:date>2023-05-29T08:30:04Z</dc:date>
    <item>
      <title>[FXOS8700] Transient Detection troubles</title>
      <link>https://community.nxp.com/t5/Sensors/FXOS8700-Transient-Detection-troubles/m-p/1658766#M7439</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I know, that the sensor is a little bit old, but nevertheless.&lt;/P&gt;&lt;P&gt;I have one application case and I still cannot solve a problem with transient detection. Of course I have read all App. Notes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Use case description:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Sensor board attached to the wrist so that x-axis is along the arm (if we stretch index finger - the x-axis and the finger are +/- parallel).&lt;/LI&gt;&lt;LI&gt;The arm is on the rest (Xg =~ -250mg). It is initial position.&lt;/LI&gt;&lt;LI&gt;Now the stretched arm will be rosen slightly above the head (Xg =~ 300-350mg).&lt;BR /&gt;X and Z axes are ignored (out of interest).&lt;/LI&gt;&lt;LI&gt;I want to have an interrupt after hand was rosen as described above.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Here is described motion (ODR=100Hz)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-05-28 22_15_16-Window.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225108i08D3C1452B17097C/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-05-28 22_15_16-Window.png" alt="2023-05-28 22_15_16-Window.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first idea was to use vector-magnitude detection. But I did't tried it because I don't have constant Gref (initial position may have some variiations...).&lt;/P&gt;&lt;P&gt;The second idea - motion or transient detection.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Code (abstract):&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;software rest + 1ms wait&lt;/LI&gt;&lt;LI&gt;Standby&amp;nbsp;&lt;SPAN&gt;CTRL_REG1=0x0&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Fullscale 2g&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;XYZ_DATA_CFG=0x0&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Clr debounce counter and set ths to 5 (5x63mg=315mg)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;TRANSIENT_THS=0b10000101&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;TRANSIENT_COUNT=6&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;X only + evt latching&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;TRANSIENT_CFG=0b00010010&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Enable transient interrupt&amp;nbsp;&lt;SPAN&gt;CTRL_REG4=0b0010000&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;Route transient interrupt to int1&amp;nbsp;CTRL_REG5=0b00100000&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;Active mode, ODR 12,5Hz, Low Noise&amp;nbsp;CTRL_REG1=0b00101101&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Interrupt event triggered non-stop. I tried many different values for 4) and 5).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;uC input IO configured for neg. edge with enabled pull-up.&lt;/P&gt;&lt;P&gt;I tried to move 6) after 3) like &lt;A href="https://community.nxp.com/t5/Sensors/FXOS8700-accel-transient-threshold-resolution-in-per-axis-mode/m-p/354855/highlight/true#M1047" target="_self"&gt;here&lt;/A&gt;. No interrupt triggered at all.&lt;/P&gt;&lt;P&gt;I tested circuit enabling FIFO watermark interrupt. Works without problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Or motion detection is more suitable in my case?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2026 21:31:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXOS8700-Transient-Detection-troubles/m-p/1658766#M7439</guid>
      <dc:creator>Ruig25</dc:creator>
      <dc:date>2026-02-03T21:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: [FXOS8700] Transient Detection troubles</title>
      <link>https://community.nxp.com/t5/Sensors/FXOS8700-Transient-Detection-troubles/m-p/1659023#M7441</link>
      <description>&lt;P&gt;After 10h of investigation:&lt;BR /&gt;&lt;BR /&gt;It seems that threshold set in&amp;nbsp;&lt;STRONG&gt;TRANSIENT_THS&amp;nbsp;&lt;/STRONG&gt;is ignored. Therefore interrupt fired non-stop (fallback threshold 0mg?).&lt;/P&gt;&lt;P&gt;But after &lt;EM&gt;enabling&amp;nbsp;a_ffmt_trans_ths_en=1&lt;/EM&gt; in&amp;nbsp;&lt;STRONG&gt;A_FFMT_THS_Y_MSB&lt;/STRONG&gt; the system started to work correctly.&lt;/P&gt;&lt;P&gt;Axis of interest is X.&lt;BR /&gt;And I didn't expect to use invidual thresholds per axis. But it works now.&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 08:30:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXOS8700-Transient-Detection-troubles/m-p/1659023#M7441</guid>
      <dc:creator>Ruig25</dc:creator>
      <dc:date>2023-05-29T08:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: [FXOS8700] Transient Detection troubles</title>
      <link>https://community.nxp.com/t5/Sensors/FXOS8700-Transient-Detection-troubles/m-p/1659105#M7442</link>
      <description>&lt;P&gt;Hello Igor,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for your case, I think the best would be the "Acceleration vector-magnitude detection". Please refer to the section 12.10 in the &lt;A href="https://www.nxp.com/docs/en/data-sheet/FXOS8700CQ.pdf" target="_self"&gt;FXOS8700CQ datasheet&lt;/A&gt; and to the &lt;A href="https://www.nxp.com/docs/en/application-note/AN4692.pdf" target="_self"&gt;AN4692&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JozefKozon_0-1685354985792.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225200i4CF2C17BBD5E6EFB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JozefKozon_0-1685354985792.png" alt="JozefKozon_0-1685354985792.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;With Best Regards,&lt;/P&gt;
&lt;P&gt;Jozef&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 10:10:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXOS8700-Transient-Detection-troubles/m-p/1659105#M7442</guid>
      <dc:creator>JozefKozon</dc:creator>
      <dc:date>2023-05-29T10:10:26Z</dc:date>
    </item>
  </channel>
</rss>

