<?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: Clock Configuration of MPC5744P using MBD</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Clock-Configuration-of-MPC5744P-using-MBD/m-p/985152#M3868</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 provide, together with our toolbox in the following path&amp;nbsp;&lt;EM&gt;NXP_MBDToolbox_MPC57xx\code\tools\ClockConfig\mbdt_default_clock_config_panther,&lt;/EM&gt; an S32DSforPA&lt;EM&gt; &lt;/EM&gt;project that describes the clock configuration used in the MBDT Toolbox. You can import that project in the S32DS and modify the project clock configuration in PEX according to your needs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you generate the code, in the clockMan1.c you will find a clock_manager_user_config_t structure. This one contains the clock configuration that must be replaced in our toolbox.&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/92067iC37903DD533987D1/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;So you need to copy the generated clock configuration in the&amp;nbsp; clock_manager_user_config_t&amp;nbsp;&lt;STRONG&gt;clockMan1_InitConfig0_panther&lt;/STRONG&gt; structure in &lt;EM&gt;the&amp;nbsp;NXP_MBDToolbox_MPC57xx\code\mbdtbx_mpc574x\src\c_library&lt;STRONG&gt;\mpc_clock_man_panther.c. &lt;/STRONG&gt;&lt;/EM&gt;Together with that, you will need to change, in the new configuration, the count and peripherals field, as in the following screenshoot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_10.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/92209i94D90DDEDD3D226F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_10.png" alt="pastedImage_10.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recommend you to backup the initial mpc_clock_man_panther.c.&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>Wed, 13 Nov 2019 15:23:26 GMT</pubDate>
    <dc:creator>mariuslucianand</dc:creator>
    <dc:date>2019-11-13T15:23:26Z</dc:date>
    <item>
      <title>Clock Configuration of MPC5744P using MBD</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Clock-Configuration-of-MPC5744P-using-MBD/m-p/985151#M3867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to use a different XTAL (20 MHz) for our design and we used MPC5744P (the excel sheet as attached). I found similar code in Excel and&amp;nbsp;mpc_clock_man_panther.c file&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/92207iF509A91AD6ADEBEC/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 class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/92239iC63686481624D778/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;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;My question&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. How do I implement exactly what config is in the attached Excel sheet with model based toolbox?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Currently it is not possible in the MBD toolbox to change clock settings.&lt;/P&gt;&lt;P&gt;2. What are the files in toolbox which will be effected (what replaces SysClk_Init function, etc..)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to take reference from my previous question and compare the excel and C file.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/501800"&gt;Change of Crystal and Lock Frequency  (Model Based Design Toolbox)&lt;/A&gt;&amp;nbsp;&amp;nbsp;&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;P&gt;&lt;/P&gt;&lt;P&gt;&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;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2019 09:12:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Clock-Configuration-of-MPC5744P-using-MBD/m-p/985151#M3867</guid>
      <dc:creator>abhishek_kumar1</dc:creator>
      <dc:date>2019-11-13T09:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Configuration of MPC5744P using MBD</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Clock-Configuration-of-MPC5744P-using-MBD/m-p/985152#M3868</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 provide, together with our toolbox in the following path&amp;nbsp;&lt;EM&gt;NXP_MBDToolbox_MPC57xx\code\tools\ClockConfig\mbdt_default_clock_config_panther,&lt;/EM&gt; an S32DSforPA&lt;EM&gt; &lt;/EM&gt;project that describes the clock configuration used in the MBDT Toolbox. You can import that project in the S32DS and modify the project clock configuration in PEX according to your needs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you generate the code, in the clockMan1.c you will find a clock_manager_user_config_t structure. This one contains the clock configuration that must be replaced in our toolbox.&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/92067iC37903DD533987D1/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;So you need to copy the generated clock configuration in the&amp;nbsp; clock_manager_user_config_t&amp;nbsp;&lt;STRONG&gt;clockMan1_InitConfig0_panther&lt;/STRONG&gt; structure in &lt;EM&gt;the&amp;nbsp;NXP_MBDToolbox_MPC57xx\code\mbdtbx_mpc574x\src\c_library&lt;STRONG&gt;\mpc_clock_man_panther.c. &lt;/STRONG&gt;&lt;/EM&gt;Together with that, you will need to change, in the new configuration, the count and peripherals field, as in the following screenshoot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_10.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/92209i94D90DDEDD3D226F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_10.png" alt="pastedImage_10.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recommend you to backup the initial mpc_clock_man_panther.c.&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>Wed, 13 Nov 2019 15:23:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Clock-Configuration-of-MPC5744P-using-MBD/m-p/985152#M3868</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2019-11-13T15:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Configuration of MPC5744P using MBD</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Clock-Configuration-of-MPC5744P-using-MBD/m-p/985153#M3869</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 updated the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;EM&gt;mpc_clock_man_panther.&lt;/EM&gt;c file (attached).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Do we also need to change mask settings for Simulink blocks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;As it still shows the option only for 40Mhz.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Please help on this&lt;/SPAN&gt;&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/94261i6BB0EC54F0A77F9E/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;Best Regards,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2019 14:11:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Clock-Configuration-of-MPC5744P-using-MBD/m-p/985153#M3869</guid>
      <dc:creator>abhishek_kumar1</dc:creator>
      <dc:date>2019-11-22T14:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Configuration of MPC5744P using MBD</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Clock-Configuration-of-MPC5744P-using-MBD/m-p/985154#M3870</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;Could you please provide some input on the above question?&lt;/P&gt;&lt;P&gt;Thank you!&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>Mon, 25 Nov 2019 09:48:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Clock-Configuration-of-MPC5744P-using-MBD/m-p/985154#M3870</guid>
      <dc:creator>abhishek_kumar1</dc:creator>
      <dc:date>2019-11-25T09:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Configuration of MPC5744P using MBD</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Clock-Configuration-of-MPC5744P-using-MBD/m-p/985155#M3871</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 external clock frequency is written directly in the&amp;nbsp;mbd_mpc574x_ec_toolbox, and not populated dynamically from a script, so you can edit the &lt;SPAN&gt;mbd_mpc574x_ec_toolbox.&lt;/SPAN&gt;mdl file and add the 20MHz option.&amp;nbsp;&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>Tue, 03 Dec 2019 10:44:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Clock-Configuration-of-MPC5744P-using-MBD/m-p/985155#M3871</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2019-12-03T10:44:29Z</dc:date>
    </item>
  </channel>
</rss>

