<?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: Cheap, simple, and BDM in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Cheap-simple-and-BDM/m-p/144107#M6759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thanks for the suggestion Bigmac, however, the 'input function' for the 8 bits I'm looking at is to find a 'first of many' and I need to be in a TIGHT loop to find it. I figure a 74HC240 as an input...&lt;BR /&gt;&lt;BR /&gt;What I'm doing is looking at 8 inputs, and when the first one is hit, turn on a coresponding output to acknowledge it. Then on a hot-reset, start looking again, but mask off the prior hit. Then hot-reset yet again and so on, each time building up the mask until all the inputs are triggered. Then I do a master reset to start from scratch.&lt;BR /&gt;&lt;BR /&gt;I figure 8 inputs/outputs, 2 switches for the resets, 2 control lines (1 to read a buffered input, the other to write a latched output, both from the 8-wide I/O bus), and serial I/O to report status as well as accept reset commands.&lt;BR /&gt;&lt;BR /&gt;Mike&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Feb 2007 03:00:26 GMT</pubDate>
    <dc:creator>mke_et</dc:creator>
    <dc:date>2007-02-02T03:00:26Z</dc:date>
    <item>
      <title>Cheap, simple, and BDM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Cheap-simple-and-BDM/m-p/144103#M6755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, I have a small 'favor' project I have to do for a Scout Troop. I figured I'd do it with an O8. My selection criteria of what I'm looking for includes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BDM support&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DIP package&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheap&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want BDM support, since I have a USB-BDM cable, and at least some of the 08 family parts support BDM. That will make it a no-brainer to get it up and running quickly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want it in a DIP package, since I'm making only one of them for now, and will be attacking this with a wirewrap tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want it Cheap, since this is a donation type thing, so I'm looking for what I can get as a free sample for a 1-up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, now that the important things are out of the way... I'll be using 1 serial com port, 8 inputs, and 8 outputs. If I have to, I can easily 'latch' the outputs on the same port as the inputs, and use an input buffer that is enabled and an output latch signal. I might also need two other inputs as switch inputs... But that may be later.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any recomendations as to which 08 part to use?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd use a 9S12 part, since I have a badge or two floating around somewhere, but I don't want to give that up and loose the badge!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2007 23:02:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Cheap-simple-and-BDM/m-p/144103#M6755</guid>
      <dc:creator>mke_et</dc:creator>
      <dc:date>2007-01-31T23:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cheap, simple, and BDM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Cheap-simple-and-BDM/m-p/144104#M6756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Mike&lt;BR /&gt;&lt;BR /&gt;If you can accept on a total of 14 pins + 2 for power) to use 2 pins for the serial communication TX/RX and having left 12 GPIO's; i would suggest the HCS08QG4/8 MPU.&lt;BR /&gt;(DIL case, with BDM)&lt;BR /&gt;&lt;BR /&gt;Saluti Joerg&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 00:21:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Cheap-simple-and-BDM/m-p/144104#M6756</guid>
      <dc:creator>joerg</dc:creator>
      <dc:date>2007-02-01T00:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cheap, simple, and BDM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Cheap-simple-and-BDM/m-p/144105#M6757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I agree with joerg. QG4/8 seem to fit the bill. If you want one notch up, GT8A/16A are good too. 42 pin DIP, still below $2.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 03:04:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Cheap-simple-and-BDM/m-p/144105#M6757</guid>
      <dc:creator>OldMan</dc:creator>
      <dc:date>2007-02-01T03:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cheap, simple, and BDM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Cheap-simple-and-BDM/m-p/144106#M6758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Mike,&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;If you want to stick with the 16-pin QG8 part, it may be&amp;nbsp;satisfactory to get the additional I/O you need by using a couple of HCMOS shift registers in conjunction with the SPI module of the MCU, provided you don't need instantaneous control.&amp;nbsp; I have previously used 74HC589 or 74HC597&amp;nbsp;device for parallel inputs, and 74HC595&amp;nbsp;for parallel outputs.&amp;nbsp; Multiple devices&amp;nbsp;can be cascaded if you need even more inputs&amp;nbsp;or outputs - the amount of I/O by this method&amp;nbsp;is independent of the number of pins on the MCU.&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;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 01:06:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Cheap-simple-and-BDM/m-p/144106#M6758</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-02-02T01:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Cheap, simple, and BDM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Cheap-simple-and-BDM/m-p/144107#M6759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thanks for the suggestion Bigmac, however, the 'input function' for the 8 bits I'm looking at is to find a 'first of many' and I need to be in a TIGHT loop to find it. I figure a 74HC240 as an input...&lt;BR /&gt;&lt;BR /&gt;What I'm doing is looking at 8 inputs, and when the first one is hit, turn on a coresponding output to acknowledge it. Then on a hot-reset, start looking again, but mask off the prior hit. Then hot-reset yet again and so on, each time building up the mask until all the inputs are triggered. Then I do a master reset to start from scratch.&lt;BR /&gt;&lt;BR /&gt;I figure 8 inputs/outputs, 2 switches for the resets, 2 control lines (1 to read a buffered input, the other to write a latched output, both from the 8-wide I/O bus), and serial I/O to report status as well as accept reset commands.&lt;BR /&gt;&lt;BR /&gt;Mike&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 03:00:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Cheap-simple-and-BDM/m-p/144107#M6759</guid>
      <dc:creator>mke_et</dc:creator>
      <dc:date>2007-02-02T03:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cheap, simple, and BDM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Cheap-simple-and-BDM/m-p/144108#M6760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Mike,&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;A difficulty with using the QG8 part in the manner you describe&amp;nbsp; - it has six pins available for PTA and eight pins for PTB, however, the SCI&amp;nbsp;module occupies PTB0 and PTB1.&amp;nbsp; This means that your eight&amp;nbsp;signal lines&amp;nbsp;will need to be shared between the two I/O ports.&amp;nbsp; You&amp;nbsp;will&amp;nbsp;probably&amp;nbsp;also need to forego the use of one of the signals, perhaps one of the resets, during the debug&amp;nbsp;process, via BDM (PTA4).&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>Sat, 03 Feb 2007 06:27:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Cheap-simple-and-BDM/m-p/144108#M6760</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-02-03T06:27:43Z</dc:date>
    </item>
  </channel>
</rss>

