<?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中的主题 MPC5744P FlexPWM 0 and 1 synchronization</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexPWM-0-and-1-synchronization/m-p/802495#M11770</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;I am trying to synchronize FlexPWM1 output with FlexPWM0 using EXT_SYNC interface to initialize the INIT_SEL counter but when I look at the scope I can see that there is about 40ns delay in generation of PWM of FlexPWM1 from FlexPWM0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FlexPWM0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*l_flexpwm_ptr).SUB[0].CTRL2.B.INIT_SEL = 0;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*l_flexpwm_ptr).SUB[1].CTRL2.B.INIT_SEL = 2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*l_flexpwm_ptr).SUB[2].CTRL2.B.INIT_SEL = 2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*l_flexpwm_ptr).SUB[3].CTRL2.B.INIT_SEL = 2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FlexPWM1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*l_flexpwm_ptr).SUB[0].CTRL2.B.INIT_SEL = 3;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*l_flexpwm_ptr).SUB[1].CTRL2.B.INIT_SEL = 2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*l_flexpwm_ptr).SUB[2].CTRL2.B.INIT_SEL = 2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*l_flexpwm_ptr).SUB[3].CTRL2.B.INIT_SEL = 2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/75813i7FF7FB6925A1AACE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why there is a delay of 40ns, what I could be doing wrong for PWM initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Oct 2018 12:44:58 GMT</pubDate>
    <dc:creator>alimeraj</dc:creator>
    <dc:date>2018-10-17T12:44:58Z</dc:date>
    <item>
      <title>MPC5744P FlexPWM 0 and 1 synchronization</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexPWM-0-and-1-synchronization/m-p/802495#M11770</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;I am trying to synchronize FlexPWM1 output with FlexPWM0 using EXT_SYNC interface to initialize the INIT_SEL counter but when I look at the scope I can see that there is about 40ns delay in generation of PWM of FlexPWM1 from FlexPWM0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FlexPWM0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*l_flexpwm_ptr).SUB[0].CTRL2.B.INIT_SEL = 0;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*l_flexpwm_ptr).SUB[1].CTRL2.B.INIT_SEL = 2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*l_flexpwm_ptr).SUB[2].CTRL2.B.INIT_SEL = 2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*l_flexpwm_ptr).SUB[3].CTRL2.B.INIT_SEL = 2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FlexPWM1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*l_flexpwm_ptr).SUB[0].CTRL2.B.INIT_SEL = 3;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*l_flexpwm_ptr).SUB[1].CTRL2.B.INIT_SEL = 2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*l_flexpwm_ptr).SUB[2].CTRL2.B.INIT_SEL = 2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*l_flexpwm_ptr).SUB[3].CTRL2.B.INIT_SEL = 2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/75813i7FF7FB6925A1AACE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why there is a delay of 40ns, what I could be doing wrong for PWM initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 12:44:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexPWM-0-and-1-synchronization/m-p/802495#M11770</guid>
      <dc:creator>alimeraj</dc:creator>
      <dc:date>2018-10-17T12:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P FlexPWM 0 and 1 synchronization</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexPWM-0-and-1-synchronization/m-p/802496#M11771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;40ns seems quite nice synch. Its about one clock cycle.&lt;/P&gt;&lt;P&gt;You can also try to use DMA for FlexPWMx simultaneous start. But I expect result will be much less the same.&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 08:20:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexPWM-0-and-1-synchronization/m-p/802496#M11771</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2018-10-18T08:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P FlexPWM 0 and 1 synchronization</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexPWM-0-and-1-synchronization/m-p/802497#M11772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the update,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I should assume that EXT_SYNC needs at least one clock cycle to sync the FlexPWM, you mentioned to use DMA but that would give more or less the same result. so is there any other way to reduce this time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 08:35:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexPWM-0-and-1-synchronization/m-p/802497#M11772</guid>
      <dc:creator>alimeraj</dc:creator>
      <dc:date>2018-10-18T08:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P FlexPWM 0 and 1 synchronization</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexPWM-0-and-1-synchronization/m-p/802498#M11773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, all this depends on the application requirements.&lt;/P&gt;&lt;P&gt;If you need more than 12 synchronized PWM signals (for example combustion engine control) you should use device with eTPU which is designed for such purpose.&lt;/P&gt;&lt;P&gt;FlexPWM primary use is to drive electric motor for which are 12 PWM signals sufficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 09:20:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexPWM-0-and-1-synchronization/m-p/802498#M11773</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2018-10-18T09:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P FlexPWM 0 and 1 synchronization</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexPWM-0-and-1-synchronization/m-p/802499#M11774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strangely we are using your MPC5744P MCU in our 3 different Motor Control products. we have got a new project which require to drive 2 inverter at the same time with the same duty so that is why the 40ns is bit more crucial in terms of driving the inverter. We already have control board architecture in place for 2 motor independent control but we want to use the same control board to drive 2 inverter in a single motor. so for this application i want to synchronize the two flexPWM together.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I have provided enough information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my question is still the same, is there anyway to reduce the reload latency for FlexPWM1 using Ext_SYNC from FlexPWM0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 11:12:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexPWM-0-and-1-synchronization/m-p/802499#M11774</guid>
      <dc:creator>alimeraj</dc:creator>
      <dc:date>2018-10-18T11:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P FlexPWM 0 and 1 synchronization</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexPWM-0-and-1-synchronization/m-p/802500#M11775</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 was curious about your finding so I have tested it myself.&lt;/P&gt;&lt;P&gt;Please see the following:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-341903"&gt;https://community.nxp.com/docs/DOC-341903&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 13:20:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexPWM-0-and-1-synchronization/m-p/802500#M11775</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2018-10-23T13:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P FlexPWM 0 and 1 synchronization</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexPWM-0-and-1-synchronization/m-p/802501#M11776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for testing it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your test results perfectly make sense now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to adjust A0 init as you did to reduce the synchronization time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 14:05:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexPWM-0-and-1-synchronization/m-p/802501#M11776</guid>
      <dc:creator>alimeraj</dc:creator>
      <dc:date>2018-10-23T14:05:29Z</dc:date>
    </item>
  </channel>
</rss>

