<?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: Setting CLK_OSC32M_DIV to 0 results in runtime error in MCUXpresso General</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1077165#M3682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's great to hear, please let us know if you need any further information or have further issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Apr 2020 15:09:07 GMT</pubDate>
    <dc:creator>Sebastian_Del_Rio</dc:creator>
    <dc:date>2020-04-29T15:09:07Z</dc:date>
    <item>
      <title>Setting CLK_OSC32M_DIV to 0 results in runtime error</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1077157#M3674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to set the&amp;nbsp;&lt;STRONG&gt;CLK_OSC32M_DIV&lt;/STRONG&gt; bit of the System Clock Divider Register to 0, in order to use the original 32 MHz clock, undivided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After importing from the "GPIO led output" SDK example project, I am trying to change this line:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P class=""&gt;CLOCK_SetClkDiv(&lt;SPAN class=""&gt;&lt;EM&gt;kCLOCK_DivOsc32mClk&lt;/EM&gt;&lt;/SPAN&gt;, 1U);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Into this line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P class=""&gt;CLOCK_SetClkDiv(&lt;SPAN class=""&gt;&lt;EM&gt;kCLOCK_DivOsc32mClk&lt;/EM&gt;&lt;/SPAN&gt;, 0U);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This results in a runtime error.&lt;/P&gt;&lt;P&gt;What could be going wrong here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2020 15:11:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1077157#M3674</guid>
      <dc:creator>urban_sharon</dc:creator>
      <dc:date>2020-04-08T15:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Setting CLK_OSC32M_DIV to 0 results in runtime error</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1077158#M3675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sharon,&lt;/P&gt;&lt;P&gt;Hope you are doing well.&lt;/P&gt;&lt;P&gt;Could you please tell us the microcontroller you are using so we can assign the correct engineer to help you?&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2020 20:48:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1077158#M3675</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-04-08T20:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Setting CLK_OSC32M_DIV to 0 results in runtime error</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1077159#M3676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I an using QN9080 DK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2020 13:39:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1077159#M3676</guid>
      <dc:creator>urban_sharon</dc:creator>
      <dc:date>2020-04-09T13:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Setting CLK_OSC32M_DIV to 0 results in runtime error</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1077160#M3677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharon, I hope you're doing well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I wasn't able to replicate the issue you're having.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed the call to the &lt;STRONG&gt;CLOCK_SetClkDiv&lt;/STRONG&gt; inside of the &lt;STRONG&gt;BOARD_BootClockRUN&lt;/STRONG&gt; function (which is called of main, in the &lt;STRONG&gt;gpio_led_output.c&lt;/STRONG&gt; source file) to the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="token function"&gt;CLOCK_SetClkDiv&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;kCLOCK_DivOsc32mClk&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0U&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please tell me where was this line changed? Or if any other changes were done to the code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2020 17:36:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1077160#M3677</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-04-09T17:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Setting CLK_OSC32M_DIV to 0 results in runtime error</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1077161#M3678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for the kind help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to resolve this by using the GUI code generator of the IDE for the clocks configuration. I am not sure what was to source of the issue, originally.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2020 08:44:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1077161#M3678</guid>
      <dc:creator>urban_sharon</dc:creator>
      <dc:date>2020-04-13T08:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Setting CLK_OSC32M_DIV to 0 results in runtime error</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1077162#M3679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;The issue now reproduces.&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;After using the clock configuration tool to generate the clock configuration block of the source code, and while tracing over it, a 'step over' action over this command:&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;CLOCK_SetClkDiv(kCLOCK_DivAhbClk, 0U);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*!&amp;lt; Set AHB_DIV divider to value 1 */&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;Results in this:&lt;/DIV&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro" style="background-attachment: scroll; background-clip: border-box; background-color: #f6f6f6; background-image: none; background-origin: padding-box; background-position-x: 0%; background-position-y: 0%; background-repeat: repeat; background-size: auto; border-left-color: #cccccc; border-left-style: solid; border-left-width: 2px; color: #3d3d3d; font-family: inherit; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 10px 20px 10px 20px; margin: 10px 0px 10px 0px;"&gt;&lt;P style="overflow-wrap: break-word; padding: 0px; margin: 0px;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __asm(&amp;nbsp; ".syntax unified\n"&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2020 11:08:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1077162#M3679</guid>
      <dc:creator>urban_sharon</dc:creator>
      <dc:date>2020-04-14T11:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Setting CLK_OSC32M_DIV to 0 results in runtime error</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1077163#M3680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the QN9080DK being debugged using the USB SWD/JTAG port? Or is it being debugged using the JTAG connector marked "P1"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2020 19:04:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1077163#M3680</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-04-14T19:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Setting CLK_OSC32M_DIV to 0 results in runtime error</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1077164#M3681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;SPAN style="color: #000011;"&gt;&amp;nbsp;Sebastián, I was able to resolve this by comparing the generated code of the broken project and another one that worked... I did manage to find a difference in the generated code and once I applied the change manually things started to work...&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; left: 0px; letter-spacing: normal; orphans: 2; position: absolute; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; top: 10px; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;&lt;/DIV&gt;&lt;DIV style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;&lt;DIV style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #3d9ce7; fill: #3d9ce7; font-family: inherit; font-size: 14px; font-style: inherit; font-weight: inherit; overflow: hidden; overflow-wrap: break-word; position: relative; vertical-align: baseline; border-width: 0px 0px medium 0px; border-color: currentColor; border-style: none; padding: 0px; margin: 0px 0px 20px 0px;"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 13:32:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1077164#M3681</guid>
      <dc:creator>urban_sharon</dc:creator>
      <dc:date>2020-04-29T13:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Setting CLK_OSC32M_DIV to 0 results in runtime error</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1077165#M3682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's great to hear, please let us know if you need any further information or have further issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 15:09:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1077165#M3682</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-04-29T15:09:07Z</dc:date>
    </item>
  </channel>
</rss>

