<?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>Kinetis Software Development KitのトピックError in CLOCK_SYS_GetBusClockFreq() SDK function on K64F when running max clock config.</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Error-in-CLOCK-SYS-GetBusClockFreq-SDK-function-on-K64F-when/m-p/512224#M5294</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the K64F with KSDK 1.3. &lt;/P&gt;&lt;P&gt;By inserting the line:&lt;/P&gt;&lt;P&gt;#define CLOCK_SETUP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1u&lt;/P&gt;&lt;P&gt;into the system_MK64F12.h file I have configured the chip to run the pre-configured "Maximum achievable clock frequency configuration".&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, this breaks the the functions that retrieve clock speeds, for example CLOCK_SYS_GetBusClockFreq(). It always returns zero. I debugged a little, and found that it was returning the value of &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;g_xtal0ClkFreq which is also zero. &lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;I can workaround by hard coding the what I know the bus frequency to be, but it's not a preferred solution. Is this an error in the SDK? The function documentation didn't say anything relevant to this issue. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Mar 2016 17:06:15 GMT</pubDate>
    <dc:creator>obi_kwiet</dc:creator>
    <dc:date>2016-03-08T17:06:15Z</dc:date>
    <item>
      <title>Error in CLOCK_SYS_GetBusClockFreq() SDK function on K64F when running max clock config.</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Error-in-CLOCK-SYS-GetBusClockFreq-SDK-function-on-K64F-when/m-p/512224#M5294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the K64F with KSDK 1.3. &lt;/P&gt;&lt;P&gt;By inserting the line:&lt;/P&gt;&lt;P&gt;#define CLOCK_SETUP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1u&lt;/P&gt;&lt;P&gt;into the system_MK64F12.h file I have configured the chip to run the pre-configured "Maximum achievable clock frequency configuration".&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, this breaks the the functions that retrieve clock speeds, for example CLOCK_SYS_GetBusClockFreq(). It always returns zero. I debugged a little, and found that it was returning the value of &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;g_xtal0ClkFreq which is also zero. &lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;I can workaround by hard coding the what I know the bus frequency to be, but it's not a preferred solution. Is this an error in the SDK? The function documentation didn't say anything relevant to this issue. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 17:06:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Error-in-CLOCK-SYS-GetBusClockFreq-SDK-function-on-K64F-when/m-p/512224#M5294</guid>
      <dc:creator>obi_kwiet</dc:creator>
      <dc:date>2016-03-08T17:06:15Z</dc:date>
    </item>
  </channel>
</rss>

