<?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 Circuit for HVI digital input from normal IO in S12ZVL in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Circuit-for-HVI-digital-input-from-normal-IO-in-S12ZVL/m-p/537582#M12620</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using S12ZVL 32 pin LQFP for my project. The MCU has only one HVI input. I need additional 2 in digital mode. I used the HVI style circuit with a resistor divider of 56K and 100K&amp;nbsp; to ground (with cap across 100K for filtering) on pins PAD2 and PAD3. I am also enabling the internal pull up as need, wake-up from sleep mode also. Functionally there I found no problem. &lt;/P&gt;&lt;P&gt;I found the voltage of 5.8V on the I/O for voltages up to 20V input.&lt;/P&gt;&lt;P&gt;Are there any diodes to Vdd and ground on the I/Os? &lt;/P&gt;&lt;P&gt;Is this recommended? &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajiv Bandodkar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Aug 2016 03:17:29 GMT</pubDate>
    <dc:creator>rajivbandodkar</dc:creator>
    <dc:date>2016-08-18T03:17:29Z</dc:date>
    <item>
      <title>Circuit for HVI digital input from normal IO in S12ZVL</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Circuit-for-HVI-digital-input-from-normal-IO-in-S12ZVL/m-p/537582#M12620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using S12ZVL 32 pin LQFP for my project. The MCU has only one HVI input. I need additional 2 in digital mode. I used the HVI style circuit with a resistor divider of 56K and 100K&amp;nbsp; to ground (with cap across 100K for filtering) on pins PAD2 and PAD3. I am also enabling the internal pull up as need, wake-up from sleep mode also. Functionally there I found no problem. &lt;/P&gt;&lt;P&gt;I found the voltage of 5.8V on the I/O for voltages up to 20V input.&lt;/P&gt;&lt;P&gt;Are there any diodes to Vdd and ground on the I/Os? &lt;/P&gt;&lt;P&gt;Is this recommended? &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajiv Bandodkar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 03:17:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Circuit-for-HVI-digital-input-from-normal-IO-in-S12ZVL/m-p/537582#M12620</guid>
      <dc:creator>rajivbandodkar</dc:creator>
      <dc:date>2016-08-18T03:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Circuit for HVI digital input from normal IO in S12ZVL</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Circuit-for-HVI-digital-input-from-normal-IO-in-S12ZVL/m-p/537583#M12621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajiv,&lt;/P&gt;&lt;P&gt;all GPIO pins are protected by ESD diodes to power supply rails.&lt;/P&gt;&lt;P&gt;So, this 5.8V presents 5V at VDDA plus 0.8V drop at internal ESD diode. In this case, you injected current into pin, ESD diode to VDDA/VDDX rail.&lt;/P&gt;&lt;P&gt;The maximum allowed continuous injection current per single pin is 2.5mA (Total device limit, a sum of all injected currents is 25mA).&lt;/P&gt;&lt;P&gt;Regarding your resistor divider values, the injected current will be small ((20V-5.8V)/56k=0.25mA). However, we have to be carefully especially in power save modes. If the sum of injected currents will be bigger than VDDX/VDDA power consumption, the regulator may be not able to keep stable 5V output voltage level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See chapter A.1.2 Current Injection in RM. Optionally you may look also on our application notes:&lt;/P&gt;&lt;P&gt;AN4731 Understanding Injection Current on Freescale Automotive Microcontrollers&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/files/32bit/doc/app_note/AN4731.pdf"&gt;http://www.nxp.com/files/32bit/doc/app_note/AN4731.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or older AN2434 Input-Output Pin Drivers on HCS12 Family MCUs&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Ffiles%2Fmicrocontrollers%2Fdoc%2Fapp_note%2FAN2434.pdf" rel="nofollow" target="_blank"&gt;http://www.nxp.com/files/microcontrollers/doc/app_note/AN2434.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: If you use PAD pins as digital inputs, please do not forget to enable appropriate digital input buffers by DIENADx registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is supposed voltage range of these additional high voltage inputs? Maybe, the choosing of different voltage divider values may partially prevent against injection current effects… &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Radek&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>Thu, 18 Aug 2016 12:19:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Circuit-for-HVI-digital-input-from-normal-IO-in-S12ZVL/m-p/537583#M12621</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2016-08-18T12:19:36Z</dc:date>
    </item>
  </channel>
</rss>

