<?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: KBI On Active High? in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/KBI-On-Active-High/m-p/123814#M14</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Avery&lt;BR /&gt;Do you really need a interrupt? If you poll the input(s) lets say every 4ms i think that will work just perfect. I am doing so for my matrix keyboard (TAST4x4) with my OS EBS08.&lt;BR /&gt;&lt;BR /&gt;Saluti Joerg&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Feb 2007 15:52:48 GMT</pubDate>
    <dc:creator>joerg</dc:creator>
    <dc:date>2007-02-20T15:52:48Z</dc:date>
    <item>
      <title>KBI On Active High?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/KBI-On-Active-High/m-p/123813#M13</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am using a QProx 118H touch sensor in pulse mode (when touched, pulses high - at rest it is low) and I would like that high-pulse to raise an event on my HC908GR8. I am trying to use the KBI to accomplish this but am having difficulty because interupts are invoked by going low! Any ideas on how to do this?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Avery&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 15:27:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/KBI-On-Active-High/m-p/123813#M13</guid>
      <dc:creator>AveryZ</dc:creator>
      <dc:date>2007-02-20T15:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: KBI On Active High?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/KBI-On-Active-High/m-p/123814#M14</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Avery&lt;BR /&gt;Do you really need a interrupt? If you poll the input(s) lets say every 4ms i think that will work just perfect. I am doing so for my matrix keyboard (TAST4x4) with my OS EBS08.&lt;BR /&gt;&lt;BR /&gt;Saluti Joerg&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 15:52:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/KBI-On-Active-High/m-p/123814#M14</guid>
      <dc:creator>joerg</dc:creator>
      <dc:date>2007-02-20T15:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: KBI On Active High?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/KBI-On-Active-High/m-p/123815#M15</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Avery,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;I agree with Joerg that the interrogation of the QT118H output may not need the use of an interrupt.&amp;nbsp; However, here is a more general answer to your query -&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;For those&amp;nbsp;MCUs where the KBI module does not provide polarity selection, another possible interrupt source that can be used is one of the timer input capture channels.&amp;nbsp; This can be set up to trigger on either, or both edges of the input.&amp;nbsp; In this case, the actual input capture value is not required, and can be ignored (apart from the flag clearing process).&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 01:56:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/KBI-On-Active-High/m-p/123815#M15</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-02-21T01:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: KBI On Active High?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/KBI-On-Active-High/m-p/123816#M16</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Guys,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks so much for your replies. The KBI was actually a replacement thought for polling, which i was already doing - but it had the occasional hiccup and would miss an event or two every now and then. I've switched to TIM input capture and it works like a dream - absolutey awesome!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks again!&lt;/DIV&gt;&lt;DIV&gt;Avery&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 12:15:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/KBI-On-Active-High/m-p/123816#M16</guid>
      <dc:creator>AveryZ</dc:creator>
      <dc:date>2007-02-21T12:15:27Z</dc:date>
    </item>
  </channel>
</rss>

