<?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>MCUXpresso SDKのトピックRe: Frequency check in SDK function CLOCK_SetupExtClocking()</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/Frequency-check-in-SDK-function-CLOCK-SetupExtClocking/m-p/1269242#M3151</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/13370"&gt;@dougpaulsen&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;I also think this is a bug in the SDK and suggested change should be implemented. I'll let know the SDK team about this issue.&lt;/P&gt;
&lt;P&gt;Thanks a lot for your feedback.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Alexis Andalon&lt;/P&gt;</description>
    <pubDate>Wed, 28 Apr 2021 02:35:36 GMT</pubDate>
    <dc:creator>Alexis_A</dc:creator>
    <dc:date>2021-04-28T02:35:36Z</dc:date>
    <item>
      <title>Frequency check in SDK function CLOCK_SetupExtClocking()</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Frequency-check-in-SDK-function-CLOCK-SetupExtClocking/m-p/1267273#M3145</link>
      <description>&lt;P&gt;Actually, the hardware guy found this and challenged me on it, and I think he's right.&lt;/P&gt;&lt;P&gt;Working with MCUXpresso 11.3.0 and the LPC55S16 SDK, the function CLOCK_SetupExtClocking() in fsl_clock.c reads:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;status_t CLOCK_SetupExtClocking(uint32_t iFreq)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; if (iFreq &amp;gt;= 32000000U)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return kStatus_Fail;&lt;/EM&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ....&lt;/P&gt;&lt;P&gt;Since the maximum external clock is 32 MHz, this function will fail if one happens to be so unlucky as to have such a buzzer attached. For better or worse, the automatically generated call to &lt;EM&gt;CLOCK_SetupExtClocking()&lt;/EM&gt; in function &lt;EM&gt;BOARD_BootClock&amp;lt;whatever you've got setup&amp;gt;()&lt;/EM&gt; doesn't test the return value so code execution continues merrily on its way.&lt;/P&gt;&lt;P&gt;Shouldn't the parameter iFreq test be one of "&amp;gt;", rather than the current "&amp;gt;="?&lt;/P&gt;&lt;P&gt;Fortunately our board happens to use a 16 MHz on XTAL32M, but we were surprised when intentionally erroneously setting the XTAL32M to 32 MHz in the config tool DIDN'T end up with slow timers, etc.&lt;/P&gt;&lt;P&gt;Thanks for your thoughts!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 12:32:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Frequency-check-in-SDK-function-CLOCK-SetupExtClocking/m-p/1267273#M3145</guid>
      <dc:creator>dougpaulsen</dc:creator>
      <dc:date>2021-04-23T12:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Frequency check in SDK function CLOCK_SetupExtClocking()</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Frequency-check-in-SDK-function-CLOCK-SetupExtClocking/m-p/1267276#M3146</link>
      <description>&lt;P&gt;Sorry!&amp;nbsp; Forgot to identify the referenced code as from SDK_2.x_LPCXpresso55S16 version 2.9.0(435-2021-01-15) ...&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 12:38:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Frequency-check-in-SDK-function-CLOCK-SetupExtClocking/m-p/1267276#M3146</guid>
      <dc:creator>dougpaulsen</dc:creator>
      <dc:date>2021-04-23T12:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Frequency check in SDK function CLOCK_SetupExtClocking()</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Frequency-check-in-SDK-function-CLOCK-SetupExtClocking/m-p/1269242#M3151</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/13370"&gt;@dougpaulsen&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;I also think this is a bug in the SDK and suggested change should be implemented. I'll let know the SDK team about this issue.&lt;/P&gt;
&lt;P&gt;Thanks a lot for your feedback.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Alexis Andalon&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 02:35:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Frequency-check-in-SDK-function-CLOCK-SetupExtClocking/m-p/1269242#M3151</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2021-04-28T02:35:36Z</dc:date>
    </item>
  </channel>
</rss>

