<?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 Bug Report CW11.1 56F8322 PWMC1 in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Bug-Report-CW11-1-56F8322-PWMC1/m-p/1605363#M5483</link>
    <description>&lt;P&gt;PWMC1_SetRatio15 calculates the set edge value using SM0 for ALL channels (including SM1, SM2 channels). Should be using SM1_INIT and _VAL1 for channels 2,3 and SM2_INIT, _VAL1 for channels 4,5.&lt;/P&gt;&lt;P&gt;register word SetEdgeReg = (word)((((Int32)getReg16(PWM_SM0_VAL1) - (Int16)getReg16(PWM_SM0_INIT) + 0x01) * (Int32)Ratio) / 0x7FFFU); /* Store value to the set duty register */&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2023 15:53:41 GMT</pubDate>
    <dc:creator>jjt</dc:creator>
    <dc:date>2023-02-24T15:53:41Z</dc:date>
    <item>
      <title>Bug Report CW11.1 56F8322 PWMC1</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Bug-Report-CW11-1-56F8322-PWMC1/m-p/1605363#M5483</link>
      <description>&lt;P&gt;PWMC1_SetRatio15 calculates the set edge value using SM0 for ALL channels (including SM1, SM2 channels). Should be using SM1_INIT and _VAL1 for channels 2,3 and SM2_INIT, _VAL1 for channels 4,5.&lt;/P&gt;&lt;P&gt;register word SetEdgeReg = (word)((((Int32)getReg16(PWM_SM0_VAL1) - (Int16)getReg16(PWM_SM0_INIT) + 0x01) * (Int32)Ratio) / 0x7FFFU); /* Store value to the set duty register */&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 15:53:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Bug-Report-CW11-1-56F8322-PWMC1/m-p/1605363#M5483</guid>
      <dc:creator>jjt</dc:creator>
      <dc:date>2023-02-24T15:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Bug Report CW11.1 56F8322 PWMC1</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Bug-Report-CW11-1-56F8322-PWMC1/m-p/1605385#M5485</link>
      <description>&lt;P&gt;Digging further it appears SM1 is initialized by eFlexPWM to share SM0's clock.&lt;/P&gt;&lt;P&gt;Where's the best source of direction for the eFlexPWM and PWMC1 for Processor Expert for DSC 56F8256?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 16:27:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Bug-Report-CW11-1-56F8322-PWMC1/m-p/1605385#M5485</guid>
      <dc:creator>jjt</dc:creator>
      <dc:date>2023-02-24T16:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Bug Report CW11.1 56F8322 PWMC1</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Bug-Report-CW11-1-56F8322-PWMC1/m-p/1605811#M5486</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Each eFlexPWM sub-module has PWM_SMnCTRL2, in the register, the CLK_SEL bits select the clock source. For the SM0 module, the CLK_SEL can select the IPBUS clock or EXT_CLK clock, the clock can be divided by the PRSC bits in PWM_SM0CTRL register and get the clock of the SM0.&lt;/P&gt;
&lt;P&gt;For the other sub-module except SM0,they can select the Submodule 0’s clock (AUX_CLK) with CLK_SEL bits as 2b'10, in this way, all the other sub-module will use the SM0 clock which has been divided by the the PRSC bits in PWM_SM0CTRL register, so all the sub-module of eFlexPWM will be driven by the same clock.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1677477930898.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/212421iE5B589AFC98184A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1677477930898.png" alt="xiangjun_rong_0-1677477930898.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 06:13:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Bug-Report-CW11-1-56F8322-PWMC1/m-p/1605811#M5486</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-02-27T06:13:38Z</dc:date>
    </item>
  </channel>
</rss>

