<?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: working with pwm channels - mc9s08sh32 in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/working-with-pwm-channels-mc9s08sh32/m-p/181716#M472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as I wrote before. Could you please post here your project? Please note that it will significantly reduce my time on your issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Vojtech Filip&lt;BR /&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Nov 2011 23:05:00 GMT</pubDate>
    <dc:creator>ProcessorExpert</dc:creator>
    <dc:date>2011-11-21T23:05:00Z</dc:date>
    <item>
      <title>working with pwm channels - mc9s08sh32</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/working-with-pwm-channels-mc9s08sh32/m-p/181713#M469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm working on MCU - mc9s08sh32 and I&amp;nbsp;want to operate&amp;nbsp;3 pwm channels - PTA6_TPM2CH0, PTB5_TPM1CH1, PTA7_TPM2CH1.&lt;/P&gt;&lt;P&gt;My problem is with the first and last channels ( PTA6 + PTA7 ) - they have a shared counter (TPM2) and I&amp;nbsp;don't really&amp;nbsp;know how to control their pwm ratio. When I enable both of them - each with different pwm ratios - one of them is off and sometimes&amp;nbsp;there is some pwm ratio but I don't know how to predict it.&lt;/P&gt;&lt;P&gt;Does anybody have an idea what to do?&lt;/P&gt;&lt;P&gt;Does anybody have a sample project with these pwm channels?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;shany&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 23:34:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/working-with-pwm-channels-mc9s08sh32/m-p/181713#M469</guid>
      <dc:creator>shany</dc:creator>
      <dc:date>2011-11-10T23:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: working with pwm channels - mc9s08sh32</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/working-with-pwm-channels-mc9s08sh32/m-p/181714#M470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not aware of such issue with PWM component. However could you please share here your project including more detailed description.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Vojtech Filip&lt;BR /&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 00:34:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/working-with-pwm-channels-mc9s08sh32/m-p/181714#M470</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2011-11-11T00:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: working with pwm channels - mc9s08sh32</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/working-with-pwm-channels-mc9s08sh32/m-p/181715#M471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Here's a more detailed description of my problem -&lt;/P&gt;&lt;P&gt;When I try to activate all 3 pwm channels on 100% ratio&amp;nbsp;- the code is :&lt;/P&gt;&lt;P&gt;pwm1_SetRatio8(0);&lt;BR /&gt;pwm2_SetRatio8 (0);&lt;BR /&gt;pwm3_SetRatio8 (0);&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;pwm1_Enable();&lt;BR /&gt;&amp;nbsp;pwm2_Enable();&lt;BR /&gt;&amp;nbsp;pwm3_Enable();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;however, the outcome is sometimes correct - meaning that all 3 pwm channels are on 100% ratio, and&amp;nbsp;in other times the outcome is that only pwm1+2 are on 100% ratio while pwm3 is off completely &amp;nbsp;(pwm2 + 3 are the ones with the shared counter, as I mentioned in the previous message).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another problem - when I perform &amp;nbsp;the following code -&lt;/P&gt;&lt;P&gt;pwm1_SetRatio8(255);&lt;BR /&gt;pwm2_SetRatio8 (25);&lt;BR /&gt;&amp;nbsp;pwm3_SetRatio8 (200);&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;pwm1_Disable();&lt;/P&gt;&lt;P&gt;pwm2_Enable();&lt;BR /&gt;pwm3_Enable();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;again, the outcome is sometimes correct and&amp;nbsp;in other times&amp;nbsp;pwm2 + pwm 3 are on 100% and not in the required&amp;nbsp;pulse ratio.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope&amp;nbsp;there are&amp;nbsp;enough details here... please tell me if you need&amp;nbsp;further information.&lt;/P&gt;&lt;P&gt;Thanks alot,&lt;/P&gt;&lt;P&gt;Shany&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Nov 2011 13:48:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/working-with-pwm-channels-mc9s08sh32/m-p/181715#M471</guid>
      <dc:creator>shany</dc:creator>
      <dc:date>2011-11-13T13:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: working with pwm channels - mc9s08sh32</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/working-with-pwm-channels-mc9s08sh32/m-p/181716#M472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as I wrote before. Could you please post here your project? Please note that it will significantly reduce my time on your issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Vojtech Filip&lt;BR /&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 23:05:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/working-with-pwm-channels-mc9s08sh32/m-p/181716#M472</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2011-11-21T23:05:00Z</dc:date>
    </item>
  </channel>
</rss>

