<?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: Parallel Port on 9S08AW60 in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Parallel-Port-on-9S08AW60/m-p/136286#M4299</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I think it's Bus/3 or Bus/4&lt;BR /&gt;The C line would be PORTB ^= PORTB;&lt;BR /&gt;You can toggle up to Bus/2 for a TIMER.&lt;BR /&gt;&lt;BR /&gt;Alban.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2007 18:54:16 GMT</pubDate>
    <dc:creator>Alban</dc:creator>
    <dc:date>2007-06-08T18:54:16Z</dc:date>
    <item>
      <title>Parallel Port on 9S08AW60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Parallel-Port-on-9S08AW60/m-p/136285#M4298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I am currently running a 9S08AW60 at 40MHz (20MHz Bus speed). What is the fastest rate at which I can toggle one of the PORT pins?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Cheers&lt;/DIV&gt;&lt;DIV&gt;Sean&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 17:14:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Parallel-Port-on-9S08AW60/m-p/136285#M4298</guid>
      <dc:creator>seanmac</dc:creator>
      <dc:date>2007-06-08T17:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Port on 9S08AW60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Parallel-Port-on-9S08AW60/m-p/136286#M4299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I think it's Bus/3 or Bus/4&lt;BR /&gt;The C line would be PORTB ^= PORTB;&lt;BR /&gt;You can toggle up to Bus/2 for a TIMER.&lt;BR /&gt;&lt;BR /&gt;Alban.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 18:54:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Parallel-Port-on-9S08AW60/m-p/136286#M4299</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2007-06-08T18:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Port on 9S08AW60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Parallel-Port-on-9S08AW60/m-p/136287#M4300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;The question needs further qualification before a realistic answer can be given.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Programmatically?&lt;/DIV&gt;&lt;DIV&gt;Only one pin of a port.&lt;/DIV&gt;&lt;DIV&gt;Using a module (timer)&lt;/DIV&gt;&lt;DIV&gt;COP enabled&lt;/DIV&gt;&lt;DIV&gt;etc&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 19:08:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Parallel-Port-on-9S08AW60/m-p/136287#M4300</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2007-06-08T19:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Port on 9S08AW60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Parallel-Port-on-9S08AW60/m-p/136288#M4301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Well, yes I would tend to agree.&lt;BR /&gt;But on the other hand, an open question means you can answer pretty much what you want.&lt;BR /&gt;For instance when PORT was mentioned, I biased my answer to suggest the TIMER.&lt;BR /&gt;&lt;BR /&gt;Give it a go Peg, it's my training for politics &lt;IMG alt=":smileytongue:" class="emoticon emoticon-smileytongue" id="smileytongue" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-tongue.gif" title="Smiley Tongue" /&gt;&lt;BR /&gt;&lt;BR /&gt;I would push even further. On devices with ECLK available, it is possible to output exactly the bus speed.&lt;BR /&gt;&lt;BR /&gt;Oh, and if you use the SCI, the maximum is Bus Speed/16. This is because the bits are sampled 16 times to make up the fact that no clock signal is available on SCI lines.&lt;BR /&gt;&lt;BR /&gt;My answers are now: Bus; Bus/2; Bus/4 and Bus/16.&lt;BR /&gt;The COP would be nasty in my previous C code suggested at it would also make the RESET pin toggle.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Alban. {I'm in week end}&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 22:58:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Parallel-Port-on-9S08AW60/m-p/136288#M4301</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2007-06-08T22:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Port on 9S08AW60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Parallel-Port-on-9S08AW60/m-p/136289#M4302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Alban,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I did actually give this some thought, but came up with so many ideas with so many limitations blah blah.&lt;/DIV&gt;&lt;DIV&gt;In the end I gave up.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If use a pin set to GPIO and then need to drive from programme, BSET uses too many cycles.&lt;/DIV&gt;&lt;DIV&gt;ROL etc are fast but affect all the pins in the port. But this wasn't excluded in the contest spec.&lt;/DIV&gt;&lt;DIV&gt;You could set the SPI to buss/2 then write rubbish to SCID. This gives a bit of time to handle a COP etc&lt;/DIV&gt;&lt;DIV&gt;Maybe qualifies for programmatically as well?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Whooo getting head spins again, I give up.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jun 2007 15:37:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Parallel-Port-on-9S08AW60/m-p/136289#M4302</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2007-06-09T15:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Port on 9S08AW60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Parallel-Port-on-9S08AW60/m-p/136290#M4303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I had to do this once on an older 705 chip via my code, to drive a sonar transducer for several cycles. I think it went something like:&lt;BR /&gt;lda #%00000001&lt;BR /&gt;clrx&lt;BR /&gt;sta porta&lt;BR /&gt;stx porta&lt;BR /&gt;sta porta&lt;BR /&gt;stx porta&lt;BR /&gt;... etc for as many cycles as I needed (which weren't that many)&lt;BR /&gt;My busclk was the right speed to match the transducer.&lt;BR /&gt;&lt;BR /&gt;Anyway, for this chip if you did it this way you could get 3.33MHz out of a pin. For a short while at least.&lt;BR /&gt;&lt;BR /&gt;I believe this is the fastest way you can do it programmatically.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jun 2007 21:08:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Parallel-Port-on-9S08AW60/m-p/136290#M4303</guid>
      <dc:creator>Wings</dc:creator>
      <dc:date>2007-06-10T21:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Port on 9S08AW60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Parallel-Port-on-9S08AW60/m-p/136291#M4304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello,&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 uncontrolled, continuous output using&amp;nbsp;a TPM, I would suspect that the maximum toggle rate is once per bus cycle, giving an output&amp;nbsp;frequency of fbus/2.&amp;nbsp; Set up&amp;nbsp;a TPM2 channel for edge aligned PWM, with TPM2MOD = 0x0001, and the timer channel value also set to 0x0001.&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;Once operational, no software interventions would be required.&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, 11 Jun 2007 02:40:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Parallel-Port-on-9S08AW60/m-p/136291#M4304</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-06-11T02:40:25Z</dc:date>
    </item>
  </channel>
</rss>

