<?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: S32 DS 3.4 Clock Config in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/S32-DS-3-4-Clock-Config/m-p/1470192#M8666</link>
    <description>&lt;P&gt;Hi Gary,&lt;/P&gt;
&lt;P&gt;I see you have the following package installed:&lt;/P&gt;
&lt;P&gt;Package: S32SDK S32K1XX RTM 4.0.2; Version: 4.0.2; Build id: 202106110620&lt;/P&gt;
&lt;P&gt;But you do not have this package installed:&lt;/P&gt;
&lt;P&gt;Package: RTD S32K1 1.0.0; Version: 1.0.0; Build id: 202108251230&lt;/P&gt;
&lt;P&gt;This means you are using the S32 SDK for S32K1xx, which is no longer actively supported by new development, bug fixes, etc.&lt;/P&gt;
&lt;P&gt;The S32 SDK has been replaced by the &lt;A href="https://www.nxp.com/design/automotive-software-and-tools/real-time-drivers-rtd:AUTOMOTIVE-RTD" target="_blank"&gt;Real-Time Drivers (RTD) | NXP Semiconductors&lt;/A&gt;&amp;nbsp;. Some of the significant differences are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;RTD has both AUTOSAR and NON-AUTOSAR drivers, S32 SDK only has NON-AUTOSAR drivers&lt;/LI&gt;
&lt;LI&gt;RTD supports the newer NXP GCC 9.2, S32 SDK supports the NXP GCC 6.3&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If the issue you reported is a bug, I'm not sure if it would be fixed.&lt;/P&gt;
&lt;P&gt;If you are tied to the S32 SDK for your development (due to legacy code, etc.), then I would need to report this issue to the support team for the S32 SDK and RTD. This team is also available at:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32-SDK/bd-p/s32sdk" target="_blank"&gt; S32 SDK - NXP Community &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you would like to install and use the RTD instead, which I would highly encourage you to do, it is available from within the S32DS Extensions and Updates menu, look for this package (for you it would not show &lt;EM&gt;Installed&lt;/EM&gt;&lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mikedoidge_0-1654640140875.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/182472iCFAA05860E424C44/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mikedoidge_0-1654640140875.png" alt="mikedoidge_0-1654640140875.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please let me know how you wish to proceed.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2022 22:17:41 GMT</pubDate>
    <dc:creator>mikedoidge</dc:creator>
    <dc:date>2022-06-07T22:17:41Z</dc:date>
    <item>
      <title>S32 DS 3.4 Clock Config</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32-DS-3-4-Clock-Config/m-p/1469373#M8649</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Using the clock tree designer in S32 DS 3.4 is great. It allows very quick changes; but it doesn't generate the resultant code correctly. For example, FlexCAN0 clock comes from the system clock (SYS_CLK @ 48MHz), and the comment in the generated&amp;nbsp;&lt;EM&gt;clock_config.c&lt;/EM&gt; correctly reads:&lt;/P&gt;&lt;P&gt;- {id: FLEXCAN0_CLK.outFreq, value: 48 MHz}&lt;/P&gt;&lt;P&gt;However, further down the same generated file, it says:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;.clockName = FlexCAN0_CLK,&lt;BR /&gt;.clkGate = true,&lt;BR /&gt;.clksrc=CLK_SRC_OFF,&lt;BR /&gt;.frac = MULTIPLY_BY_ONE,&lt;BR /&gt;.divider = DIVIDE_BY_ONE,&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;ie, no clock source (CLK_SRC_OFF).&lt;/P&gt;&lt;P&gt;Is this a known problem?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Gary Partis&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 12:26:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32-DS-3-4-Clock-Config/m-p/1469373#M8649</guid>
      <dc:creator>partis</dc:creator>
      <dc:date>2022-06-06T12:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: S32 DS 3.4 Clock Config</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32-DS-3-4-Clock-Config/m-p/1469538#M8660</link>
      <description>&lt;P&gt;Hi Gary,&lt;/P&gt;
&lt;P&gt;Would you kindly share the installation details so we could know what version is impacted by this issue?&lt;/P&gt;
&lt;P&gt;Help -&amp;gt; S32DS Extensions and Updates, then click on 'Installation Details' at the lower right of the Overview panel.&lt;/P&gt;
&lt;P&gt;If the device you are using is part of a family, please specify the exact processor name.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 21:09:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32-DS-3-4-Clock-Config/m-p/1469538#M8660</guid>
      <dc:creator>mikedoidge</dc:creator>
      <dc:date>2022-06-06T21:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: S32 DS 3.4 Clock Config</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32-DS-3-4-Clock-Config/m-p/1469777#M8662</link>
      <description>&lt;P&gt;Hi Mike&lt;/P&gt;&lt;P&gt;We are targeting an S32K144 LQFP64 device. The installation details of the IDE and extra is thus:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Package: GDB Client for ARM Embedded Processors 9.2 Build 1701; Version: 1701; Build id: 202012011653&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Package: S32 Design Studio Platform package; Version: 3.4.3; Build id: 202112151555&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Package: S32K1xx development package; Version: 3.4.1; Build id: 202106101451&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Package: NXP GCC for Arm Embedded Processors v6.3 build 2017 with EWL2; Version: 2017; Build id: 202005201521&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Package: NXP GCC for Arm Embedded Processors v9.2 build 1649; Version: 1649; Build id: 202005201157&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Package: GNU ARM PEMicro Interface Debugging Support; Version: 5.2.0; Build id: 202203211842&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Package: AMMCLIB for S32K14x devices; Version: 1.1.27; Build id: 202112140821&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Package: S32 Design Studio Platform Tools package; Version: 3.4.3; Build id: 202112151555&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Package: S32SDK S32K1XX RTM 4.0.2; Version: 4.0.2; Build id: 202106110620&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Package: NXP GCC for Arm Embedded Processors Build 1620; Version: 1620; Build id: 202005201521&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Would a copy of the .mex file help find this issue?&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Gary&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 07:09:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32-DS-3-4-Clock-Config/m-p/1469777#M8662</guid>
      <dc:creator>partis</dc:creator>
      <dc:date>2022-06-07T07:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: S32 DS 3.4 Clock Config</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32-DS-3-4-Clock-Config/m-p/1470192#M8666</link>
      <description>&lt;P&gt;Hi Gary,&lt;/P&gt;
