<?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 How to change clock setting on MCUBoot? in MCU Bootloader</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/How-to-change-clock-setting-on-MCUBoot/m-p/823671#M844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a custom KV11Z128VLF7 on which I am using the internal clock with the details below:&lt;/P&gt;&lt;PRE style="color: #000000;"&gt;name: BOARD_BootClockRUN called_from_default_init: true outputs: - {id: Bus_clock.outFreq, value: 4/3 MHz} - {id: Core_clock.outFreq, value: 4 MHz} - {id: LPO_clock.outFreq, value: 1 kHz} - {id: MCGFLLCLK.outFreq, value: 71.991296 MHz} - {id: System_clock.outFreq, value: 4 MHz} settings: - {id: MCGMode, value: FBI} - {id: MCG.CLKS.sel, value: MCG.IRCS} - {id: MCG.FCRDIV.scale, value: '1', locked: true} - {id: MCG.FLL_mul.scale, value: '2197', locked: true} - {id: MCG.IRCS.sel, value: MCG.FCRDIV} - {id: SIM.OUTDIV1.scale, value: '1', locked: true} - {id: SIM.OUTDIV4.scale, value: '3', locked: true}

&lt;SPAN style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I wanted to use the MCUboot&amp;nbsp;bootloader on this device. Can someone help me with the configuration setting?&lt;BR /&gt;I have attached the bootloader source file for clock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jun 2018 16:29:36 GMT</pubDate>
    <dc:creator>anoja</dc:creator>
    <dc:date>2018-06-26T16:29:36Z</dc:date>
    <item>
      <title>How to change clock setting on MCUBoot?</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/How-to-change-clock-setting-on-MCUBoot/m-p/823671#M844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a custom KV11Z128VLF7 on which I am using the internal clock with the details below:&lt;/P&gt;&lt;PRE style="color: #000000;"&gt;name: BOARD_BootClockRUN called_from_default_init: true outputs: - {id: Bus_clock.outFreq, value: 4/3 MHz} - {id: Core_clock.outFreq, value: 4 MHz} - {id: LPO_clock.outFreq, value: 1 kHz} - {id: MCGFLLCLK.outFreq, value: 71.991296 MHz} - {id: System_clock.outFreq, value: 4 MHz} settings: - {id: MCGMode, value: FBI} - {id: MCG.CLKS.sel, value: MCG.IRCS} - {id: MCG.FCRDIV.scale, value: '1', locked: true} - {id: MCG.FLL_mul.scale, value: '2197', locked: true} - {id: MCG.IRCS.sel, value: MCG.FCRDIV} - {id: SIM.OUTDIV1.scale, value: '1', locked: true} - {id: SIM.OUTDIV4.scale, value: '3', locked: true}

&lt;SPAN style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I wanted to use the MCUboot&amp;nbsp;bootloader on this device. Can someone help me with the configuration setting?&lt;BR /&gt;I have attached the bootloader source file for clock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 16:29:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/How-to-change-clock-setting-on-MCUBoot/m-p/823671#M844</guid>
      <dc:creator>anoja</dc:creator>
      <dc:date>2018-06-26T16:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to change clock setting on MCUBoot?</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/How-to-change-clock-setting-on-MCUBoot/m-p/823672#M845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anoja&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a special reason for you to want to set the clocks with this setup??? in the MCUboot there is a user_entry and a shutdown_cleanup. after it finished to flash the application, the bootloader then will set the MCU as default, and it will clean all the clocks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any case, I would not recommend to change the clock configuration in the source code, there is the BCA section that can be set to work in Highspeed and set some dividers to set the system clock. Please check the Kinetis Bootloader Reference Manual in the 2.3 BCA section:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/reference-manual/KBTLDR200RM.pdf" title="https://www.nxp.com/docs/en/reference-manual/KBTLDR200RM.pdf"&gt;https://www.nxp.com/docs/en/reference-manual/KBTLDR200RM.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2018 16:19:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/How-to-change-clock-setting-on-MCUBoot/m-p/823672#M845</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2018-07-03T16:19:39Z</dc:date>
    </item>
  </channel>
</rss>

