<?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>LPCXpresso IDEのトピックLPC1111 PIO0_7 Enable Question</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-PIO0-7-Enable-Question/m-p/583411#M25850</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ulysses on Fri Nov 19 09:10:28 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a very basic SW problem/issue with a LPC1111 and LPCXpresso[COLOR=#1F497D][FONT=&amp;amp;quot][/FONT][/COLOR]. I’m trying to enable PIO0_7 as an input that triggers only on a falling edge. Reading the user manual it says I need to make sure that bit 7 is 0 for port 0 in registers DIR, IS, IBE, IEV and then make bit 7 of IE 1 to enable the interrupt. No matter what we do the interrupt is always being triggered on both the rising and falling edge.&amp;nbsp; We hooked up a scope to make sure there is not any noise and everything looked clean (see scope log attached). If I chang IBE to 1 (to request triggering on both rising and falling edge) the same behavior is observed. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Could you please tell me what I’m doing wrong? I was using gpio.c/h as a reference. Also do you have a SW engineering contact that I could speak to directly about any SW issues I might have? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=black][FONT=&amp;amp;quot]&amp;nbsp;&amp;nbsp; LPC_GPIO[/FONT][/COLOR][COLOR=black][FONT=&amp;amp;quot][0]-&amp;gt;DIR&amp;nbsp; &amp;amp;= ~(1&amp;lt;&amp;lt;7);[/FONT][/COLOR][FONT=&amp;amp;quot][/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=black][FONT=&amp;amp;quot]&amp;nbsp;&amp;nbsp; LPC_GPIO[0]-&amp;gt;IS&amp;nbsp;&amp;nbsp; &amp;amp;= ~(1&amp;lt;&amp;lt;7);[/FONT][/COLOR][FONT=&amp;amp;quot][/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=black][FONT=&amp;amp;quot]&amp;nbsp;&amp;nbsp; LPC_GPIO[0]-&amp;gt;IBE&amp;nbsp; &amp;amp;= ~(1&amp;lt;&amp;lt;7);[/FONT][/COLOR][FONT=&amp;amp;quot][/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=black][FONT=&amp;amp;quot]&amp;nbsp;&amp;nbsp; LPC_GPIO[0]-&amp;gt;IEV&amp;nbsp; &amp;amp;= ~(1&amp;lt;&amp;lt;7);[/FONT][/COLOR][FONT=&amp;amp;quot][/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=black][FONT=&amp;amp;quot]&amp;nbsp;&amp;nbsp; LPC_GPIO[0]-&amp;gt;IE&amp;nbsp;&amp;nbsp; |= (1&amp;lt;&amp;lt;7);[/FONT][/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [ATTACH]230[/ATTACH]&lt;/SPAN&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-338267"&gt;1100851_BugAs1.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:19:11 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:19:11Z</dc:date>
    <item>
      <title>LPC1111 PIO0_7 Enable Question</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-PIO0-7-Enable-Question/m-p/583411#M25850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ulysses on Fri Nov 19 09:10:28 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a very basic SW problem/issue with a LPC1111 and LPCXpresso[COLOR=#1F497D][FONT=&amp;amp;quot][/FONT][/COLOR]. I’m trying to enable PIO0_7 as an input that triggers only on a falling edge. Reading the user manual it says I need to make sure that bit 7 is 0 for port 0 in registers DIR, IS, IBE, IEV and then make bit 7 of IE 1 to enable the interrupt. No matter what we do the interrupt is always being triggered on both the rising and falling edge.&amp;nbsp; We hooked up a scope to make sure there is not any noise and everything looked clean (see scope log attached). If I chang IBE to 1 (to request triggering on both rising and falling edge) the same behavior is observed. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Could you please tell me what I’m doing wrong? I was using gpio.c/h as a reference. Also do you have a SW engineering contact that I could speak to directly about any SW issues I might have? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=black][FONT=&amp;amp;quot]&amp;nbsp;&amp;nbsp; LPC_GPIO[/FONT][/COLOR][COLOR=black][FONT=&amp;amp;quot][0]-&amp;gt;DIR&amp;nbsp; &amp;amp;= ~(1&amp;lt;&amp;lt;7);[/FONT][/COLOR][FONT=&amp;amp;quot][/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=black][FONT=&amp;amp;quot]&amp;nbsp;&amp;nbsp; LPC_GPIO[0]-&amp;gt;IS&amp;nbsp;&amp;nbsp; &amp;amp;= ~(1&amp;lt;&amp;lt;7);[/FONT][/COLOR][FONT=&amp;amp;quot][/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=black][FONT=&amp;amp;quot]&amp;nbsp;&amp;nbsp; LPC_GPIO[0]-&amp;gt;IBE&amp;nbsp; &amp;amp;= ~(1&amp;lt;&amp;lt;7);[/FONT][/COLOR][FONT=&amp;amp;quot][/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=black][FONT=&amp;amp;quot]&amp;nbsp;&amp;nbsp; LPC_GPIO[0]-&amp;gt;IEV&amp;nbsp; &amp;amp;= ~(1&amp;lt;&amp;lt;7);[/FONT][/COLOR][FONT=&amp;amp;quot][/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=black][FONT=&amp;amp;quot]&amp;nbsp;&amp;nbsp; LPC_GPIO[0]-&amp;gt;IE&amp;nbsp;&amp;nbsp; |= (1&amp;lt;&amp;lt;7);[/FONT][/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [ATTACH]230[/ATTACH]&lt;/SPAN&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-338267"&gt;1100851_BugAs1.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:19:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-PIO0-7-Enable-Question/m-p/583411#M25850</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1111 PIO0_7 Enable Question</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-PIO0-7-Enable-Question/m-p/583412#M25851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by curtvm on Fri Nov 19 12:39:11 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You may want to also show what you do for the IOCON register and IRQ flag clearing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the timer capture, and it seems to work better with hysteresis on (I also am setting the the mode to repeater).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe that rising edge is not so clean.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:19:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-PIO0-7-Enable-Question/m-p/583412#M25851</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:19:12Z</dc:date>
    </item>
  </channel>
</rss>

