<?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: I.MX 8M MINI Interrupt in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/I-MX-8M-MINI-Interrupt/m-p/1202147#M166764</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use our gpio config tool to generate dts code&amp;nbsp;&lt;A href="https://www.nxp.com/design/designs/pins-tool-for-i-mx-application-processors:PINS-TOOL-IMX" target="_self"&gt;https://www.nxp.com/design/designs/pins-tool-for-i-mx-application-processors:PINS-TOOL-IMX&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Zhiming&lt;/P&gt;</description>
    <pubDate>Mon, 21 Dec 2020 02:36:19 GMT</pubDate>
    <dc:creator>Zhiming_Liu</dc:creator>
    <dc:date>2020-12-21T02:36:19Z</dc:date>
    <item>
      <title>I.MX 8M MINI Interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I-MX-8M-MINI-Interrupt/m-p/1201952#M166742</link>
      <description>&lt;P&gt;I want to make the GPIO pin assigned to my RTC a falling edge interrupt.&lt;/P&gt;&lt;P&gt;This is what I have done so far:&lt;/P&gt;&lt;P&gt;Defined the pin node&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dan_hilgert_0-1608323564774.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133093iFE169AC2971EC195/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dan_hilgert_0-1608323564774.png" alt="dan_hilgert_0-1608323564774.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Defined I2C node for the RTC and designated interrupt info&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dan_hilgert_1-1608323633916.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133094iEBEE2298F25E2DFC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dan_hilgert_1-1608323633916.png" alt="dan_hilgert_1-1608323633916.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Compile new .dtb and scp the file to the board&lt;BR /&gt;&lt;BR /&gt;Finally, when I execute a ' cat /proc/interrupts' the interrupt always shows up as a level interrupt and never and edge like I defined it to be.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dan_hilgert_3-1608324391712.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133096i18E582F038DB994F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dan_hilgert_3-1608324391712.png" alt="dan_hilgert_3-1608324391712.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Looking at the datasheet, it appears each pin can be assigned as a high or low level as well as falling or rising edge interrupt.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I test the interrupt functionality this is what I see:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Line pulled high no interrupts generated&lt;/LI&gt;&lt;LI&gt;Line pulled low, continuous interrupts generated&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Can someone point me in the right direction to identify what I am doing wrong or missing here?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 20:47:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I-MX-8M-MINI-Interrupt/m-p/1201952#M166742</guid>
      <dc:creator>dan_hilgert</dc:creator>
      <dc:date>2020-12-18T20:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: I.MX 8M MINI Interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I-MX-8M-MINI-Interrupt/m-p/1202147#M166764</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use our gpio config tool to generate dts code&amp;nbsp;&lt;A href="https://www.nxp.com/design/designs/pins-tool-for-i-mx-application-processors:PINS-TOOL-IMX" target="_self"&gt;https://www.nxp.com/design/designs/pins-tool-for-i-mx-application-processors:PINS-TOOL-IMX&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 02:36:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I-MX-8M-MINI-Interrupt/m-p/1202147#M166764</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2020-12-21T02:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: I.MX 8M MINI Interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I-MX-8M-MINI-Interrupt/m-p/1205659#M167152</link>
      <description>&lt;P&gt;I think I figured out what's going on. I believe the device tree interrupt configuration be overwritten by the device driver.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dan_hilgert_0-1609689316652.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133775i401EB9A3056BE106/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dan_hilgert_0-1609689316652.png" alt="dan_hilgert_0-1609689316652.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am fairly new to embedded Linux applications, but I assume a device driver can overwrite the info the device tree is telling the kernel. Can you confirm?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jan 2021 15:57:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I-MX-8M-MINI-Interrupt/m-p/1205659#M167152</guid>
      <dc:creator>dan_hilgert</dc:creator>
      <dc:date>2021-01-03T15:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: I.MX 8M MINI Interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I-MX-8M-MINI-Interrupt/m-p/1205688#M167154</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NO, device tree can not be changed by driver.The code you show just judge the trigger type to handle irq.For example, if you define the gpio irq is type of low trigger.The driver find current irq is low and it will call m4lt80_handle_irq.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 01:47:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I-MX-8M-MINI-Interrupt/m-p/1205688#M167154</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2021-01-04T01:47:17Z</dc:date>
    </item>
  </channel>
</rss>

