<?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: Different supply voltage in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Different-supply-voltage-MC9S08AW16/m-p/175659#M12209</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello mimco,&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;You cannot directly connect the SPI pins of two MCUs operating at different supply voltages.&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;Where a 5 volt output connects to a 3V input the voltage swing at the input must be limited by one of a number of possible methods, so as not cause&amp;nbsp;damage to&amp;nbsp;the 3V device.&amp;nbsp; Where a 3V output connects to a 5V input, is is quite possible there will be insufficient voltage swing to reliably switch the 5V device.&amp;nbsp; In this case the voltage swing will need to be boosted to meet the requirements of the 5V input.&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;You do not specify which device is&amp;nbsp;the SPI master.&amp;nbsp; The master has three outputs and a single input, whereas the slave has three inputs and a single output.&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;Special buffer devices are available for voltage translation purposes, with some capable of bi-directional operation.&amp;nbsp; Alternatively, for high-to-low voltage translation, a simple resistive&amp;nbsp;voltage divider may suffice.&amp;nbsp; Yet another possibility is to use MOSFETs as inverters.&amp;nbsp; The MOSFET must reliably switch at less than 3 volts, a relatively low value pull-up resistor (perhaps 1k to 4k7) will be required at the drain, and the logic inversion will also need to be taken into account.&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;It two separate power sources are used for each MCU, it is also possible for only one source to be present, and the other switched off.&amp;nbsp; Under these circumstances, the buffering method must also ensure that&amp;nbsp;excessive current cannot flow in any of the interconnections - perhaps not exceeding 0.2 mA.&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>Mon, 31 Dec 2007 11:58:32 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2007-12-31T11:58:32Z</dc:date>
    <item>
      <title>Different supply voltage -  MC9S08AW16</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Different-supply-voltage-MC9S08AW16/m-p/175658#M12208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Please i have one qustion about connection 2 MCU with different supply voltage. First MCU MC9S08AW16 has supply voltage 5V and is connected to the MC9S12NE64 demonstration board. MC9S12NE64 has a voltage level for&amp;nbsp; IO pins around 3V. In the datasheet are these Absolute Maximum Ratings:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;min&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;max&lt;/STRONG&gt;&lt;BR /&gt;I/O, Regulator and Analog Supply Voltage (VDD3) :&amp;nbsp; -0,3 &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; 4,5V&lt;BR /&gt;Digital Logic Supply Voltage (VDD) :&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -0,3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3V&lt;BR /&gt;...&lt;BR /&gt;Digital I/O Input Voltage (VIN) :&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -0,3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6,5V&lt;BR /&gt;&lt;BR /&gt;I need connect these MCUs with SPI. It is possible when voltage level of the MC9S12NE64 pins is 3V and voltage level of MC9S08AW16 is 5V?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Added p/n to subject.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;mimco&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Message Edited by NLFSJ on &lt;/SPAN&gt;&lt;SPAN class="date_text"&gt;2007-12-31&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;06:52 AM&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Message Edited by NLFSJ on &lt;/SPAN&gt;&lt;SPAN class="date_text"&gt;2007-12-31&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;07:15 AM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 06:00:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Different-supply-voltage-MC9S08AW16/m-p/175658#M12208</guid>
      <dc:creator>mimco</dc:creator>
      <dc:date>2007-12-31T06:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Different supply voltage</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Different-supply-voltage-MC9S08AW16/m-p/175659#M12209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello mimco,&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;You cannot directly connect the SPI pins of two MCUs operating at different supply voltages.&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;Where a 5 volt output connects to a 3V input the voltage swing at the input must be limited by one of a number of possible methods, so as not cause&amp;nbsp;damage to&amp;nbsp;the 3V device.&amp;nbsp; Where a 3V output connects to a 5V input, is is quite possible there will be insufficient voltage swing to reliably switch the 5V device.&amp;nbsp; In this case the voltage swing will need to be boosted to meet the requirements of the 5V input.&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;You do not specify which device is&amp;nbsp;the SPI master.&amp;nbsp; The master has three outputs and a single input, whereas the slave has three inputs and a single output.&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;Special buffer devices are available for voltage translation purposes, with some capable of bi-directional operation.&amp;nbsp; Alternatively, for high-to-low voltage translation, a simple resistive&amp;nbsp;voltage divider may suffice.&amp;nbsp; Yet another possibility is to use MOSFETs as inverters.&amp;nbsp; The MOSFET must reliably switch at less than 3 volts, a relatively low value pull-up resistor (perhaps 1k to 4k7) will be required at the drain, and the logic inversion will also need to be taken into account.&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;It two separate power sources are used for each MCU, it is also possible for only one source to be present, and the other switched off.&amp;nbsp; Under these circumstances, the buffering method must also ensure that&amp;nbsp;excessive current cannot flow in any of the interconnections - perhaps not exceeding 0.2 mA.&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>Mon, 31 Dec 2007 11:58:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Different-supply-voltage-MC9S08AW16/m-p/175659#M12209</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-12-31T11:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Different supply voltage</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Different-supply-voltage-MC9S08AW16/m-p/175660#M12210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello Mac,&lt;BR /&gt;&lt;BR /&gt;Thanks for you reply. I thought it, but i was not sure, becouse between absolute maximum ratings is&lt;BR /&gt;Digital I/O Input Voltage: -0,3 to 6,5V, what confust me.&lt;BR /&gt;&lt;BR /&gt;Thanks and Happy New Year &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;mimco&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 17:56:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Different-supply-voltage-MC9S08AW16/m-p/175660#M12210</guid>
      <dc:creator>mimco</dc:creator>
      <dc:date>2007-12-31T17:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Different supply voltage</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Different-supply-voltage-MC9S08AW16/m-p/175661#M12211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi mimco,&lt;BR /&gt;&lt;BR /&gt;Take a look at AN2433 for more details on this subject. (put AN2433 in the keyword search at top left).&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2008 05:53:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Different-supply-voltage-MC9S08AW16/m-p/175661#M12211</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2008-01-02T05:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Different supply voltage -  MC9S08AW16</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Different-supply-voltage-MC9S08AW16/m-p/175662#M12212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;You could always use something like the Maxim MAX3390E.&lt;BR /&gt;&lt;BR /&gt;It can work as an SPI level translator.&lt;BR /&gt;&lt;BR /&gt;uCTechnoGeek&lt;I&gt;&lt;BR /&gt;&lt;/I&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2008 12:00:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Different-supply-voltage-MC9S08AW16/m-p/175662#M12212</guid>
      <dc:creator>UcTechnoGeek</dc:creator>
      <dc:date>2008-01-02T12:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Different supply voltage -  MC9S08AW16</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Different-supply-voltage-MC9S08AW16/m-p/175663#M12213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have look at AN2433 and other contributions in forum about SPI. I would like try IC max3390 or max3377 (NE64 is a master and aw16 is a slave). But in my country (Slovakia) is not a distributor, that would deliver this IC's. I can try ask for samples.&lt;BR /&gt;&lt;BR /&gt;Other solution is a supply also AW16 with 3V (AW16 has VCCmin=2,7V) or use GT16A, but i don't know whether has a AW16 different requirements on crystal with supply voltage 5 and 3V. I would use 8MHz crystal. On the board with AW16 is a power H bridge (compound of 4 STD35nf3LL NMOS transistors) to drive BDC motor with encoder. Encoder works with supply voltage 5V, so i must use resistive voltage divider to cut-down voltage from 5 to 3V.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Regards mimco&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Jan 2008 19:16:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Different-supply-voltage-MC9S08AW16/m-p/175663#M12213</guid>
      <dc:creator>mimco</dc:creator>
      <dc:date>2008-01-05T19:16:27Z</dc:date>
    </item>
  </channel>
</rss>

