<?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: LPC1347 VIL and VIH in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1347-VIL-and-VIH/m-p/696797#M28067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mateusz,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Actually, even 1.6V can light the LED, but if you want to get the stable high state, you still make sure, the input voltage is higher than 0.7Vdd, the same to Low-level input voltage, if you want to get the stable low input voltage, you should make sure input voltage is smaller than 0.3Vdd. The other voltage may work, but it is not stable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have question about&amp;nbsp; it, please let me know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Fri, 08 Sep 2017 06:06:02 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2017-09-08T06:06:02Z</dc:date>
    <item>
      <title>LPC1347 VIL and VIH</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1347-VIL-and-VIH/m-p/696796#M28066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a newbie and I am trying to understand Voltage Input Low (VIL) and Voltage Input High (VIH). I am using LPC1347 board. As the documentation says (&lt;A class="link-titled" href="http://www.nxp.com/docs/en/data-sheet/LPC1315_16_17_45_46_47.pdf" title="http://www.nxp.com/docs/en/data-sheet/LPC1315_16_17_45_46_47.pdf"&gt;http://www.nxp.com/docs/en/data-sheet/LPC1315_16_17_45_46_47.pdf&lt;/A&gt;&amp;nbsp;) the VIL equals 0.3VDD and VIH equals 0.7VDD. VDD equals 3.3V (The multimetr shows 3.22V), thus the VIL should be 0.966V and VIH 2.254V (approximately). I created simple program to check it out. The program switch on the board LED when PIN8 is HIGH. I also connected a potentiometer to change voltage on PIN8 dynamically and a multimeter to check current voltage. This program works, but... The LED turns on when voltage on PIN8 is about 1.6V. Lower voltage turns off the LED. So how to understand it?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;When voltage is between VIL ans VIH it is floating. It may bounce arbitrarily between HIGH and LOW. So it is the reason that the PIN8 is still HIGH?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be greatfull for any answer!&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int main(void) {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#if defined (__USE_LPCOPEN)&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;// Read clock settings and update SystemCoreClock variable&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;SystemCoreClockUpdate();&lt;BR /&gt;#if !defined(NO_BOARD_LIB)&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;// Set up and initialize all required blocks and&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;// functions related to the board hardware&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;Board_Init();&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;// Set the LED to the state of "On"&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;Board_LED_Set(0, true);&lt;BR /&gt;#endif&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;LPC_GPIO_PORT-&amp;gt;DIR[0] &amp;amp;= ~(1 &amp;lt;&amp;lt; 8);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;LPC_IOCON-&amp;gt;PIO0[8] = IOCON_FUNC0 | IOCON_MODE_PULLDOWN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;while (1) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (LPC_GPIO_PORT-&amp;gt;B[0][8] == 1) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;LPC_GPIO_PORT-&amp;gt;B[0][7] = 1;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;LPC_GPIO_PORT-&amp;gt;B[0][7] = 0;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;return 0 ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 18:34:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1347-VIL-and-VIH/m-p/696796#M28066</guid>
      <dc:creator>mateuszkiełbasa</dc:creator>
      <dc:date>2017-09-07T18:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1347 VIL and VIH</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1347-VIL-and-VIH/m-p/696797#M28067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mateusz,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Actually, even 1.6V can light the LED, but if you want to get the stable high state, you still make sure, the input voltage is higher than 0.7Vdd, the same to Low-level input voltage, if you want to get the stable low input voltage, you should make sure input voltage is smaller than 0.3Vdd. The other voltage may work, but it is not stable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have question about&amp;nbsp; it, please let me know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Fri, 08 Sep 2017 06:06:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1347-VIL-and-VIH/m-p/696797#M28067</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-09-08T06:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1347 VIL and VIH</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1347-VIL-and-VIH/m-p/696798#M28068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mateusz,&lt;/P&gt;&lt;P&gt;&amp;nbsp; You are welcome!&lt;/P&gt;&lt;P&gt;&amp;nbsp; If your problem is solved, please mark the correct answer to close this question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thank you and have a nice day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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, 11 Sep 2017 02:47:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1347-VIL-and-VIH/m-p/696798#M28068</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-09-11T02:47:21Z</dc:date>
    </item>
  </channel>
</rss>

