<?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>Kinetis Microcontrollers中的主题 Re: K20 GPIO Input remains High</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-GPIO-Input-remains-High/m-p/383265#M20451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi chris321,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Actually, when the input digital pin is floating, the input data is not stable(not always high), it is determined by the external circuit, and maybe disturbed by the noise.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I think you should use the analog pin instead of the digital pin and keep the input voltage inside of the ADC input voltage range , because digital is just have the high and low level, and input uncertain data when it is floating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jingjing&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Apr 2015 02:53:45 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2015-04-14T02:53:45Z</dc:date>
    <item>
      <title>K20 GPIO Input remains High</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-GPIO-Input-remains-High/m-p/383260#M20446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Cmmunity,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've configured a K20 GPIO pin (PTC4) as an input pin with the Kinetis Design Studio Driver BitIO.&lt;/P&gt;&lt;P&gt;Now it is possible to detect lows and highs on this pin. But after the High applied to this pin and left floating again the pin is on ~3V. The internal pull ups and downs are disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a normal behavior or can this near-high-level on a input pin after an attached high lvl be bypassed (without a pull down)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 13:36:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-GPIO-Input-remains-High/m-p/383260#M20446</guid>
      <dc:creator>chris321</dc:creator>
      <dc:date>2015-04-07T13:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: K20 GPIO Input remains High</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-GPIO-Input-remains-High/m-p/383261#M20447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi chris321,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Could you tell me the full partnumber of your chip?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I test the PTC4 input voltage level on my K20D50m board with disabled internal pullups and downs.&lt;/P&gt;&lt;P&gt;&amp;nbsp; After the high voltage input, then left the pin floating, the input data will be low voltage.&lt;/P&gt;&lt;P&gt;1: input high voltage&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49117i9D0E06B934E247E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2: Floating PTC4&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.nxp.com/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think, you can check your register, whether you really disable the pullup and downs.&lt;/P&gt;&lt;P&gt;But if you want to have a clear level after floating your pin, you should better enable the internal pull down resistor.&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 03:37:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-GPIO-Input-remains-High/m-p/383261#M20447</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2015-04-08T03:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: K20 GPIO Input remains High</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-GPIO-Input-remains-High/m-p/383262#M20448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jingjing,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the MK20DX256VLK10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the register values from the GPIOC_PDIR for the 3 stages:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. floating input/ or pulled to GND : 0x0&lt;/P&gt;&lt;P&gt;2. pulled up (via 10k) : 0x10&lt;/P&gt;&lt;P&gt;3. left floating again: 0x10&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 06:54:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-GPIO-Input-remains-High/m-p/383262#M20448</guid>
      <dc:creator>chris321</dc:creator>
      <dc:date>2015-04-13T06:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: K20 GPIO Input remains High</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-GPIO-Input-remains-High/m-p/383263#M20449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi chris321,&lt;/P&gt;&lt;P&gt;&amp;nbsp; You test result is the same with me, this is the nomal behavior.&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you want the input data is low, you can enable internal pull down register.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have question, please contact me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 09:37:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-GPIO-Input-remains-High/m-p/383263#M20449</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2015-04-13T09:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: K20 GPIO Input remains High</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-GPIO-Input-remains-High/m-p/383264#M20450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jingjing,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to measure the time untill a (really small) capacitor on this pin is &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;discharged, after it were &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;previously charged with the same pin.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;I suppose that with the pull down the cap would be discharged too fast.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;So far I were not able to discover such a behavior on any other microcontroller. Is this K20 specific or is this only a &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;unfavorable behavior of this pin?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 13:33:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-GPIO-Input-remains-High/m-p/383264#M20450</guid>
      <dc:creator>chris321</dc:creator>
      <dc:date>2015-04-13T13:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: K20 GPIO Input remains High</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-GPIO-Input-remains-High/m-p/383265#M20451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi chris321,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Actually, when the input digital pin is floating, the input data is not stable(not always high), it is determined by the external circuit, and maybe disturbed by the noise.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I think you should use the analog pin instead of the digital pin and keep the input voltage inside of the ADC input voltage range , because digital is just have the high and low level, and input uncertain data when it is floating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jingjing&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 02:53:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-GPIO-Input-remains-High/m-p/383265#M20451</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2015-04-14T02:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: K20 GPIO Input remains High</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-GPIO-Input-remains-High/m-p/383266#M20452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this answer has been tagged as resolved, however, I am not too happy with it.&amp;nbsp; I have similar problem using the KL03 microcontroller.&amp;nbsp; I would like a pin to discharge after a logic "1" is strobed. I use the HAL API on bare metal (no PE nor drivers).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a pseudocode of what my code looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Enable clocks to ports (A,B)&lt;/P&gt;&lt;P&gt;2) Set Port A5 to output&amp;nbsp; Port B1 as input and connect them physically using a cable on the dev board &lt;/P&gt;&lt;P&gt;3) Enable a High-to-low interrupt on B1&lt;/P&gt;&lt;P&gt;4) Connect A5 to B1 and strobe a "1" on A5&lt;/P&gt;&lt;P&gt;5) Change A5 to "Pin Disabled"&lt;/P&gt;&lt;P&gt;6) Wait for interrupt --- nothing happens until I connect a multimeter on A5/B1 -- Then it interrupts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried similar steps:&lt;/P&gt;&lt;P&gt;1,2,3,4,6 remain the same. Instead of 5, I have driven A5 to low. Then B1 calls the ISR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything on the reference manual (for either the K20 or the KL03) that I can check why this behavior is normal? I _need_ to understand why this is happening, because this behavior is important in my application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do any of you know if&amp;nbsp; this will also happen if I use the port as as a trigger on the LPWUC?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be great!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 20:47:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-GPIO-Input-remains-High/m-p/383266#M20452</guid>
      <dc:creator>carlostadeoorte</dc:creator>
      <dc:date>2015-06-10T20:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: K20 GPIO Input remains High</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-GPIO-Input-remains-High/m-p/383267#M20453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to answer my own question. PB1 on the FRDM-KL03z board is connected to the OpenSDA environment, which has inerternal pups/pdowns.&amp;nbsp; I connected instead to PB0. Removed the R37 and the pin works as it should be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 22:02:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-GPIO-Input-remains-High/m-p/383267#M20453</guid>
      <dc:creator>carlostadeoorte</dc:creator>
      <dc:date>2015-06-10T22:02:08Z</dc:date>
    </item>
  </channel>
</rss>

