<?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: MC908QB8 board design questions in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC908QB8-board-design-questions/m-p/139632#M5407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;UcTechnoGeek (and all),&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;First of all thanks for your comments.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The problem is not only about the price, it is more about the package type and pin count. I'm looking for a small DIP uC (say DIP16) that has SCI,&amp;nbsp;SPI, does not need external crystal and has some I/O pins (price should be&amp;nbsp;less than&amp;nbsp;$2.00)...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In these conditions the best solutions I came up with are the MC908QB8 and the MC9S08QG8. If the MC9S08QG8 was a 5V&amp;nbsp;uC I would chose it with no second thoughts but putting the uC at 3.3V and the rest of the electronics at 5V is a little risky and I would need to use open-collector buffers in all output pins for voltage level conversion... (Don't know if there is a better way to do it though...).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I also need to store a few bytes in non-volatile memory so the feature of using the internal Flash for non-volatile user data storage is very handy. This way I will not need&amp;nbsp;a serial EEPROM to store a few bytes.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My main problem is obviously lack of knowledge on how to correctly use the MON08 and spare the I/O pins as much as possible.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In other threads I found some information regarding a small software&amp;nbsp;routine to erase the vector address and perform a mass erase triggered by a&amp;nbsp;logic value in on of the I/O pins after the POR (Pull-Down in /IRQ).&amp;nbsp;I think this is a good idea for pin saving since the forced monitor mode entry will than be possible&amp;nbsp;(Only the PTA0 will be necessary). The thing is that for debug purposes the pins really need to be tied to MON08 (say for example with the Cyclone Pro and Metrowerks&amp;nbsp;to make step-by-step&amp;nbsp;debug?)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I will be waiting for your comments and suggestions.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Best regards to all,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Andre&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jul 2007 16:48:44 GMT</pubDate>
    <dc:creator>Andre_PT</dc:creator>
    <dc:date>2007-07-12T16:48:44Z</dc:date>
    <item>
      <title>MC908QB8 board design questions</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC908QB8-board-design-questions/m-p/139629#M5404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi all,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm new with the HC08 and its MON08 programming interface. Normally I work with the HC12 (BDM).&lt;/DIV&gt;&lt;DIV&gt;Thing is that I need to design a new board with the MC908QB8 (16 pin) and looking at the MON08 interface, it seams that 6 pins of the MCU will be used for the MON08 interface... I need to use those pins for the application so my questions are:&lt;/DIV&gt;&lt;DIV&gt;1) What is the best way to program/debug the MC908GB8 without loosing the MON08 6 pins of the MCU?&lt;/DIV&gt;&lt;DIV&gt;2) Is it possible to continuing to use all the MCU pins for application purposes instead of MON08 interface without using additional signal switching hardware?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It's a pity that the MC9S08QG8 is low voltage... &lt;SPAN aria-label="Wink" class="emoticon-inline emoticon_wink" style="height:16px;width:16px;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance for your comments,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Andre&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 01:07:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC908QB8-board-design-questions/m-p/139629#M5404</guid>
      <dc:creator>Andre_PT</dc:creator>
      <dc:date>2007-07-11T01:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: MC908QB8 board design questions</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC908QB8-board-design-questions/m-p/139630#M5405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Andre,&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;There are two separate issues here - in-circuit programming and debug.&amp;nbsp; The programming will be more staight forward.&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;For in-circuit programming, the six pins, PTA0 to PTA5 associated with MON08 should&amp;nbsp;present&amp;nbsp;a sufficiently high impedance (say 10k)&amp;nbsp;to the programming device, or should be capable of being isolated, perhaps by means of jumper or switch,&amp;nbsp;from external circuitry that presents a low impedance.&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;An additional consideration applies to PTA2 - whatever is connected to that pin must also&amp;nbsp;be able to withstand the higher&amp;nbsp;programming voltage applied to the pin by the programmer.&amp;nbsp; Also the programmer will apply a high frequency clock to PTA5, so the external capacitance at this pin must be low, or isolated with a series resistance.&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;Note that, if the external circuitry causes the power-up state of PTA1 and PTA3 to be high, and PTA4 to be low, these connections need not be extended to the MON08 connection.&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;Personally, I do not like using the standard 16-way header arrangement for MON08 - it would seem to make the MCU more susceptible to damage by static discharge, etc because of the exposed header pins.&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;Debug presents a different situation since control over four of the pins must be maintained by the MON08 device, and are therefore not available to the application during debug.&amp;nbsp; For serious debug capability, you would need to use an ICE.&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;Interestingly, AN2305 describes a "user mode monitor" for QT and QY devices that permits debug using a single dedicated pin (no high voltage and no external oscillator required).&amp;nbsp; However, this concept has not been extended to the QB device.&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>Wed, 11 Jul 2007 11:50:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC908QB8-board-design-questions/m-p/139630#M5405</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-07-11T11:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: MC908QB8 board design questions</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC908QB8-board-design-questions/m-p/139631#M5406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;If you can spend the extra $0.50, I'd go with the 9S08AW16.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It's uses the S08 core, so more than likely, your HCS12 tools will work on it as well.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The 9S08AW family works at the higher 5.0V.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;uCTechnoGeek&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 00:31:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC908QB8-board-design-questions/m-p/139631#M5406</guid>
      <dc:creator>UcTechnoGeek</dc:creator>
      <dc:date>2007-07-12T00:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: MC908QB8 board design questions</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC908QB8-board-design-questions/m-p/139632#M5407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;UcTechnoGeek (and all),&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;First of all thanks for your comments.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The problem is not only about the price, it is more about the package type and pin count. I'm looking for a small DIP uC (say DIP16) that has SCI,&amp;nbsp;SPI, does not need external crystal and has some I/O pins (price should be&amp;nbsp;less than&amp;nbsp;$2.00)...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In these conditions the best solutions I came up with are the MC908QB8 and the MC9S08QG8. If the MC9S08QG8 was a 5V&amp;nbsp;uC I would chose it with no second thoughts but putting the uC at 3.3V and the rest of the electronics at 5V is a little risky and I would need to use open-collector buffers in all output pins for voltage level conversion... (Don't know if there is a better way to do it though...).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I also need to store a few bytes in non-volatile memory so the feature of using the internal Flash for non-volatile user data storage is very handy. This way I will not need&amp;nbsp;a serial EEPROM to store a few bytes.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My main problem is obviously lack of knowledge on how to correctly use the MON08 and spare the I/O pins as much as possible.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In other threads I found some information regarding a small software&amp;nbsp;routine to erase the vector address and perform a mass erase triggered by a&amp;nbsp;logic value in on of the I/O pins after the POR (Pull-Down in /IRQ).&amp;nbsp;I think this is a good idea for pin saving since the forced monitor mode entry will than be possible&amp;nbsp;(Only the PTA0 will be necessary). The thing is that for debug purposes the pins really need to be tied to MON08 (say for example with the Cyclone Pro and Metrowerks&amp;nbsp;to make step-by-step&amp;nbsp;debug?)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I will be waiting for your comments and suggestions.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Best regards to all,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Andre&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 16:48:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC908QB8-board-design-questions/m-p/139632#M5407</guid>
      <dc:creator>Andre_PT</dc:creator>
      <dc:date>2007-07-12T16:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: MC908QB8 board design questions</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC908QB8-board-design-questions/m-p/139633#M5408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Andre,&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;What peripherals does your application really require?&amp;nbsp; If you do not&amp;nbsp;need the SCI facility, you may be able to alternatively use the QY4A device.&amp;nbsp; You could then implement the code to allow user mode monitor access,&amp;nbsp;to obtain&amp;nbsp;the simpler debug arrangement.&amp;nbsp; This would then require only the PTA0 connection to be&amp;nbsp;continuously available during debug operation.&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;The user monitor requires a small amount of code to be interleaved&amp;nbsp;at the highest flash page, and would be programmed there, along with your application code, using the Multilink or Cyclone Pro device in a conventional manner.&amp;nbsp; The full MON08 arrangement would still be required for programming.&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;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by bigmac on &lt;SPAN class="date_text"&gt;2007-07-12&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;08:36 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 17:33:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC908QB8-board-design-questions/m-p/139633#M5408</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-07-12T17:33:44Z</dc:date>
    </item>
  </channel>
</rss>

