<?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 Accelerometer External Interrupt on LPC1769 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Accelerometer-External-Interrupt-on-LPC1769/m-p/662954#M26463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to trigger a freefall interrupt using the accelerometer module MMA7455 on my base board. I have read the data sheet but I am unclear how to go about setting it to an EINTx interrupt handler. The accelerometer is connected as such: INT1/DRDY -&amp;gt; P2.5 &amp;amp; INT2 -&amp;gt; P1.8. Attached is my code in the limited accelerometer library I was given. I have very little understanding on how to configure the registers and pins so any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337895"&gt;acc.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Apr 2017 06:39:06 GMT</pubDate>
    <dc:creator>muhammadarifbi1</dc:creator>
    <dc:date>2017-04-09T06:39:06Z</dc:date>
    <item>
      <title>Accelerometer External Interrupt on LPC1769</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Accelerometer-External-Interrupt-on-LPC1769/m-p/662954#M26463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to trigger a freefall interrupt using the accelerometer module MMA7455 on my base board. I have read the data sheet but I am unclear how to go about setting it to an EINTx interrupt handler. The accelerometer is connected as such: INT1/DRDY -&amp;gt; P2.5 &amp;amp; INT2 -&amp;gt; P1.8. Attached is my code in the limited accelerometer library I was given. I have very little understanding on how to configure the registers and pins so any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337895"&gt;acc.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Apr 2017 06:39:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Accelerometer-External-Interrupt-on-LPC1769/m-p/662954#M26463</guid>
      <dc:creator>muhammadarifbi1</dc:creator>
      <dc:date>2017-04-09T06:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerometer External Interrupt on LPC1769</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Accelerometer-External-Interrupt-on-LPC1769/m-p/662955#M26464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Muhammand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend you to use the following document created by a colleague as reference on how to initialize and configure the accelerometer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-329888"&gt;MMA8451Q -Single Tap Detection Bare metal example project&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the LPC part, you can use the LPCOpen periph_pinint example that demonstrates use of the GPIO pin interrupts and the periph_i2c that shows how to use I2C interface in master and slave mode using POLLING/INTERRUPT method.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Carlos Mendoza&lt;BR /&gt;Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 21:27:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Accelerometer-External-Interrupt-on-LPC1769/m-p/662955#M26464</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2017-04-10T21:27:34Z</dc:date>
    </item>
  </channel>
</rss>

