<?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: HCS08 : 3.3v MCU and 5v logic ? in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-3-3v-MCU-and-5v-logic/m-p/135164#M3962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT size="2"&gt;Hello Toussaint,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Provided you don't need a lot of speed, the use of open drain N-channel MOSFETs might be suitable.&amp;nbsp; The MOSFET type should be capable of switching&amp;nbsp;with 3V logic levels at its gate&amp;nbsp;(and&amp;nbsp;would also suitable for 5V levels).&amp;nbsp; The drain&amp;nbsp;would connect to the logic input, and &amp;nbsp;would also require a suitable pull-up resistor to either 3V or 5V, depending on the conversion direction.&amp;nbsp; The resistor value will depend to some extent on the speed you require.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Of course&amp;nbsp;your code will need to allow for inverted polarity through the device.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;An alternative to the MOSFET could be the use of bi-polar NPN transistors, but these would need an additional resistor in series with the base.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Regards,&lt;BR /&gt;Mac&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 May 2006 14:43:40 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2006-05-09T14:43:40Z</dc:date>
    <item>
      <title>HCS08 : 3.3v MCU and 5v logic ?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-3-3v-MCU-and-5v-logic/m-p/135160#M3958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm a brand new user of HCS08 family (HCS08QG8). This MCU is running at 3.3v, and I have no experience about how to connect 5v peripherals. I was previously using HC11 at 5v.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I read lots of things about 5v-tolerant inputs, direct-driving of 5v inputs from 3.3v outputs, and various level converters (74LVC, 74ALVT, etc...) As I'm completely novice with 3.3v logic, could someone point me out some kind of tutorial or 3.3v beginner's guide in relation with HCS08 MCU ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, are there anny Application Notes about that ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Toussaint OTTAVI&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 19:59:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-3-3v-MCU-and-5v-logic/m-p/135160#M3958</guid>
      <dc:creator>BC109</dc:creator>
      <dc:date>2006-05-08T19:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 : 3.3v MCU and 5v logic ?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-3-3v-MCU-and-5v-logic/m-p/135161#M3959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;BC 109 wrote:&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I'm a brand new user of HCS08 family (HCS08QG8). This MCU is running at 3.3v, and I have no experience about how to connect 5v peripherals. I was previously using HC11 at 5v.&lt;BR /&gt;&lt;BR /&gt;I read lots of things about 5v-tolerant inputs, direct-driving of 5v inputs from 3.3v outputs, and various level converters (74LVC, 74ALVT, etc...) As I'm completely novice with 3.3v logic, could someone point me out some kind of tutorial or 3.3v beginner's guide in relation with HCS08 MCU ?&lt;BR /&gt;&lt;BR /&gt;Also, are there anny Application Notes about that ?&lt;BR /&gt;&lt;BR /&gt;Thank you in advance,&lt;BR /&gt;Toussaint OTTAVI&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good morning.&lt;BR /&gt;Although Freescale makes some 3.3V devices which are 5V tolerant on some I/Os the 9S08QG family isn't amoung them. If you must use this device with 5V peripherals you will need to use appropriate level conversion circuitry.&lt;BR /&gt;Sorry, I'm not aware of any tutorials on the use of 3.3V logic but a google search might turn up some.&lt;BR /&gt;ron&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 20:30:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-3-3v-MCU-and-5v-logic/m-p/135161#M3959</guid>
      <dc:creator>glork</dc:creator>
      <dc:date>2006-05-08T20:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 : 3.3v MCU and 5v logic ?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-3-3v-MCU-and-5v-logic/m-p/135162#M3960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello, Toussaint:&lt;BR /&gt;&lt;BR /&gt;Welcome to the world of mixed voltages. I avoided 3 volts for years, because of the very issues you express now. I finally had to take the plunge when Motorola discontinues the DSP56002, and replaced it with the 3 volt DSP56303. But at least the DSP56303 had many 5 volt-tolerant I/Os.&lt;BR /&gt;&lt;BR /&gt;Here are two tricks that I learned:&lt;BR /&gt;You can use 74HCTxxx parts as buffers to turn 3 volt outputs into 5 volt outputs. The 74HCT parts use TTL-level input thresholds, which are near 2 volts for the minimum high state, and 3 volts outputs can satisfy that threshold.&lt;BR /&gt;&lt;BR /&gt;Terminating resistor packs, often used in SCSI systems, make excellent voltage divides. Specifically, the packs that contain 220ohm/330ohm pairs. 5 volts in becomes 3 volts out. A disadvantage is that it puts a hefty (550ohm) load on the 5 volt output, and it will increase propagation delay if the 3 volt input has a capacitive component.&lt;BR /&gt;&lt;BR /&gt;Then again, there are chips designed specifically for your problem.&lt;BR /&gt;&lt;BR /&gt;The simplest approach, though not always feasible, it to switch everything over to 3 volts.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2006 04:42:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-3-3v-MCU-and-5v-logic/m-p/135162#M3960</guid>
      <dc:creator>rocco</dc:creator>
      <dc:date>2006-05-09T04:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 : 3.3v MCU and 5v logic ?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-3-3v-MCU-and-5v-logic/m-p/135163#M3961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi there, BC 109. I had the same problem when faced with talking to some SD memory modules. As I remember, TI has a great app note on just this subject of voltage level shifting. I can't find my old notes now, but I sure remember the source because of my frustration at the time.&lt;BR /&gt;Regards, Bob&lt;BR /&gt;&lt;BR /&gt;PS, I have a "HAM" license and in the early 1950's I owned a Military radio out of a B17, the BC628. It used tubes (vacuum state) but worked quite well, as I remember.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2006 08:31:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-3-3v-MCU-and-5v-logic/m-p/135163#M3961</guid>
      <dc:creator>BobMac</dc:creator>
      <dc:date>2006-05-09T08:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 : 3.3v MCU and 5v logic ?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-3-3v-MCU-and-5v-logic/m-p/135164#M3962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT size="2"&gt;Hello Toussaint,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Provided you don't need a lot of speed, the use of open drain N-channel MOSFETs might be suitable.&amp;nbsp; The MOSFET type should be capable of switching&amp;nbsp;with 3V logic levels at its gate&amp;nbsp;(and&amp;nbsp;would also suitable for 5V levels).&amp;nbsp; The drain&amp;nbsp;would connect to the logic input, and &amp;nbsp;would also require a suitable pull-up resistor to either 3V or 5V, depending on the conversion direction.&amp;nbsp; The resistor value will depend to some extent on the speed you require.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Of course&amp;nbsp;your code will need to allow for inverted polarity through the device.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;An alternative to the MOSFET could be the use of bi-polar NPN transistors, but these would need an additional resistor in series with the base.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Regards,&lt;BR /&gt;Mac&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2006 14:43:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-3-3v-MCU-and-5v-logic/m-p/135164#M3962</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2006-05-09T14:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 : 3.3v MCU and 5v logic ?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-3-3v-MCU-and-5v-logic/m-p/135165#M3963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hi Toussaint,&lt;BR /&gt;&lt;BR /&gt;Please let me add my two cents worth.&lt;BR /&gt;There is &lt;STRONG&gt;&lt;A href="http://www.freescale.com/files/microcontrollers/doc/app_note/AN2433.pdf" rel="nofollow" target="_blank"&gt;AN2433 - 5V to 3V Considerations&lt;/A&gt;&lt;/STRONG&gt; that I could recommend reading.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Alvin. &lt;P&gt;&lt;FONT size="1"&gt;(Alban fixed link)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Message Edited by Alban on &lt;SPAN class="date_text"&gt;05-09-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;10:51 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2006 16:48:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-3-3v-MCU-and-5v-logic/m-p/135165#M3963</guid>
      <dc:creator>Nabla69</dc:creator>
      <dc:date>2006-05-09T16:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 : 3.3v MCU and 5v logic ?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-3-3v-MCU-and-5v-logic/m-p/135166#M3964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Guys - check out the MC9S08AW family of parts (16k to 60k flash) which are 1.8 to 5.5 volt operation.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;OK, a bit larger packages than the QG8. But fully featured. What will you do with those 2-off SCI UARTs?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Mark&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Message Edited by UK_CF_FAE on &lt;SPAN class="date_text"&gt;05-10-2006&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;03:15 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2006 03:14:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-3-3v-MCU-and-5v-logic/m-p/135166#M3964</guid>
      <dc:creator>UK_CF_FAE</dc:creator>
      <dc:date>2006-05-11T03:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 : 3.3v MCU and 5v logic ?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-3-3v-MCU-and-5v-logic/m-p/135167#M3965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Thank you everybody for the answers.&lt;BR /&gt;&lt;BR /&gt;Of course, the perfect MCU for me would be a QG8 with the 5v capability of the AW family, and with the 'HC11 full assembly language. Hey, Mr Freescale, could you build it for me ? :smileyhappy:&lt;BR /&gt;&lt;BR /&gt;It's only for small amateur applications, and in most of the cases, I will need very few I/O, that's why the QG8 PDIP package is perfect, because it avoids complex PCB design using high pin count devices.&lt;BR /&gt;&lt;BR /&gt;Thanks again for the help, I'll try to play around with it ASAP.&lt;BR /&gt;&lt;BR /&gt;Best regards from Corsica,&lt;BR /&gt;Toussaint&lt;BR /&gt;(ham radio, TK1BI)&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 May 2006 19:21:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-3-3v-MCU-and-5v-logic/m-p/135167#M3965</guid>
      <dc:creator>BC109</dc:creator>
      <dc:date>2006-05-21T19:21:15Z</dc:date>
    </item>
  </channel>
</rss>

