<?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: Change of Crystal and Lock Frequency  (Model Based Design Toolbox)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Change-of-Crystal-and-Lock-Frequency-Model-Based-Design-Toolbox/m-p/897315#M3151</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;All the clock settings for the MPC5744P are performed in the&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{Toolboxe install path}\NXP_MBDToolbox_MPC57xx\code\mbdtbx_mpc574x\src\c_library\mpc_clock_man_panther.c&lt;/STRONG&gt; file. If you want to change any of the clock setting please update this file. It will be copied in the generated code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Most of that C structure is generated using the S32Design Studio for Power Architecture and uses the S32K SDK. You can import the project from here&amp;nbsp;&lt;STRONG&gt;{Toolboxe install path}\NXP_MBDToolbox_MPC57xx\code\tools\ClockConfig\mbdt_default_clock_config_panther&amp;nbsp;&lt;/STRONG&gt;and change the clock settings, then generate the new structure and replace it in that c file.&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>Tue, 30 Apr 2019 18:57:36 GMT</pubDate>
    <dc:creator>mariuslucianand</dc:creator>
    <dc:date>2019-04-30T18:57:36Z</dc:date>
    <item>
      <title>Change of Crystal and Lock Frequency  (Model Based Design Toolbox)</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Change-of-Crystal-and-Lock-Frequency-Model-Based-Design-Toolbox/m-p/897314#M3150</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;MBD_MPC574x_Config_Information Block for MPC574x MDB Toolbox (using MPC5744P), it is not possible to change Crystal Frequency. It is fixed to 40Mhz (which is the frequency of the crustal in the Evaluation Board). How do we change it if we are using a 20Mhz Crystal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, we are not able to change Clock Frequency.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any hints regarding it.&amp;nbsp;&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/74578i4C8391CFEC146E06/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>Tue, 30 Apr 2019 14:08:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Change-of-Crystal-and-Lock-Frequency-Model-Based-Design-Toolbox/m-p/897314#M3150</guid>
      <dc:creator>abhishek_kumar1</dc:creator>
      <dc:date>2019-04-30T14:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Change of Crystal and Lock Frequency  (Model Based Design Toolbox)</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Change-of-Crystal-and-Lock-Frequency-Model-Based-Design-Toolbox/m-p/897315#M3151</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;All the clock settings for the MPC5744P are performed in the&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{Toolboxe install path}\NXP_MBDToolbox_MPC57xx\code\mbdtbx_mpc574x\src\c_library\mpc_clock_man_panther.c&lt;/STRONG&gt; file. If you want to change any of the clock setting please update this file. It will be copied in the generated code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Most of that C structure is generated using the S32Design Studio for Power Architecture and uses the S32K SDK. You can import the project from here&amp;nbsp;&lt;STRONG&gt;{Toolboxe install path}\NXP_MBDToolbox_MPC57xx\code\tools\ClockConfig\mbdt_default_clock_config_panther&amp;nbsp;&lt;/STRONG&gt;and change the clock settings, then generate the new structure and replace it in that c file.&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>Tue, 30 Apr 2019 18:57:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Change-of-Crystal-and-Lock-Frequency-Model-Based-Design-Toolbox/m-p/897315#M3151</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2019-04-30T18:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Change of Crystal and Lock Frequency  (Model Based Design Toolbox)</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Change-of-Crystal-and-Lock-Frequency-Model-Based-Design-Toolbox/m-p/897316#M3152</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;Thank you for the answer.&lt;/P&gt;&lt;P&gt;Question&lt;/P&gt;&lt;P&gt;If we change it in the Toolbox folder, it will change for the all the projects (which ever are built after this change)&lt;/P&gt;&lt;P&gt;Do we have an option for changing it in a project?&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>Wed, 01 May 2019 08:17:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Change-of-Crystal-and-Lock-Frequency-Model-Based-Design-Toolbox/m-p/897316#M3152</guid>
      <dc:creator>abhishek_kumar1</dc:creator>
      <dc:date>2019-05-01T08:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Change of Crystal and Lock Frequency  (Model Based Design Toolbox)</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Change-of-Crystal-and-Lock-Frequency-Model-Based-Design-Toolbox/m-p/897317#M3153</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;Unfortunately, as far as I know there is no such option.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, having such need I would modify the existing c structure by using the #ifdef directive for the settings for 20MHz clock and on the #else I would use the existing lines of code. And in the project that requires the 20MHz crystal I would use the custom code to define that macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#ifdef CRYSTAL_20&lt;/P&gt;&lt;P&gt;//clock code for the new crystal settings&amp;nbsp;&lt;/P&gt;&lt;P&gt;#else&lt;/P&gt;&lt;P&gt;//already existing code&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Inside the&amp;nbsp; MBDT project&amp;nbsp; inserted as custom code the following line:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#define CRYSTAL_20&amp;nbsp;&amp;nbsp;1&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;For more about custom code you can have a look on this topic&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/message/1032329"&gt;https://community.nxp.com/message/1032329&lt;/A&gt;&lt;/P&gt;&lt;P&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>Wed, 01 May 2019 17:30:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Change-of-Crystal-and-Lock-Frequency-Model-Based-Design-Toolbox/m-p/897317#M3153</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2019-05-01T17:30:56Z</dc:date>
    </item>
  </channel>
</rss>

