<?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: PLL4 (audio PLL) on CLKO2 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/PLL4-audio-PLL-on-CLKO2/m-p/1170670#M163771</link>
    <description>&lt;P&gt;Hi johannesdev&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;..CLKO2 should now show any transition (at least any vital sign of the PLL)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can try to test it on i.MX6UL EVK board (mux JTAG_TDO pad) with Demo Images&lt;/P&gt;
&lt;P&gt;from&amp;nbsp; &lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab" target="_blank"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Use default PLL4 settings, for setting of CCM_CCOSR use memtool&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/imx-test/tree/test/memtool?h=imx_5.4.24_2.1.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-test/tree/test/memtool?h=imx_5.4.24_2.1.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Note PLL4 can not be programmed directly to 27MHz as allowable range is 650 MHz ~1.3 GHz&lt;/P&gt;
&lt;P&gt;according to sect.4.4 PLL’s electrical characteristics&lt;/P&gt;
&lt;P&gt;&lt;A id="relatedDocsClick_1" href="https://www.nxp.com/docs/en/data-sheet/IMX6ULCEC.pdf" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;i.MX 6UltraLite Applications Processors for Consumer Products Data Sheet&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
    <pubDate>Wed, 21 Oct 2020 04:02:07 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2020-10-21T04:02:07Z</dc:date>
    <item>
      <title>PLL4 (audio PLL) on CLKO2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PLL4-audio-PLL-on-CLKO2/m-p/1170402#M163745</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;For an external chip I would need a 27MHz clock signal which I'd like to create using PLL4 within the I.MX6UL. Currently I'm in an evaluation stage so I'm using the &lt;EM&gt;devmem&lt;/EM&gt; command within &lt;EM&gt;busybox&lt;/EM&gt; to write and read registers.&lt;/P&gt;&lt;P&gt;So far I started successfully PLL4 with the appropriate registers. At least PLL4's lock-bit can be read as locked, as the MSB of the 32 bits is high:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# devmem 0x20C8070 32
0x8000201F&lt;/LI-CODE&gt;&lt;P&gt;Next step would be to output the clock on pin A2, CCM_CLKO2. However, I cannot achieve this using the CCM_CCOSR register. I try the following here:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;CLKO_SEL = 1111 to get the PLL4 output clk&lt;/LI&gt;&lt;LI&gt;CLKO1_EN = 1 for enabling the output pin&lt;BR /&gt;and&lt;/LI&gt;&lt;LI&gt;CLK_OUT_SEL = 1 for outputting CLKO1 on CLKO2&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Since I used the CLK_OUT_SEL bit, CLKO2 should now show any transition (at least any vital sign of the PLL). However, I does not :-(. This stays the same when I try any other CLKO1 clock inputs. Thus, what is the right setting of CCM_CCOSR? Should be CLKO2_EN = 0 and CLKO2_SEL[..] = XXX as &lt;A href="https://community.nxp.com/t5/i-MX-Processors/CLKO-Terminology-Meaning-of-CLK-OUT-SEL/m-p/601218" target="_blank"&gt;another post shows&lt;/A&gt; ?&lt;/P&gt;&lt;P&gt;One more thought: When I output mmdc_clk on CLKO2 (via CCM_CLKO2 and &lt;STRONG&gt;/8&lt;/STRONG&gt; using the corresponding divider), I see a 50MHz signal on the pin. Hence the IOMUX setting is correct.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 14:26:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PLL4-audio-PLL-on-CLKO2/m-p/1170402#M163745</guid>
      <dc:creator>johannesdev</dc:creator>
      <dc:date>2020-10-20T14:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: PLL4 (audio PLL) on CLKO2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PLL4-audio-PLL-on-CLKO2/m-p/1170670#M163771</link>
      <description>&lt;P&gt;Hi johannesdev&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;..CLKO2 should now show any transition (at least any vital sign of the PLL)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can try to test it on i.MX6UL EVK board (mux JTAG_TDO pad) with Demo Images&lt;/P&gt;
&lt;P&gt;from&amp;nbsp; &lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab" target="_blank"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Use default PLL4 settings, for setting of CCM_CCOSR use memtool&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/imx-test/tree/test/memtool?h=imx_5.4.24_2.1.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-test/tree/test/memtool?h=imx_5.4.24_2.1.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Note PLL4 can not be programmed directly to 27MHz as allowable range is 650 MHz ~1.3 GHz&lt;/P&gt;
&lt;P&gt;according to sect.4.4 PLL’s electrical characteristics&lt;/P&gt;
&lt;P&gt;&lt;A id="relatedDocsClick_1" href="https://www.nxp.com/docs/en/data-sheet/IMX6ULCEC.pdf" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;i.MX 6UltraLite Applications Processors for Consumer Products Data Sheet&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 04:02:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PLL4-audio-PLL-on-CLKO2/m-p/1170670#M163771</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-10-21T04:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: PLL4 (audio PLL) on CLKO2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PLL4-audio-PLL-on-CLKO2/m-p/1170965#M163812</link>
      <description>&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;thank you for your reply. I totally forgot that CLKO1 can be output on JTAG_TMS as well. Here I can easily output the 27MHz clock (whereas the PLL4 output is approx. 860MHz). Although the CLK_OUT_SEL bit stays a mystery to me.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;johannes&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 11:16:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PLL4-audio-PLL-on-CLKO2/m-p/1170965#M163812</guid>
      <dc:creator>johannesdev</dc:creator>
      <dc:date>2020-10-21T11:16:14Z</dc:date>
    </item>
  </channel>
</rss>

