<?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: Pin default (high impedance) state and protection in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pin-default-high-impedance-state-and-protection/m-p/1271071#M60437</link>
    <description>&lt;P&gt;Hi Diego,&lt;/P&gt;&lt;P&gt;Now I see that most of the device pins with not existing ALT0 are in DISABLED default state. I guess that after power-up, with ADC gate clock disabled, ADC pins are in input floating (without pull up/down) state? For disabling all port pins (to Hi-Z) I should after power-up at program start select ALT7 for complete port C and D that are used for communication with other off-board devices?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Josip&lt;/P&gt;</description>
    <pubDate>Sat, 01 May 2021 13:57:37 GMT</pubDate>
    <dc:creator>jh0</dc:creator>
    <dc:date>2021-05-01T13:57:37Z</dc:date>
    <item>
      <title>Pin default (high impedance) state and protection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pin-default-high-impedance-state-and-protection/m-p/1267643#M60382</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In device datasheet (Design considerations) there is...&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Most of digital pins are disabled (in high impedance state) after power up...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Most? What pins are not in high impedance state after power up?&lt;/P&gt;&lt;P&gt;On (Design considerations) Figure 27. High voltage measurement with an ADC input, there is...&lt;/P&gt;&lt;P&gt;&lt;EM&gt;High voltage measurement circuits require voltage division, current limiting, and&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;overvoltage protection as shown the following figure. The voltage divider formed by R1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;– R4 must yield a voltage less than or equal to VREFH. Typically, VREFH is&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;connected to VDDA. The current must be limited to less than the negative injection&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;current limit. Since the ADC pins do not have diodes to VDD, external clamp diodes&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;must be included to protect against transient over-voltages.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;In my case I am measuring 0-7V, so there is voltage divider, and measured value is OK. I don't have place on PCB for external clamp diodes. Current to DAC is limited (by divider) to 0.5 mA. I guess that this is safe without using external diodes.&lt;/P&gt;&lt;P&gt;There are lot of pins with default ADC ALT state, and by note '&lt;EM&gt;Since the ADC pins do not have diodes to VDD, external clamp diodes must be included to protect against transient over-voltages&lt;/EM&gt;' it means that all this pins are not protected? Even not used for ADC? ADC pins (default ALT) are in Hi-Z?&lt;/P&gt;&lt;P&gt;What will be if 5V signal (limited to 1mA) is connected to micro pin (in default Hi-Z state) while VDD is 1.8V?&lt;/P&gt;&lt;P&gt;What is situation with empty (not existing / connected) ALT. For example with selected not-existing ALT7 pin will be ih Hi-Z?&lt;/P&gt;&lt;P&gt;Questions are related to K32L2A31, but situation is similar to any member of KL family.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Josip&lt;/P&gt;</description>
      <pubDate>Sun, 25 Apr 2021 08:48:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pin-default-high-impedance-state-and-protection/m-p/1267643#M60382</guid>
      <dc:creator>jh0</dc:creator>
      <dc:date>2021-04-25T08:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Pin default (high impedance) state and protection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pin-default-high-impedance-state-and-protection/m-p/1270982#M60431</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/95980"&gt;@jh0&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing well&lt;/P&gt;
