<?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 Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1068097#M9572</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shai, 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 your customer is having.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed the call to the CLOCK_SetClkDiv inside of the BOARD_BootClockRUN function (which is called of main, in the gpio_led_output.c 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;There are other existing clock division settings, each managing one of the different clocks. These can also be seen in the BOARD_BootClockRUN function I mentioned previously, but the clock divider you're changing should be the only needed function for this purpose.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you need any more information.&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:39:24 GMT</pubDate>
    <dc:creator>Sebastian_Del_Rio</dc:creator>
    <dc:date>2020-04-09T17:39:24Z</dc:date>
    <item>
      <title>Setting CLK_OSC32M_DIV to 0 results in runtime error</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1068096#M9571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello team,&lt;/P&gt;&lt;P&gt;My customer is&amp;nbsp;trying to maximize the throughput of the processor, by minimizing the clock's divisions.&lt;/P&gt;&lt;P&gt;please find his inquires below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) My specific question is: how to change the CLK_OSC32M_DIV register from its default value of 1 to 0: from 16 Mhz to 32 Mhz.&lt;/P&gt;&lt;P&gt;What I am trying to do is:&lt;/P&gt;&lt;P&gt;CLOCK_SetClkDiv(kCLOCK_DivOsc32mClk, 0U);&lt;/P&gt;&lt;P&gt;Which results in a runtime error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Additionally, if you could spot some more clock division settings that I am missing, I would appreciate it.&lt;/P&gt;&lt;P&gt;I couldn't attach his project but he used&amp;nbsp;GPIO Driver example code from the QN9080 SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise back and stay safe.&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Shai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 09:18:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1068096#M9571</guid>
      <dc:creator>shai_b</dc:creator>
      <dc:date>2020-04-07T09:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Setting CLK_OSC32M_DIV to 0 results in runtime error</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1068097#M9572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shai, 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 your customer is having.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed the call to the CLOCK_SetClkDiv inside of the BOARD_BootClockRUN function (which is called of main, in the gpio_led_output.c 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;There are other existing clock division settings, each managing one of the different clocks. These can also be seen in the BOARD_BootClockRUN function I mentioned previously, but the clock divider you're changing should be the only needed function for this purpose.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you need any more information.&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:39:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1068097#M9572</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-04-09T17:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Setting CLK_OSC32M_DIV to 0 results in runtime error</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1068098#M9573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;Sebastian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to upload his project files., please review the attached (.zip) and advise back.&lt;/P&gt;&lt;P&gt;Thanks in advice&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Shai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2020 10:01:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1068098#M9573</guid>
      <dc:creator>shai_b</dc:creator>
      <dc:date>2020-04-10T10:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Setting CLK_OSC32M_DIV to 0 results in runtime error</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1068099#M9574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shai,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I imported the attached project to my MCUXpresso installation and unfortunately I still wasn't able to replicate the issue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/105946i8EA0A0464232411B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could you please let me know if your customer is using our QN9080-DK board or if they are using a custom board?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2020 15:34:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1068099#M9574</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-04-10T15:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Setting CLK_OSC32M_DIV to 0 results in runtime error</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1068100#M9575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sebastián,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the customer is using&amp;nbsp;the QN9080-DK board.&lt;/P&gt;&lt;P&gt;Do you need any additional information from my side to address this issue?&lt;/P&gt;&lt;P&gt;Thanks in advance&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Shai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Apr 2020 13:03:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1068100#M9575</guid>
      <dc:creator>shai_b</dc:creator>
      <dc:date>2020-04-11T13:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Setting CLK_OSC32M_DIV to 0 results in runtime error</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1068101#M9576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please take a look at this post &lt;A _jive_internal="true" href="https://community.nxp.com/thread/529419"&gt;here&lt;/A&gt;?&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:05:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Setting-CLK-OSC32M-DIV-to-0-results-in-runtime-error/m-p/1068101#M9576</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-04-14T19:05:20Z</dc:date>
    </item>
  </channel>
</rss>

