<?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>Model-Based Design Toolbox (MBDT)のトピックRe: How can I synchronize the ADC conversation with the PWM Output Block ?</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712837#M1306</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/lethuer"&gt;lethuer&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;In order to trigger directly the ADC interrupt from the flexPWM block you need to do the following changes:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;1. Select output Triggers from the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;Three_Phase_Output block (for the example attached I chose PWM A VAL3 - falling edge of the A[0] output pin). In&amp;nbsp;&lt;/SPAN&gt;order to understand what output triggers you need to choose, please read from the &lt;SPAN style="color: #0000ff;"&gt;&lt;A href="https://cache.nxp.com/docs/en/reference-manual/KV4XP100M168RM.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1" style="color: #0000ff;"&gt;Kinetis RM&lt;/A&gt;&lt;/SPAN&gt;&amp;nbsp;the Functional Description of the eFlexPWM, Chapter 38.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;2. For ADC_Config, you need to choose the XBARA output 12 and then as ADC XBARA Trigger you need to select one according to previously selected trigger (&lt;SPAN style="background-color: #ffffff;"&gt;Three_Phase_Output); please read in the same RM, Chapter 27.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29850i90F1AB30130956D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.jpg" alt="pastedImage_2.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;3. Finally you need to disable the&amp;nbsp;&amp;nbsp;ADC Start conversion block for each channel since the trigger will be done by the PWM.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29890iF1BA131117BCFE92/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.jpg" alt="pastedImage_3.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;I have attached a working example like you asked by computing all the values inside the interrupt. Please be aware of the block execution order&amp;nbsp;by changing the blocks priority if you want a block to be executed before or after another.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hope this helps,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Marius&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Nov 2017 16:22:57 GMT</pubDate>
    <dc:creator>mariuslucianand</dc:creator>
    <dc:date>2017-11-10T16:22:57Z</dc:date>
    <item>
      <title>How can I synchronize the ADC conversation with the PWM Output Block ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712833#M1302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;How can I synchronize the ADC conversation with the PWM Output Block, so that the conversation definitly isn't started in the rising or falling edge ?&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to Trigger the ADC conversation after the PWM Output has a rising edge.&lt;/P&gt;&lt;P&gt;My idea is to set the Output Trigger in the Three_Phase_Output block. But which one ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw this tab&amp;nbsp;in the Three_Phase_Output block:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="PWM Output Trigger.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/1957i5CB571A374D4E18E/image-size/large?v=v2&amp;amp;px=999" role="button" title="PWM Output Trigger.PNG" alt="PWM Output Trigger.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Where can I find the signals PWM X VAL n ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The selected Output pin I should configure in the ADC config block.&lt;/P&gt;&lt;P&gt;But here after SYNC0&amp;nbsp;and ADCA Alternate Trigger are&amp;nbsp;selected only this list is displayed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ADC Trigger.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2001i24CF61B0CBBF663F/image-size/large?v=v2&amp;amp;px=999" role="button" title="ADC Trigger.png" alt="ADC Trigger.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 09:42:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712833#M1302</guid>
      <dc:creator>lethuer</dc:creator>
      <dc:date>2017-10-23T09:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can I synchronize the ADC conversation with the PWM Output Block ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712834#M1303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;How can I synchronize the ADC conversation with the PWM Output Block, so that the conversation definitly isn't started in the rising or falling edge ?&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Just to make it a little bit clearer...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;The modul should work like this:&lt;/P&gt;&lt;P style="text-align: left;"&gt;-&amp;nbsp;ADC converstion&amp;nbsp;should&amp;nbsp;be&amp;nbsp;started by PWM block&lt;/P&gt;&lt;P style="text-align: left;"&gt;- End of ADC conversation should Trigger (Hardware&amp;nbsp;Interrupt)&amp;nbsp;a Subsystem where PWM block is contained&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 13:59:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712834#M1303</guid>
      <dc:creator>lethuer</dc:creator>
      <dc:date>2017-10-23T13:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can I synchronize the ADC conversation with the PWM Output Block ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712835#M1304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&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;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 have still some trouble with this.&lt;/P&gt;&lt;P&gt;Does anybody know a solution ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Toolbox includes also a ADC Scan ISR block..&lt;/P&gt;&lt;P&gt;Is it possible to use it like it is&amp;nbsp;in the attached&amp;nbsp;model ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ADC conversation still should be started by the PWM block. (This is still missing.)&lt;/P&gt;&lt;P&gt;After the ADC conversation is finished the Subsystem with the contained PWM block should be called.&lt;/P&gt;&lt;P&gt;The PWM block should start a new conversation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 07:47:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712835#M1304</guid>
      <dc:creator>lethuer</dc:creator>
      <dc:date>2017-11-06T07:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I synchronize the ADC conversation with the PWM Output Block ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712836#M1305</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/lethuer"&gt;lethuer&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delay. I understand the desired functionality and I will try to&amp;nbsp;provide a simulink&amp;nbsp;model.&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 08:58:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712836#M1305</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2017-11-06T08:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can I synchronize the ADC conversation with the PWM Output Block ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712837#M1306</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/lethuer"&gt;lethuer&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;In order to trigger directly the ADC interrupt from the flexPWM block you need to do the following changes:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;1. Select output Triggers from the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;Three_Phase_Output block (for the example attached I chose PWM A VAL3 - falling edge of the A[0] output pin). In&amp;nbsp;&lt;/SPAN&gt;order to understand what output triggers you need to choose, please read from the &lt;SPAN style="color: #0000ff;"&gt;&lt;A href="https://cache.nxp.com/docs/en/reference-manual/KV4XP100M168RM.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1" style="color: #0000ff;"&gt;Kinetis RM&lt;/A&gt;&lt;/SPAN&gt;&amp;nbsp;the Functional Description of the eFlexPWM, Chapter 38.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;2. For ADC_Config, you need to choose the XBARA output 12 and then as ADC XBARA Trigger you need to select one according to previously selected trigger (&lt;SPAN style="background-color: #ffffff;"&gt;Three_Phase_Output); please read in the same RM, Chapter 27.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29850i90F1AB30130956D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.jpg" alt="pastedImage_2.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;3. Finally you need to disable the&amp;nbsp;&amp;nbsp;ADC Start conversion block for each channel since the trigger will be done by the PWM.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29890iF1BA131117BCFE92/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.jpg" alt="pastedImage_3.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;I have attached a working example like you asked by computing all the values inside the interrupt. Please be aware of the block execution order&amp;nbsp;by changing the blocks priority if you want a block to be executed before or after another.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hope this helps,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Marius&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 16:22:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712837#M1306</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2017-11-10T16:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can I synchronize the ADC conversation with the PWM Output Block ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712838#M1307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;from &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/lethuer2"&gt;lethuer2&lt;/A&gt;‌&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" class="" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="301099" data-objecttype="3" href="https://community.nxp.com/people/mariuslucianandrei" style="color: #5e89c1; background-color: transparent; border: 0px; font-weight: inherit; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;Marius Lucian Andrei&lt;/A&gt;,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;this really helps ! Thank you so much so far !&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;discussion branched here:&amp;nbsp;&lt;A href="https://community.nxp.com/thread/464030"&gt;PWM Timing and Signal Generation on MKV4xx microprocessors&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 08:35:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712838#M1307</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-11-14T08:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: How can I synchronize the ADC conversation with the PWM Output Block ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712839#M1308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &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've tried some configurations in order to understand the correct timing.&lt;/P&gt;&lt;P&gt;If I choose VAL3 everything is fine and I can control the signals with my oszilloscope&amp;nbsp;!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But with Output Trigger VAL0 (for measuring in the middle of PWM_A) the&amp;nbsp;model doesn't run anymore...&lt;/P&gt;&lt;P&gt;I don't know why...?! Do you have an idea ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I have to set some priorities in this case ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 14:24:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712839#M1308</guid>
      <dc:creator>lethuer</dc:creator>
      <dc:date>2017-11-27T14:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can I synchronize the ADC conversation with the PWM Output Block ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712840#M1309</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/lethuer2"&gt;lethuer2&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to use VAL0 as Output Trigger you need to select in the ADC_Config&amp;nbsp; for "ADCA XBARA Trigger" the value "PWM0 Trigger 0" (in the first image of the previous answer).&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>Tue, 28 Nov 2017 09:25:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712840#M1309</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2017-11-28T09:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can I synchronize the ADC conversation with the PWM Output Block ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712841#M1310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;P&gt;That works !&lt;/P&gt;&lt;P&gt;Sorry for the question, but where did you found which VAL is connected to which Trigger ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2017 10:07:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712841#M1310</guid>
      <dc:creator>lethuer</dc:creator>
      <dc:date>2017-11-28T10:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I synchronize the ADC conversation with the PWM Output Block ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712842#M1311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still didn't found which ADC XBARA Trigger (Trigger 0 or Trigger 1)&amp;nbsp;I have&amp;nbsp; to&amp;nbsp;choose at which&amp;nbsp;PWM Output VAL.&lt;/P&gt;&lt;P&gt;Can you help me ?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 12:33:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712842#M1311</guid>
      <dc:creator>lethuer</dc:creator>
      <dc:date>2017-12-04T12:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: How can I synchronize the ADC conversation with the PWM Output Block ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712843#M1312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/mariuslucianandrei"&gt;mariuslucianandrei&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 12:34:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712843#M1312</guid>
      <dc:creator>lethuer</dc:creator>
      <dc:date>2017-12-04T12:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: How can I synchronize the ADC conversation with the PWM Output Block ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712844#M1313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&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;I still have this question and I try it again.&lt;/P&gt;&lt;P&gt;In the Reference Manual I found this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Unbenannt.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30399iF0D28ACE65C59E29/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt.PNG" alt="Unbenannt.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Unbenannt.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30349iD86EB31A33454E47/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt.PNG" alt="Unbenannt.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is why I configure this in the ADC Config Block:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Unbenannt.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30438iC2E55A6D6324C03D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt.PNG" alt="Unbenannt.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PWM Block different values are available.&lt;/P&gt;&lt;P&gt;In center alaigned type these are:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Unbenannt.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30531i13D938F98A8A0D55/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt.PNG" alt="Unbenannt.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So I configure the following in the PWM Block:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Unbenannt.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30447i63CC9E14ECCB900E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt.PNG" alt="Unbenannt.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in the Reference Manual I found this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Unbenannt.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30596iF90092679EC593BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt.PNG" alt="Unbenannt.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt; In my opinion the yellow marked numbers in the picture above are the VAL0, VAL1, VAL2 and VAL3 which you can choose in the PWM Block, correct so far ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Unbenannt.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30650iC7949768C3D94D76/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt.PNG" alt="Unbenannt.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt; The second number marked in the picture above&amp;nbsp;should be the TRIG0 or TRIG1 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because I activate VAL0 I would ecpect the connection to XBARA_IN21. (second line in the picture above: PWM0_OUT_TRIG01)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But XBARA_IN21 has PWMA0_TRIG1 as assigned output.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Unbenannt.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30400iF312B625FA4B3B0C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt.PNG" alt="Unbenannt.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So why I have to configure PWMA0_Trigger 0 in the ADC Config Block as ADCA XBARA Trigger ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 22:06:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-synchronize-the-ADC-conversation-with-the-PWM-Output/m-p/712844#M1313</guid>
      <dc:creator>lethuer</dc:creator>
      <dc:date>2017-12-20T22:06:18Z</dc:date>
    </item>
  </channel>
</rss>

