<?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: Clearing MMA8652 Interrupts in Sensors</title>
    <link>https://community.nxp.com/t5/Sensors/Clearing-MMA8652-Interrupts/m-p/363523#M1122</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. I verified that the repeat Start condition for a read works, and apparently is mandatory. For all other I2C devices I work with, the repeat Start condition is optional and the register address is remembered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now consider this question answered. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Mar 2015 15:13:18 GMT</pubDate>
    <dc:creator>haroldmccabe</dc:creator>
    <dc:date>2015-03-09T15:13:18Z</dc:date>
    <item>
      <title>Clearing MMA8652 Interrupts</title>
      <link>https://community.nxp.com/t5/Sensors/Clearing-MMA8652-Interrupts/m-p/363514#M1113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with an MMA8652 accelerometer. It generates a transient interrupt (in response to a tap) fine but I am unable to clear it, so it continues to interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read the interrupt source register (0x0C), and then the transient source register (0x1E) following the interrupt. Then I re-read the interrupt source register: bit for transient interrupt still set. The datasheet and app notes say that reading the transient source register should clear the interrupt. When I read regs 0x0C and 0x1E they are always 0xFF after the initial interrupt. What am I missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the datasheet seems to imply that the VDDIO is tied to VDD. Is this correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Harold&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2026 20:59:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Clearing-MMA8652-Interrupts/m-p/363514#M1113</guid>
      <dc:creator>haroldmccabe</dc:creator>
      <dc:date>2026-02-03T20:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing MMA8652 Interrupts</title>
      <link>https://community.nxp.com/t5/Sensors/Clearing-MMA8652-Interrupts/m-p/363515#M1114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harold,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif';"&gt;It would be useful to see your complete source code or at least accelerometer initialization so that I can reproduce your settings.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;It is correct &lt;SPAN style="background-position: initial;"&gt;that &lt;/SPAN&gt;it is necessary to read the TRANSIENT_SRC register to clear the SRC_TRANS bit in the INT_SOURCE register and consequently deassert the interrupt. You might find helpful the attached&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; background-position: initial;"&gt; example code where I illustrate it on the tap detection function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; background-position: initial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;I hope it helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Tomas&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;&lt;EM style="font-size: 13.3333320617676px; font-family: Arial, sans-serif; color: #333333;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 11px; font-family: inherit; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;PS:&lt;SPAN class="Apple-converted-space" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 11px; font-family: inherit; color: #3d3d3d;"&gt;If my answer helps to solve your question, please mark it as "Correct" or “Helpful”. Thank you.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 08:40:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Clearing-MMA8652-Interrupts/m-p/363515#M1114</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2015-03-06T08:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Clearing MMA8652 Interrupts</title>
      <link>https://community.nxp.com/t5/Sensors/Clearing-MMA8652-Interrupts/m-p/363516#M1115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attaching example.c with (a) fragment for accelerometer initialization and (b) fragment for clearing transient interrupt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 15:16:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Clearing-MMA8652-Interrupts/m-p/363516#M1115</guid>
      <dc:creator>haroldmccabe</dc:creator>
      <dc:date>2015-03-06T15:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Clearing MMA8652 Interrupts</title>
      <link>https://community.nxp.com/t5/Sensors/Clearing-MMA8652-Interrupts/m-p/363517#M1116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to use transient detection to log events (harsh, sharp jolts) that may be harmful to the assembly. So I am interested in all axes and will eventually set the threshold high, 8g; the high pass filter should keep out low frequency events.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 16:06:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Clearing-MMA8652-Interrupts/m-p/363517#M1116</guid>
      <dc:creator>haroldmccabe</dc:creator>
      <dc:date>2015-03-06T16:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Clearing MMA8652 Interrupts</title>
      <link>https://community.nxp.com/t5/Sensors/Clearing-MMA8652-Interrupts/m-p/363518#M1117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not likely that my board is holding the interrupt (from the accelerometer to the micro) low:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If I short the interrupt line (pulled high on board, interrupt configured as open drain + active low) to ground, I see the signal pulled low in the micro; and when I subsequently let if float the signal as seen by the micro goes high.&lt;/LI&gt;&lt;LI&gt;Even if the board was holding the interrupt line low, that would not explain why I see 0xFF in both the interrupt source and transient source registers.&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 16:52:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Clearing-MMA8652-Interrupts/m-p/363518#M1117</guid>
      <dc:creator>haroldmccabe</dc:creator>
      <dc:date>2015-03-06T16:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing MMA8652 Interrupts</title>
      <link>https://community.nxp.com/t5/Sensors/Clearing-MMA8652-Interrupts/m-p/363519#M1118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Setting DBCNTM in the TRANS_THS reg and clearing ELE in the TRANS_CFG reg helps: no more continuous interrupts. Still, I always see 0xFF in both the TRANSIENT_SRC and INT_SOURCE regs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 17:51:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Clearing-MMA8652-Interrupts/m-p/363519#M1118</guid>
      <dc:creator>haroldmccabe</dc:creator>
      <dc:date>2015-03-06T17:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing MMA8652 Interrupts</title>
      <link>https://community.nxp.com/t5/Sensors/Clearing-MMA8652-Interrupts/m-p/363520#M1119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am able to do I2C writes to the 8652 fine (predictable and expected behavior from the accelerometer). But I am unable to read back registers. SCL &amp;amp; SDA when viewed on scope show OK levels and waveforms. Even a read of the 'who am I' reg returns either 0x00 or 0xFF. This makes me wonder about VDDIO in the datasheet:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Why the strong pullup (1k resistor) to VDDIO? Paragraph 1.3.&lt;/LI&gt;&lt;LI&gt;Table 5 shows typical VDD as 2.5v but typical VDDIO as 1.8v.&lt;/LI&gt;&lt;LI&gt;Table 1 has the footnote "The control signals SCL and SDA are not tolerant of voltages higher than &lt;SPAN class="highlight"&gt;VDD&lt;/SPAN&gt;IO + 0.3 V. If &lt;SPAN class="highlight"&gt;VDD&lt;/SPAN&gt;IO is removed, then the control signals SCL and SDA will clamp any logic signals with their internal ESD protection diodes."&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Harold&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Mar 2015 01:46:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Clearing-MMA8652-Interrupts/m-p/363520#M1119</guid>
      <dc:creator>haroldmccabe</dc:creator>
      <dc:date>2015-03-07T01:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing MMA8652 Interrupts</title>
      <link>https://community.nxp.com/t5/Sensors/Clearing-MMA8652-Interrupts/m-p/363521#M1120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harold,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="CS" style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Could you please post here the waveforms to &lt;/SPAN&gt;&lt;SPAN lang="CS" style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #3d3d3d;"&gt;review what is going on on the I2C bus?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;A single byte read e.g. from the WHO_AM_I register 0x0D&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt; should &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;look like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Who_Am_I register read.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51203i1DBC0A470CC0DE1B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Who_Am_I register read.JPG.jpg" alt="Who_Am_I register read.JPG.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="CS" style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #3d3d3d;"&gt;A common problem with the read operation is sending&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #3d3d3d;"&gt;a stop condition (a low to high transition of SDA while SCL is high) after the second byte (in this case 0x0D). The correct way is to release the SDA line (so that it transitiones to high) before the SCL line goes high.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;As for the pull-up resistors, the recommended value is between 1k - 4.7k. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;VDD I/O can differ from VDD to accommodate the desired interface voltage and can go down to 1.71V. For single-supply operation, VDD I/O can be the same as the main supply, VDD (1.95V to 3.6V). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Tomas&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 13:42:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Clearing-MMA8652-Interrupts/m-p/363521#M1120</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2015-03-09T13:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing MMA8652 Interrupts</title>
      <link>https://community.nxp.com/t5/Sensors/Clearing-MMA8652-Interrupts/m-p/363522#M1121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean that the register address (1st data byte of the write message) does _not_ persist after the Stop condition?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 14:09:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Clearing-MMA8652-Interrupts/m-p/363522#M1121</guid>
      <dc:creator>haroldmccabe</dc:creator>
      <dc:date>2015-03-09T14:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing MMA8652 Interrupts</title>
      <link>https://community.nxp.com/t5/Sensors/Clearing-MMA8652-Interrupts/m-p/363523#M1122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. I verified that the repeat Start condition for a read works, and apparently is mandatory. For all other I2C devices I work with, the repeat Start condition is optional and the register address is remembered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now consider this question answered. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 15:13:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Clearing-MMA8652-Interrupts/m-p/363523#M1122</guid>
      <dc:creator>haroldmccabe</dc:creator>
      <dc:date>2015-03-09T15:13:18Z</dc:date>
    </item>
  </channel>
</rss>