&lt;P&gt;Regarding your questions:&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;What pins are not in high impedance state after power up?&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Please refer to the table&amp;nbsp; Signal Multiplexing and Pin Assignments table of the DS , and check the &lt;STRONG&gt;&lt;EM&gt;Default&lt;/EM&gt;&lt;/STRONG&gt; column,&amp;nbsp; there you can see specifically &amp;nbsp;which pins are DISABLED at power up.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;DISABLED indicates no function after reset, so that is High-Impedance.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;gt;&amp;gt;In my case I am measuring 0-7V, so there is voltage divider, and measured value is OK. I don't have place on PCB for external clamp diodes. Current to DAC is limited (by divider) to 0.5 mA. I guess that this is safe without using external diodes.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;It is hard to tell if your system will be immune to transient over voltages. The external clamp diodes&amp;nbsp; are a good safety feature to have.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;gt;&amp;gt;There are lot of pins with default ADC ALT state, and by note '&lt;EM&gt;Since the ADC pins do not have diodes to VDD, external clamp diodes must be included to protect against transient over-voltages&lt;/EM&gt;' it means that all this pins are not protected? Even not used for ADC?&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;The ADC pins ( and all I/O ) still have an clamping diode to VSS for ESD protection. As this note from the datasheet indicates:&amp;nbsp; &lt;EM&gt;&lt;SPAN class="" style="left: 144.3px; top: 360.746px; font-size: 15px; font-family: sans-serif; transform: scaleX(1.04207);"&gt;All I/O pins are internally &lt;SPAN class="highlight selected"&gt;clamp&lt;/SPAN&gt;ed to V&lt;/SPAN&gt;&lt;SPAN style="left: 398.565px; top: 366.591px; font-size: 11.25px; font-family: sans-serif; transform: scaleX(1.07196);"&gt;SS&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN style="left: 413.573px; top: 360.746px; font-size: 15px; font-family: sans-serif; transform: scaleX(1.03305);"&gt;&lt;EM&gt; through a ESD protection diode&lt;/EM&gt;. &lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN style="left: 413.573px; top: 360.746px; font-size: 15px; font-family: sans-serif; transform: scaleX(1.03305);"&gt; &amp;gt;&amp;gt;ADC pins (default ALT) are in Hi-Z??&lt;/SPAN&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT face="sans-serif"&gt;&lt;SPAN style="font-size: 15px;"&gt;Pins that have the default ALT as ADC , are not in Hi-Z&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;gt;&amp;gt;What will be if 5V signal (limited to 1mA) is connected to micro pin (in default Hi-Z state) while VDD is 1.8V?&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;This will be out of the specification, When a pin is on a high impedance state , the voltage applied to the pin must not get above VDD+ .3.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;gt;&amp;gt;What is situation with empty (not existing / connected) ALT. For example with selected not-existing ALT7 pin will be ih Hi-Z?&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;That alternative will disable the&amp;nbsp; pin, so it will be in Hi-z.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If you have more questions, do not hesitate to let me know.&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 18:48:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pin-default-high-impedance-state-and-protection/m-p/1270982#M60431</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-04-30T18:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Pin default (high impedance) state and protection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pin-default-high-impedance-state-and-protection/m-p/1271071#M60437</link>
      <description>&lt;P&gt;Hi Diego,&lt;/P&gt;&lt;P&gt;Now I see that most of the device pins with not existing ALT0 are in DISABLED default state. I guess that after power-up, with ADC gate clock disabled, ADC pins are in input floating (without pull up/down) state? For disabling all port pins (to Hi-Z) I should after power-up at program start select ALT7 for complete port C and D that are used for communication with other off-board devices?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Josip&lt;/P&gt;</description>
      <pubDate>Sat, 01 May 2021 13:57:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pin-default-high-impedance-state-and-protection/m-p/1271071#M60437</guid>
      <dc:creator>jh0</dc:creator>
      <dc:date>2021-05-01T13:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pin default (high impedance) state and protection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pin-default-high-impedance-state-and-protection/m-p/1273386#M60474</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/95980"&gt;@jh0&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding your questions .&lt;/P&gt;
&lt;P&gt;Now I see that most of the device pins with not existing ALT0 are in DISABLED default state. I guess that after power-up, with ADC gate clock disabled, ADC pins are in input floating (without pull up/down) state?&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp; Correct, The ADC pins do not have a pull up/down state.&lt;/P&gt;
&lt;P&gt;For disabling all port pins (to Hi-Z) I should after power-up at program start select ALT7 for complete port C and D that are used for communication with other off-board devices?&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;I would not recommend to use ALT7 to disable pins. I have been checking with my colleagues, and actually, the ALT7 it is not guaranteed to do&amp;nbsp; &amp;nbsp;this , becuase its effect it is not specified .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you have further questions.&lt;/P&gt;
&lt;P&gt;Diego.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 04:34:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pin-default-high-impedance-state-and-protection/m-p/1273386#M60474</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-05-07T04:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pin default (high impedance) state and protection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pin-default-high-impedance-state-and-protection/m-p/1273473#M60475</link>
      <description>&lt;P&gt;Hi Diego,&lt;/P&gt;&lt;P&gt;Just one more question regarding rest of the pins, after power up with (peripheral) gate clock disabled with default ALT0 (CMPx_INx, DACx_OUT, TSIO_CHx, EXTAL0, XTAL0). Are they also floating inputs like ADC pins?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Josip&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 07:15:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pin-default-high-impedance-state-and-protection/m-p/1273473#M60475</guid>
      <dc:creator>jh0</dc:creator>
      <dc:date>2021-05-07T07:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Pin default (high impedance) state and protection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pin-default-high-impedance-state-and-protection/m-p/1273941#M60487</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/95980"&gt;@jh0&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me get back to you the following week with feedback , I am checking this with my colleagues.&lt;/P&gt;
&lt;P&gt;Diego.&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 03:11:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pin-default-high-impedance-state-and-protection/m-p/1273941#M60487</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-05-08T03:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Pin default (high impedance) state and protection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pin-default-high-impedance-state-and-protection/m-p/1275682#M60510</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/95980"&gt;@jh0&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have received feedback :&amp;nbsp; the pins&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;CMPx_INx, DACx_OUT, TSIO_CHx, EXTAL0, XTAL0 and default analog pins (that have a default mux to ADC/DAC) are&amp;nbsp; in Hi-Z after reset.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Diego.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 13:55:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pin-default-high-impedance-state-and-protection/m-p/1275682#M60510</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-05-12T13:55:29Z</dc:date>
    </item>
  </channel>
</rss>

