<?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: BOARD_BootClockFROHF96M is slower than 48MHz in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/BOARD-BootClockFROHF96M-is-slower-than-48MHz/m-p/845940#M1133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem has been solved!&amp;nbsp; Basically there are a couple of other places in the code containing&lt;/P&gt;&lt;P&gt;CLOCK_AttachClk(kFRO12M_to_MAIN_CLK);&lt;/P&gt;&lt;P&gt;Eg a segment of code copied from an example for driving the SPI bus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jan 2019 11:24:58 GMT</pubDate>
    <dc:creator>steverudd</dc:creator>
    <dc:date>2019-01-03T11:24:58Z</dc:date>
    <item>
      <title>BOARD_BootClockFROHF96M is slower than 48MHz</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/BOARD-BootClockFROHF96M-is-slower-than-48MHz/m-p/845939#M1132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the LPC54606J512 processor with an external 12MHz crystal.&lt;/P&gt;&lt;P&gt;IDE is MCUXpresso v10.2.1&lt;/P&gt;&lt;P&gt;See also attached files for clock_config.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See clock_config.h lines 45,46,47&amp;nbsp; to set for 48MHz I comment out lines 46 &amp;amp; 47, To set for 180MHz I comment out Lines 45 &amp;amp; 46.&lt;/P&gt;&lt;P&gt;In clock_config.c the function&amp;nbsp;void &lt;STRONG&gt;BOARD_BootClockPLL180M&lt;/STRONG&gt;(void) has been modded based on the original code and a version found on the internet. NB Line 282 is commented out because it causes the processor to stop dead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the main body of the code I am toggling a GPIO pin in order to determine how much time a particular function is taking.&lt;/P&gt;&lt;P&gt;When set to 48MHz the function takes 45mS,&lt;/P&gt;&lt;P&gt;at 96MHz it takes 53mS&lt;/P&gt;&lt;P&gt;at 180MHz it takes 110mS.&lt;/P&gt;&lt;P&gt;In other words setting a higher frequency makes the thing run slower !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question:-&lt;/P&gt;&lt;P&gt;Do I have the latest (and correct) clock_config files for the 54606?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2019 15:11:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/BOARD-BootClockFROHF96M-is-slower-than-48MHz/m-p/845939#M1132</guid>
      <dc:creator>steverudd</dc:creator>
      <dc:date>2019-01-02T15:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: BOARD_BootClockFROHF96M is slower than 48MHz</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/BOARD-BootClockFROHF96M-is-slower-than-48MHz/m-p/845940#M1133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem has been solved!&amp;nbsp; Basically there are a couple of other places in the code containing&lt;/P&gt;&lt;P&gt;CLOCK_AttachClk(kFRO12M_to_MAIN_CLK);&lt;/P&gt;&lt;P&gt;Eg a segment of code copied from an example for driving the SPI bus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2019 11:24:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/BOARD-BootClockFROHF96M-is-slower-than-48MHz/m-p/845940#M1133</guid>
      <dc:creator>steverudd</dc:creator>
      <dc:date>2019-01-03T11:24:58Z</dc:date>
    </item>
  </channel>
</rss>

