<?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: KS22 Code generation (clock config) error in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KS22-Code-generation-clock-config-error/m-p/1455248#M63060</link>
    <description>&lt;P&gt;Sorry for the inconvenience we bring you! The KS22 does not support&amp;nbsp;&lt;SPAN&gt;peripheral tool.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 May 2022 00:57:33 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2022-05-10T00:57:33Z</dc:date>
    <item>
      <title>KS22 Code generation (clock config) error</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KS22-Code-generation-clock-config-error/m-p/1383434#M62016</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i have a Problem with the Clock generation of the Config Tool.&lt;/P&gt;&lt;P&gt;The Init routine which is generated uses a different type "sim_clock_config_t".&lt;/P&gt;&lt;P&gt;The generated code tries to initialise the following:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;const sim_clock_config_t simConfig_BOARD_BootClockRUN =
{
.pllFllSel = SIM_PLLFLLSEL_MCGPLLCLK_CLK, /* PLLFLL select: MCGPLLCLK clock */
.pllFllDiv = 0, /* PLLFLLSEL clock divider divisor: divided by 1 */
.pllFllFrac = 0, /* PLLFLLSEL clock divider fraction: multiplied by 1 */
.er32ksrc=SIM_OSC32KSEL_RTC32KCLK_CLK, /* OSC32KSEL select: RTC32KCLK clock (32.768kHz) */
.clkdiv1 = 0x1020000U, /* SIM_CLKDIV1 - OUTDIV1: /1, OUTDIV2: /2, OUTDIV4: /3 */
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;in fsl_clock.h the type is defined like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;typedef struct _sim_clock_config
{
uint8_t pllFllSel; /*!&amp;lt; PLL/FLL/IRC48M selection. */
uint8_t er32kSrc; /*!&amp;lt; ERCLK32K source selection. */
uint32_t clkdiv1; /*!&amp;lt; SIM_CLKDIV1. */
} sim_clock_config_t&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course this fails to compile then.&lt;/P&gt;&lt;P&gt;I use SDK&amp;nbsp; Version 2.4.1 (which is the newest one, though its quite old)&lt;/P&gt;&lt;P&gt;What can I do except commenting this out (because this is reverted every time i use the Config Tools)?&lt;/P&gt;&lt;P&gt;greetings&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 13:02:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KS22-Code-generation-clock-config-error/m-p/1383434#M62016</guid>
      <dc:creator>sero</dc:creator>
      <dc:date>2021-12-08T13:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: KS22 Code generation (clock config) error</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KS22-Code-generation-clock-config-error/m-p/1383669#M62022</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Roland,&lt;/P&gt;
&lt;P&gt;You can refer the answer in: &lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/SIM-Clock-Config-Error/m-p/1324919" target="_self"&gt;SIM Clock Config Error&lt;/A&gt;&lt;BR /&gt;If you do not use the &lt;STRONG&gt;Clocks&lt;/STRONG&gt; tool (only the &lt;STRONG&gt;Pins&lt;/STRONG&gt; tool), then you can try to disable the &lt;STRONG&gt;Clocks&lt;/STRONG&gt; tool.&lt;BR /&gt;Sorry for the inconvenience we bring you!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="disable the Clocks tool.png" style="width: 486px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/164562iF77D3C3B7FC16ACA/image-size/large?v=v2&amp;amp;px=999" role="button" title="disable the Clocks tool.png" alt="disable the Clocks tool.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 02:13:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KS22-Code-generation-clock-config-error/m-p/1383669#M62022</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2021-12-09T02:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: KS22 Code generation (clock config) error</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KS22-Code-generation-clock-config-error/m-p/1454931#M63053</link>
      <description>&lt;P&gt;Hi, I recenty used MCUXpresso Config tool for KS22 but, I see an inconvenience of configuration for KS22. There isn't support peripheral tool. Is it right?&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 10:42:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KS22-Code-generation-clock-config-error/m-p/1454931#M63053</guid>
      <dc:creator>CauTran</dc:creator>
      <dc:date>2022-05-09T10:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: KS22 Code generation (clock config) error</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KS22-Code-generation-clock-config-error/m-p/1455248#M63060</link>
      <description>&lt;P&gt;Sorry for the inconvenience we bring you! The KS22 does not support&amp;nbsp;&lt;SPAN&gt;peripheral tool.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 00:57:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KS22-Code-generation-clock-config-error/m-p/1455248#M63060</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-05-10T00:57:33Z</dc:date>
    </item>
  </channel>
</rss>

