<?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: External Sync for PWM0 (MPC5744P) using MBD not working in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959366#M3702</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/mariuslucianandrei"&gt;mariuslucianandrei&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has been some time, but have you found any solution regrading External PWM Sync. We are planning to use this feature but were not able to work it out yet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know of any solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Abhishek&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ext-rafael.barbosa@chassisbrakes.com"&gt;ext-rafael.barbosa@chassisbrakes.com&lt;/A&gt;‌&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Oct 2019 08:16:45 GMT</pubDate>
    <dc:creator>abhishek_kumar1</dc:creator>
    <dc:date>2019-10-07T08:16:45Z</dc:date>
    <item>
      <title>External Sync for PWM0 (MPC5744P) using MBD not working</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959355#M3691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;I tried to use EXT_SYNC for PWM0 module but without success. (for DEVKIT-MPC5744P)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85644iD2C4FEB520A7E317/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;For this I created 2 models (for 2 different board, models are attached)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85616i8EDD513AE9D78FEC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.jpg" alt="pastedImage_1.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI style="text-indent: -.25in;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Syncro_PWM_CTU_External, which sends out a PWM and I use another PWM synchronized with the first one so it acts as EXT_SYNC signal for second board.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="text-indent: -.25in;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Syncro_PWM_CTU_External_Board2, I used CTU to have PTC15 as an EXT_SYNC Signal. (PTC 15 in DEVKIT was on F:EXRAY module so we removed R27 and used Micro Side Pad and soldered a cable)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Somehow the PWM in Syncro_PWM_CTU_External_Board2&amp;nbsp; (on DEVKIT 2) is not synchronized with Syncro_PWM_CTU_External(on DEVKIT 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Could you please suggest what is wrong in model “Syncro_PWM_CTU_External_Board2”?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85639i7527BF89F943A6EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/mariuslucianandrei"&gt;mariuslucianandrei&lt;/A&gt;‌ &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ext-rafael.barbosa@chassisbrakes.com"&gt;ext-rafael.barbosa@chassisbrakes.com&lt;/A&gt;‌ &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/dumitru-daniel.popa"&gt;dumitru-daniel.popa&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 06:55:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959355#M3691</guid>
      <dc:creator>abhishek_kumar1</dc:creator>
      <dc:date>2019-06-07T06:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: External Sync for PWM0 (MPC5744P) using MBD not working</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959356#M3692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/abhishek.kumar@chassisbrakes.com"&gt;abhishek.kumar@chassisbrakes.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So let's summarize a bit your status. As far as I know, you have obtained the sync between PWM0 and PWM1 on a single MPC controller without any external connection&amp;nbsp;and&amp;nbsp;successfully read 4 ADCs at the same time. Am I right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, you need to sync the PWM0 module from one MPC5744P to PWM1 module from another MPC5744P?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marius!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 07:53:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959356#M3692</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2019-06-07T07:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: External Sync for PWM0 (MPC5744P) using MBD not working</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959357#M3693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/mariuslucianandrei"&gt;mariuslucianandrei&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me clarify this.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;EM&gt;As far as I know, you have obtained the sync between PWM0 and PWM1 on a single MPC controller without any external connection&amp;nbsp;and&amp;nbsp;successfully read 4 ADCs at the same time. Am I right?&lt;/EM&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Yes (I&amp;nbsp;have attached a model for this if some one else needs it, 'PWM01_CTU_00_01_ADC0to4.mdl')&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;EM&gt;Now, you need to sync the PWM0 module from one MPC5744P to PWM1 module from another MPC5744P?&lt;/EM&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I need to Sync PWM0 (of Board 1) to PWM0 (of Board 2), using EXT_SYNC of PWM0&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hope it is more clear.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 08:02:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959357#M3693</guid>
      <dc:creator>abhishek_kumar1</dc:creator>
      <dc:date>2019-06-07T08:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: External Sync for PWM0 (MPC5744P) using MBD not working</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959358#M3694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/abhishek.kumar@chassisbrakes.com"&gt;abhishek.kumar@chassisbrakes.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the Reference Manual, I understand that the EXT_SYNC is an input signal. So basically now, you have two inputs connected together, with no signal to trigger them. So the PWM modules would be in sync together but you don't have a signal to sync their reload.&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/85647iBB1ED588CC358D0C/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;For PWM block, what the toolbox is not doing right now is to initialize the EXT_Sync pin as input for the PWM.&amp;nbsp;So you need to insert some custom code in order to initialize the pin as EXT_SYNC for PWM. I would also try the following approach: Use the reload interrupt from the PWM0, BRD0 to toggle a pin and use it as input on the PWM0, BRD1.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85648i7EE90AA7497313D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you could also try is to sync the CTUs from different board since the CTU blocks covers the external in and out pins under the "Pins" tab of the CTU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 08:57:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959358#M3694</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2019-06-07T08:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: External Sync for PWM0 (MPC5744P) using MBD not working</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959359#M3695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/mariuslucianandrei"&gt;mariuslucianandrei&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I would also try the following approach: Use the reload interrupt from the PWM0, BRD0 to toggle a pin and use it as input on the PWM0, BRD1.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I do something similar (as explained below)&lt;/P&gt;&lt;P&gt;I have 2 PWM submodules in Model 1 (Board 1), so I use the second PWM submodule only to send a signal (pulse) to Board 2 (ext-sync).&lt;/P&gt;&lt;P&gt;In the end, what I want is that to have the all&amp;nbsp; PWM of Board 1 in Sync with all PWM of Board 2. (just as we have in one board, i want in both boards and PWM0 allows that using EXT_SYNC)&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/85650iA5ED1B77B056D113/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;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;What you could also try is to sync the CTUs from different board since the CTU blocks covers the external in and out pins under the "Pins" tab of the CTU.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I have done that in the model (Syncro_PWM_CTU_External_Board2)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85651i194693324D74360B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 09:19:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959359#M3695</guid>
      <dc:creator>abhishek_kumar1</dc:creator>
      <dc:date>2019-06-07T09:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: External Sync for PWM0 (MPC5744P) using MBD not working</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959360#M3696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/abhishek.kumar@chassisbrakes.com"&gt;abhishek.kumar@chassisbrakes.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding what you tried,&amp;nbsp;to sync the modules, as I explained before, the EXT_SYNC pin from the Board 2 should be configured to be input for the PWM0 module. The MBDT now is not doing that initialization, so you need to insert some custom code in order to set PC13 as EXT_SYnc for FLexPWM_0 like in the screenshot added in my last reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 10:32:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959360#M3696</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2019-06-07T10:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: External Sync for PWM0 (MPC5744P) using MBD not working</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959361#M3697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/mariuslucianandrei"&gt;mariuslucianandrei&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to find the SDK function call (to do INIT_SEL = 3, as in snapshot below), in S32 Design Studio.&lt;/P&gt;&lt;P&gt;Can you help me with this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried searching &lt;EM&gt;INIT_SEL&lt;/EM&gt; in search but can not find it.&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;FlexPWM0.SUB[0].CTRL2.B.INIT_SEL = 3;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85671i7D5B134F6FF79752/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 12:11:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959361#M3697</guid>
      <dc:creator>abhishek_kumar1</dc:creator>
      <dc:date>2019-06-07T12:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: External Sync for PWM0 (MPC5744P) using MBD not working</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959362#M3698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/abhishek.kumar@chassisbrakes.com"&gt;abhishek.kumar@chassisbrakes.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The init_sel is performed by the pwm block, but the actual pin must be muxed to provide the actual pin signal to the pwm peripheral by writing in the Imcr[87] register and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85679iD5A19CD0A531B500/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 12:22:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959362#M3698</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2019-06-07T12:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: External Sync for PWM0 (MPC5744P) using MBD not working</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959363#M3699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/mariuslucianandrei"&gt;mariuslucianandrei&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the hint but I am not able to use Write_Register block.&lt;/P&gt;&lt;P&gt;Also, I did not find IMCR registers here.&lt;/P&gt;&lt;P&gt;I think I am totally misunderstanding, what you are asking me to do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have already said in the Simulink block that it is an external Sync&lt;/P&gt;&lt;P&gt;The only thing needed to be done is to define the PIN for the EXT_SYNC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am very lost now.&amp;nbsp;&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/85681iFAD2C6FE9F01E6D7/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;Best Regards,&lt;/P&gt;&lt;P&gt;Abhishek&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 12:45:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959363#M3699</guid>
      <dc:creator>abhishek_kumar1</dc:creator>
      <dc:date>2019-06-07T12:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: External Sync for PWM0 (MPC5744P) using MBD not working</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959364#M3700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/abhishek.kumar@chassisbrakes.com"&gt;abhishek.kumar@chassisbrakes.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We will investigate the error regarding the register.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, in order to initialize the external pin to redirect the signal to the PWM0 you need to insert a custom code, declaring the structure attached tin the text file&amp;nbsp;pwmSyncPinsCfg and then call the&amp;nbsp; two functions below the structure declaration.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need an example on how to insert the custom code, in our toolbox you will find a model called "custom_code.mdl". Consider adding the code from the attached file in the System Initialize block&amp;nbsp;like in the model.&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/85682i0A1A1A0B15F7E4A1/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;Hope this helps you,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 13:14:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959364#M3700</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2019-06-07T13:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: External Sync for PWM0 (MPC5744P) using MBD not working</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959365#M3701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/mariuslucianandrei"&gt;mariuslucianandrei&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the hint.&lt;/P&gt;&lt;P&gt;I tried to do the changes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Added the code you sent in&amp;nbsp;&lt;SPAN&gt;Syncro_PWM_CTU_External_Board2.mdl&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2. Removed the CTU block from "Syncro_PWM_CTU_External_Board2.mdl"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still the synchronization could not be achieved.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the model which is in Board 1 (which sends a signal to reset PWM timer for board 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide the your input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 10:32:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959365#M3701</guid>
      <dc:creator>abhishek_kumar1</dc:creator>
      <dc:date>2019-06-11T10:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: External Sync for PWM0 (MPC5744P) using MBD not working</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959366#M3702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/mariuslucianandrei"&gt;mariuslucianandrei&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has been some time, but have you found any solution regrading External PWM Sync. We are planning to use this feature but were not able to work it out yet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know of any solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Abhishek&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ext-rafael.barbosa@chassisbrakes.com"&gt;ext-rafael.barbosa@chassisbrakes.com&lt;/A&gt;‌&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2019 08:16:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Sync-for-PWM0-MPC5744P-using-MBD-not-working/m-p/959366#M3702</guid>
      <dc:creator>abhishek_kumar1</dc:creator>
      <dc:date>2019-10-07T08:16:45Z</dc:date>
    </item>
  </channel>
</rss>

