<?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: Defineing multiple PWM componants on one TimmerUnit in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Defineing-multiple-PWM-componants-on-one-TimmerUnit/m-p/503711#M3871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The Enable/Disable methods of the PWM component cause enable/disable of the whole TPM device (timer). Therefore you cannot use these methods for shared timer of the TPM device. You must use methods that control the TPM channels (PWM channels) only. For example you can set duty to 0% or 100% to set the required level output level of the pin or you can disconnect the channel pin by clearing MSB, MSA, ELSB and ELSA bits of the TPMx_CnSC register. In this case you can use for example PDD macros:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;TPM_PDD_SelectChannelMode(TPM0_BASE_PTR, 0, TPM_PDD_OUTPUT_NONE);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;TPM_PDD_SelectChannelEdgeLevel(TPM0_BASE_PTR, 0, TPM_PDD_EDGE_NONE);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Feb 2016 13:21:28 GMT</pubDate>
    <dc:creator>marek_neuzil</dc:creator>
    <dc:date>2016-02-12T13:21:28Z</dc:date>
    <item>
      <title>Defineing multiple PWM componants on one TimmerUnit</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Defineing-multiple-PWM-componants-on-one-TimmerUnit/m-p/503710#M3870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using the PE on the KDS 3.0.0 and kl25z128.&lt;/P&gt;&lt;P&gt;What I want to do is to define multiple PWM components on one TimerUnit(TPM) using its channels.&lt;/P&gt;&lt;P&gt;When I use the PE to define the PWM is gives me a warning saying that the enable function of one PWM component may affect the others that are defined on the same TimerUnit.&lt;/P&gt;&lt;P&gt;I ran code and that exactly what heppened. When I enabled one of the PWM the others strted to work also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to use each channel of the TimerUnit separately?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Avner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 12:41:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Defineing-multiple-PWM-componants-on-one-TimmerUnit/m-p/503710#M3870</guid>
      <dc:creator>avnergidron</dc:creator>
      <dc:date>2016-02-11T12:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Defineing multiple PWM componants on one TimmerUnit</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Defineing-multiple-PWM-componants-on-one-TimmerUnit/m-p/503711#M3871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The Enable/Disable methods of the PWM component cause enable/disable of the whole TPM device (timer). Therefore you cannot use these methods for shared timer of the TPM device. You must use methods that control the TPM channels (PWM channels) only. For example you can set duty to 0% or 100% to set the required level output level of the pin or you can disconnect the channel pin by clearing MSB, MSA, ELSB and ELSA bits of the TPMx_CnSC register. In this case you can use for example PDD macros:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;TPM_PDD_SelectChannelMode(TPM0_BASE_PTR, 0, TPM_PDD_OUTPUT_NONE);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;TPM_PDD_SelectChannelEdgeLevel(TPM0_BASE_PTR, 0, TPM_PDD_EDGE_NONE);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 13:21:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Defineing-multiple-PWM-componants-on-one-TimmerUnit/m-p/503711#M3871</guid>
      <dc:creator>marek_neuzil</dc:creator>
      <dc:date>2016-02-12T13:21:28Z</dc:date>
    </item>
  </channel>
</rss>

