<?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: Error detected in the function BOARD_SetRunClock() in Clock_config_ocram.c of SDK_2.2_MCIM6ULL in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Error-detected-in-the-function-BOARD-SetRunClock-in-Clock-config/m-p/1533303#M196037</link>
    <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I Hope you are doing well.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Please find some details regarding this.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;2. But when I look at the reference manual, the register&amp;nbsp;CCM_CCSR is responsible for selecting the clock source of pll3_sw_clk rather than CCM_CBCDR. Is that right?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;-&amp;gt; Yes, It should be CCSR register, But unfortunately SDK_2.2_MXC6ULL is an older version and also the package SDK_2.2_MXC6ULL is not supported anymore and there are no updates/fixes for it.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards&lt;/DIV&gt;
&lt;DIV&gt;Sanket Parekh&lt;/DIV&gt;</description>
    <pubDate>Thu, 06 Oct 2022 09:41:41 GMT</pubDate>
    <dc:creator>Sanket_Parekh</dc:creator>
    <dc:date>2022-10-06T09:41:41Z</dc:date>
    <item>
      <title>Error detected in the function BOARD_SetRunClock() in Clock_config_ocram.c of SDK_2.2_MCIM6ULL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-detected-in-the-function-BOARD-SetRunClock-in-Clock-config/m-p/1528899#M195692</link>
      <description>&lt;P&gt;Hi NXP support team,&lt;/P&gt;&lt;P&gt;When I read the source code in the package SDK_2.2_MCIM6ULL. I have a few questions, take the demo hello_world as an example:&lt;/P&gt;&lt;P&gt;1. Why every demo_app project invokes&amp;nbsp;BOARD_SetRunClock() every time? And when I dig into the source code, the comments section tells me that this function is resident in ocram. And this function was invoked by inline assembly code. my question is: why do the demo project need to do so? and as the reference manual says, the clock values are set by the boot rom code.&lt;/P&gt;&lt;P&gt;2. After looking into the function&amp;nbsp;BOARD_SetRunClock(), it seems that, something wrong, see code excerpt below:&lt;/P&gt;&lt;P&gt;/* &lt;STRONG&gt;Select PLL3 to generate pll3_sw_clk&lt;/STRONG&gt; */&lt;BR /&gt;CCM-&amp;gt;&lt;STRONG&gt;CBCDR&lt;/STRONG&gt; = (CCM-&amp;gt;CBCDR &amp;amp; ~CCM_CCSR_PLL3_SW_CLK_SEL_MASK) | CCM_CCSR_PLL3_SW_CLK_SEL(0);&lt;/P&gt;&lt;P&gt;But when I look at the reference manual, the register&amp;nbsp;CCM_CCSR is responsible for selecting the clock source of pll3_sw_clk rather than CCM_CBCDR. Is that right?&lt;/P&gt;&lt;P&gt;Looking forward to hearing from you experts.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Fisher&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 14:20:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-detected-in-the-function-BOARD-SetRunClock-in-Clock-config/m-p/1528899#M195692</guid>
      <dc:creator>fisher-001</dc:creator>
      <dc:date>2022-09-27T14:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error detected in the function BOARD_SetRunClock() in Clock_config_ocram.c of SDK_2.2_MCIM6ULL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-detected-in-the-function-BOARD-SetRunClock-in-Clock-config/m-p/1531957#M195938</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206891"&gt;@fisher-001&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;I hope you are doing well.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;Please find my answers from below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN class="uiOutputText"&gt;Why every demo_app project invokes&amp;nbsp;BOARD_SetRunClock() every time? And when I dig into the source code, the comments section tells me that this function is resident in ocram. And this function was invoked by inline assembly code. my question is: why do the demo project need to do so?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;-&amp;gt; The demo project needs to do so because every demo app invokes the BOARD_SetRunClock() to select and modify the clock settings for our demo app as per our need. This is true that clock values are set by the boot rom code, but that is only for booting and initialization purposes. And Yes, This is part of ocram as per comments that can be used after boot also for our demo app.&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN class="uiOutputText"&gt;But when I look at the reference manual, the register&amp;nbsp;CCM_CCSR is responsible for selecting the clock source of pll3_sw_clk rather than CCM_CBCDR. Is that right?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;-&amp;gt; In the register configuration for &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="uiOutputText"&gt;pll3_sw_clk&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="uiOutputText"&gt;, We are looking into it. we will get back to you soon.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;Thanks &amp;amp; Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;Sanket Parekh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 07:15:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-detected-in-the-function-BOARD-SetRunClock-in-Clock-config/m-p/1531957#M195938</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2022-10-04T07:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error detected in the function BOARD_SetRunClock() in Clock_config_ocram.c of SDK_2.2_MCIM6ULL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-detected-in-the-function-BOARD-SetRunClock-in-Clock-config/m-p/1533303#M196037</link>
      <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I Hope you are doing well.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Please find some details regarding this.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;2. But when I look at the reference manual, the register&amp;nbsp;CCM_CCSR is responsible for selecting the clock source of pll3_sw_clk rather than CCM_CBCDR. Is that right?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;-&amp;gt; Yes, It should be CCSR register, But unfortunately SDK_2.2_MXC6ULL is an older version and also the package SDK_2.2_MXC6ULL is not supported anymore and there are no updates/fixes for it.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards&lt;/DIV&gt;
&lt;DIV&gt;Sanket Parekh&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Oct 2022 09:41:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-detected-in-the-function-BOARD-SetRunClock-in-Clock-config/m-p/1533303#M196037</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2022-10-06T09:41:41Z</dc:date>
    </item>
  </channel>
</rss>

