<?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>8-bit MicrocontrollersのトピックI apologize for the spelling mistakes  I meant data sheets of course</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S-O-S-timer-sharing-error/m-p/135778#M4126</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jun 2007 17:49:32 GMT</pubDate>
    <dc:creator>rm</dc:creator>
    <dc:date>2007-06-05T17:49:32Z</dc:date>
    <item>
      <title>S.O.S! timer sharing error</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S-O-S-timer-sharing-error/m-p/135777#M4125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I have a project using MC9S08AW16, which has 2 timers one of 6 channels and other of 2 channels. I've been trying to set 4 diffrent pwm use divices (three of which use same period settings) and a timer interrupt with no use. Are there sharing limitations I need to know of?&amp;nbsp;does&amp;nbsp;centered alinged mode use all output pins as pwm? does edged alinged mode force all other channels to be only output or input mode with out another pwm option?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I would appriciate any reply, the data **bleep**s are not helpful.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 00:11:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S-O-S-timer-sharing-error/m-p/135777#M4125</guid>
      <dc:creator>rm</dc:creator>
      <dc:date>2007-06-05T00:11:17Z</dc:date>
    </item>
    <item>
      <title>I apologize for the spelling mistakes  I meant data sheets of course</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S-O-S-timer-sharing-error/m-p/135778#M4126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 17:49:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S-O-S-timer-sharing-error/m-p/135778#M4126</guid>
      <dc:creator>rm</dc:creator>
      <dc:date>2007-06-05T17:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: S.O.S! timer sharing error</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S-O-S-timer-sharing-error/m-p/135779#M4127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;rm,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; The modules are independent, you have 2 of them one has 2 channels and the other one has 6 channels. all of the channels in a module can be configured for separate modes,&lt;BR /&gt;"Each channel may be input capture, output compare, or buffered edge-aligned PWM"&lt;BR /&gt;&lt;BR /&gt;- except for the center aligned PWM mode, which will place all channels into that mode.&lt;BR /&gt;"A control bit in each TPM configures all channels in that timer to operate as center-aligned PWM functions."&lt;BR /&gt;"Each TPM may be configured for buffered, center-aligned pulse-width modulation (CPWM) on all&lt;BR /&gt;channels"&lt;BR /&gt;&lt;BR /&gt;As far as I understood your application, you need to:&lt;BR /&gt;- configure the second timer that has 6 channels for use with the 3 PWM lines that use the same period&lt;BR /&gt;- configure the first timer that has 2 lines&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Edge aligned mode can be set to some channels, so others can be set to output compare. You might need to enable Slew rate for the edge aligned channels. I found it to be sort of "noisy"&lt;BR /&gt;&lt;BR /&gt;I created an applicatin once that used two channels to output a PWM, and two channels to record the PWM.&lt;BR /&gt;&lt;BR /&gt;p.s. Using interrupts for the recording is easier than using polling (I think) I will post the code if I find it, it was a while ago.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by Andrey on &lt;SPAN class="date_text"&gt;2007-06-06&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;03:35 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 21:33:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S-O-S-timer-sharing-error/m-p/135779#M4127</guid>
      <dc:creator>Andrey</dc:creator>
      <dc:date>2007-06-06T21:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: S.O.S! timer sharing error</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S-O-S-timer-sharing-error/m-p/135780#M4128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;I found the code, we did the project back in college&lt;BR /&gt;&lt;BR /&gt;Pages 5,6,7,8 talk about the TPM part&lt;BR /&gt;&lt;BR /&gt;Last pages have a flow chart for the TPM functionality&lt;BR /&gt;&lt;BR /&gt;page 16 has source code for the controller we used HC9S08GB60 demo board&lt;BR /&gt;&lt;A href="http://home.comcast.net/%7Estarwreck/FinalReport.pdf" rel="nofollow" target="_blank"&gt;&lt;BR /&gt;http://home.comcast.net/~starwreck/FinalReport.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Let me know if you have problems reading the code, it was our first real take at microcontrollers.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Alban Edit: link highlight&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by Alban on &lt;SPAN class="date_text"&gt;2007-06-06&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;08:22 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 21:45:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S-O-S-timer-sharing-error/m-p/135780#M4128</guid>
      <dc:creator>Andrey</dc:creator>
      <dc:date>2007-06-06T21:45:56Z</dc:date>
    </item>
  </channel>
</rss>