&lt;P&gt;I see you have the following package installed:&lt;/P&gt;
&lt;P&gt;Package: S32SDK S32K1XX RTM 4.0.2; Version: 4.0.2; Build id: 202106110620&lt;/P&gt;
&lt;P&gt;But you do not have this package installed:&lt;/P&gt;
&lt;P&gt;Package: RTD S32K1 1.0.0; Version: 1.0.0; Build id: 202108251230&lt;/P&gt;
&lt;P&gt;This means you are using the S32 SDK for S32K1xx, which is no longer actively supported by new development, bug fixes, etc.&lt;/P&gt;
&lt;P&gt;The S32 SDK has been replaced by the &lt;A href="https://www.nxp.com/design/automotive-software-and-tools/real-time-drivers-rtd:AUTOMOTIVE-RTD" target="_blank"&gt;Real-Time Drivers (RTD) | NXP Semiconductors&lt;/A&gt;&amp;nbsp;. Some of the significant differences are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;RTD has both AUTOSAR and NON-AUTOSAR drivers, S32 SDK only has NON-AUTOSAR drivers&lt;/LI&gt;
&lt;LI&gt;RTD supports the newer NXP GCC 9.2, S32 SDK supports the NXP GCC 6.3&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If the issue you reported is a bug, I'm not sure if it would be fixed.&lt;/P&gt;
&lt;P&gt;If you are tied to the S32 SDK for your development (due to legacy code, etc.), then I would need to report this issue to the support team for the S32 SDK and RTD. This team is also available at:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32-SDK/bd-p/s32sdk" target="_blank"&gt; S32 SDK - NXP Community &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you would like to install and use the RTD instead, which I would highly encourage you to do, it is available from within the S32DS Extensions and Updates menu, look for this package (for you it would not show &lt;EM&gt;Installed&lt;/EM&gt;&lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mikedoidge_0-1654640140875.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/182472iCFAA05860E424C44/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mikedoidge_0-1654640140875.png" alt="mikedoidge_0-1654640140875.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please let me know how you wish to proceed.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 22:17:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32-DS-3-4-Clock-Config/m-p/1470192#M8666</guid>
      <dc:creator>mikedoidge</dc:creator>
      <dc:date>2022-06-07T22:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: S32 DS 3.4 Clock Config</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32-DS-3-4-Clock-Config/m-p/1472071#M8674</link>
      <description>&lt;P&gt;Hi Mike&lt;/P&gt;&lt;P&gt;Many thanks for your reply. Rejigging the &lt;EM&gt;mcu_data&lt;/EM&gt; in the .mex file allows use of the different package.&lt;/P&gt;&lt;P&gt;But, whilst the RTD package picks up our existing pin allocation, and part of the clock tree configuration; the drivers have completely different APIs, and more concerningly, no FreeRTOS which was required in this project.&lt;/P&gt;&lt;P&gt;Could I be missing something obvious...?&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 07:38:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32-DS-3-4-Clock-Config/m-p/1472071#M8674</guid>
      <dc:creator>partis</dc:creator>
      <dc:date>2022-06-10T07:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: S32 DS 3.4 Clock Config</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32-DS-3-4-Clock-Config/m-p/1472334#M8679</link>
      <description>&lt;P&gt;Hi Gary,&lt;/P&gt;
&lt;P&gt;I think you may be right.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/98071"&gt;@cuongnguyenvan&lt;/a&gt;&amp;nbsp;, could you please confirm if there is a FreeRTOS package available for RTD users on S32K1xx platforms?&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 16:01:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32-DS-3-4-Clock-Config/m-p/1472334#M8679</guid>
      <dc:creator>mikedoidge</dc:creator>
      <dc:date>2022-06-10T16:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: S32 DS 3.4 Clock Config</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32-DS-3-4-Clock-Config/m-p/1480417#M8765</link>
      <description>&lt;P&gt;Hi Mike&lt;/P&gt;&lt;P&gt;I have now got to the bottom of this &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The reason for failed CAN comms/IRQs/etc is due to the bit time setup within the CAN peripheral module. It was set to 2+Mbaud on a non-CANFD configuration which caused the module not to work (no IRQs for completion, errors, etc). Setting the baudrate to 250Kbaud allowed it all to work correctly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The FlexCAN0 clock source in the generated code was a red herring:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; .clockName = FlexCAN0_CLK,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; .clkGate = true,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; .clkSrc = &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;U&gt;&lt;EM&gt;CLK_SRC_OFF&lt;/EM&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/FONT&gt;,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; .frac = MULTIPLY_BY_ONE,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; .divider = DIVIDE_BY_ONE,&lt;BR /&gt;},&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I'll mark this thread as closed &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 08:24:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32-DS-3-4-Clock-Config/m-p/1480417#M8765</guid>
      <dc:creator>partis</dc:creator>
      <dc:date>2022-06-27T08:24:16Z</dc:date>
    </item>
  </channel>
</rss>

