<?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>MPC5xxx中的主题 Re: Use Master Reload signal as the source for counter initialization</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Use-Master-Reload-signal-as-the-source-for-counter/m-p/809307#M11909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petr,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I did set INT_SEL bit to 1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached my CTRL1 and CTRL2 registers set for both submodule 0 and 1.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MasterReloadCntInitialization.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62414i9C9FD4E25C78A6FB/image-size/large?v=v2&amp;amp;px=999" role="button" title="MasterReloadCntInitialization.png" alt="MasterReloadCntInitialization.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The result is while submodule 0 outputs expected pwm signal, submodule 1 counter always counts to overflow (0xFFFF)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BRs,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jun 2018 06:37:35 GMT</pubDate>
    <dc:creator>thomaspham</dc:creator>
    <dc:date>2018-06-25T06:37:35Z</dc:date>
    <item>
      <title>Use Master Reload signal as the source for counter initialization</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Use-Master-Reload-signal-as-the-source-for-counter/m-p/809305#M11907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Dear all,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I'm&amp;nbsp;using MPC5744P and trying to&amp;nbsp;use Master Reload signal from submodule 0 as the source for submodule 1 counter initialization.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;In submodule 0, I set up reloading point as full-cycle reload and reload every 1 opportunity. As stated in RM "&lt;SPAN class=""&gt;the period of the counter will be locked to the register reload frequency of submodule0&lt;/SPAN&gt;". Therefore, I expected the submodule 1 counter to reset when it reaches the modulo value (VAL1) of submodule 0.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;The problem here is the submodule 1 counter does not reset at the time master reload signal asserts and it count all the way up to 0xFFFF (maximum register value) then reset.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I'd like to ask if I'm misunderstanding anything or there should be some more configuration to make it work.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thank you for reading!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2018 09:53:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Use-Master-Reload-signal-as-the-source-for-counter/m-p/809305#M11907</guid>
      <dc:creator>thomaspham</dc:creator>
      <dc:date>2018-06-22T09:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Use Master Reload signal as the source for counter initialization</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Use-Master-Reload-signal-as-the-source-for-counter/m-p/809306#M11908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did you select source of init signal for the counter using CTRL2[INIT_SEL] bits on submodule1.&lt;/P&gt;&lt;P&gt;Try FlexPWM_x.SUB[1].CTRL2.B.INIT_SEL = 0x1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2018 05:24:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Use-Master-Reload-signal-as-the-source-for-counter/m-p/809306#M11908</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2018-06-25T05:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Use Master Reload signal as the source for counter initialization</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Use-Master-Reload-signal-as-the-source-for-counter/m-p/809307#M11909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petr,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I did set INT_SEL bit to 1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached my CTRL1 and CTRL2 registers set for both submodule 0 and 1.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MasterReloadCntInitialization.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62414i9C9FD4E25C78A6FB/image-size/large?v=v2&amp;amp;px=999" role="button" title="MasterReloadCntInitialization.png" alt="MasterReloadCntInitialization.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The result is while submodule 0 outputs expected pwm signal, submodule 1 counter always counts to overflow (0xFFFF)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BRs,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2018 06:37:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Use-Master-Reload-signal-as-the-source-for-counter/m-p/809307#M11909</guid>
      <dc:creator>thomaspham</dc:creator>
      <dc:date>2018-06-25T06:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Use Master Reload signal as the source for counter initialization</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Use-Master-Reload-signal-as-the-source-for-counter/m-p/809308#M11910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes it behaves as you described. In order to use Master reload to reinit counter the LDOK must be set again each time the reload happen.&lt;/P&gt;&lt;P&gt;Use rather Master sync signal to reinit other submodule's counter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2018 11:30:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Use-Master-Reload-signal-as-the-source-for-counter/m-p/809308#M11910</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2018-06-29T11:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Use Master Reload signal as the source for counter initialization</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Use-Master-Reload-signal-as-the-source-for-counter/m-p/809309#M11911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petr,&lt;/P&gt;&lt;P&gt;I have tested and it&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;works exactly like what you said.&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2018 07:40:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Use-Master-Reload-signal-as-the-source-for-counter/m-p/809309#M11911</guid>
      <dc:creator>thomaspham</dc:creator>
      <dc:date>2018-07-02T07:40:16Z</dc:date>
    </item>
  </channel>
</rss>

