<?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 Synchronizing eFlexPWM Submodules (PWMA0, PWMA1, PWMB1, PWMB2) on MC56F84789 in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Synchronizing-eFlexPWM-Submodules-PWMA0-PWMA1-PWMB1-PWMB2-on/m-p/2266374#M16129</link>
    <description>&lt;P&gt;I am using the &lt;STRONG&gt;MC56F84789&lt;/STRONG&gt; DSC and I need to synchronize the outputs &lt;STRONG&gt;PWMA0, PWMA1, PWMB1, and PWMB2&lt;/STRONG&gt; so they start at the exact same clock cycle without any delay.&lt;/P&gt;&lt;P&gt;I am using &lt;STRONG&gt;CodeWarrior 11.1&lt;/STRONG&gt;. I have read in the reference manual that synchronization between submodules is possible via the &lt;STRONG&gt;MCTRL&lt;/STRONG&gt; register, but I am struggling to implement this correctly in C.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My current understanding:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;PWMA0/B0 belong to Submodule 0.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;PWMA1/B1 belong to Submodule 1, and so on.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I need to use a "Master Reload" or "Master Sync" signal.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;How should I configure the &lt;STRONG&gt;CTRL2[INIT_SEL]&lt;/STRONG&gt; and &lt;STRONG&gt;CTRL2[MASTER_RELOAD]&lt;/STRONG&gt; bits to ensure all submodules use the same timing reference?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;What is the correct sequence in CodeWarrior to set the &lt;STRONG&gt;LDOK&lt;/STRONG&gt; bits in the &lt;STRONG&gt;MCTRL&lt;/STRONG&gt; register simultaneously for multiple submodules?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If I am using Processor Expert, which properties should I change to enable this hardware synchronization?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any code example or register configuration sequence would be very helpful.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Dec 2025 20:36:37 GMT</pubDate>
    <dc:creator>GuilhermeTodys</dc:creator>
    <dc:date>2025-12-18T20:36:37Z</dc:date>
    <item>
      <title>Synchronizing eFlexPWM Submodules (PWMA0, PWMA1, PWMB1, PWMB2) on MC56F84789</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Synchronizing-eFlexPWM-Submodules-PWMA0-PWMA1-PWMB1-PWMB2-on/m-p/2266374#M16129</link>
      <description>&lt;P&gt;I am using the &lt;STRONG&gt;MC56F84789&lt;/STRONG&gt; DSC and I need to synchronize the outputs &lt;STRONG&gt;PWMA0, PWMA1, PWMB1, and PWMB2&lt;/STRONG&gt; so they start at the exact same clock cycle without any delay.&lt;/P&gt;&lt;P&gt;I am using &lt;STRONG&gt;CodeWarrior 11.1&lt;/STRONG&gt;. I have read in the reference manual that synchronization between submodules is possible via the &lt;STRONG&gt;MCTRL&lt;/STRONG&gt; register, but I am struggling to implement this correctly in C.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My current understanding:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;PWMA0/B0 belong to Submodule 0.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;PWMA1/B1 belong to Submodule 1, and so on.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I need to use a "Master Reload" or "Master Sync" signal.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;How should I configure the &lt;STRONG&gt;CTRL2[INIT_SEL]&lt;/STRONG&gt; and &lt;STRONG&gt;CTRL2[MASTER_RELOAD]&lt;/STRONG&gt; bits to ensure all submodules use the same timing reference?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;What is the correct sequence in CodeWarrior to set the &lt;STRONG&gt;LDOK&lt;/STRONG&gt; bits in the &lt;STRONG&gt;MCTRL&lt;/STRONG&gt; register simultaneously for multiple submodules?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If I am using Processor Expert, which properties should I change to enable this hardware synchronization?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any code example or register configuration sequence would be very helpful.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 20:36:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Synchronizing-eFlexPWM-Submodules-PWMA0-PWMA1-PWMB1-PWMB2-on/m-p/2266374#M16129</guid>
      <dc:creator>GuilhermeTodys</dc:creator>
      <dc:date>2025-12-18T20:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronizing eFlexPWM Submodules (PWMA0, PWMA1, PWMB1, PWMB2) on MC56F84789</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Synchronizing-eFlexPWM-Submodules-PWMA0-PWMA1-PWMB1-PWMB2-on/m-p/2266680#M16130</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/258183"&gt;@GuilhermeTodys&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your post.&amp;nbsp;We have previously provided a sharing on this topic. Kindly refer to it for details.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Digital-Signal-Controllers/Two-or-more-eFlexPWM-synchronization-for-KV4x-KV5x-MC56F84xxx/ta-p/1128526" target="_blank"&gt;Two or more eFlexPWM synchronization for KV4x, KV5x, MC56F84xxx and MC56F82xxx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope it helps.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Celeste&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2025 09:00:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Synchronizing-eFlexPWM-Submodules-PWMA0-PWMA1-PWMB1-PWMB2-on/m-p/2266680#M16130</guid>
      <dc:creator>Celeste_Liu</dc:creator>
      <dc:date>2025-12-19T09:00:54Z</dc:date>
    </item>
  </channel>
</rss>

