<?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: Configure DDR Clock for imx7D in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Configure-DDR-Clock-for-imx7D/m-p/756116#M117605</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;uboot uses default frequency, described in Table 6-28. Clock Root Setting by ROM&lt;/P&gt;&lt;P&gt;i.MX7D Reference Manual, note 533MHz is max. ddr frequency supported by&amp;nbsp;DDR Controller&lt;/P&gt;&lt;P&gt;(DDRC) i.MX7D, as described in sect.1.4.7 External Memory Interface.&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcache.nxp.com%2Ffiles%2F32bit%2Fdoc%2Fref_manual%2FIMX7DRM.pdf" rel="nofollow" target="_blank"&gt;http://cache.nxp.com/files/32bit/doc/ref_manual/IMX7DRM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2018 02:02:05 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2018-05-21T02:02:05Z</dc:date>
    <item>
      <title>Configure DDR Clock for imx7D</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configure-DDR-Clock-for-imx7D/m-p/756115#M117604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #f2f2f5; font-size: 14px;"&gt;Hi, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #f2f2f5; font-size: 14px;"&gt;We have a custom board based on imx7d7dvk10sc.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #646464; background-color: #f2f2f5; font-size: 14px;"&gt;We&amp;nbsp;assume&amp;nbsp;the current DDR is running at 666.6 MHz. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #f2f2f5; font-size: 14px;"&gt;But we are not able to confirm this in uboot source code. Could some one point me how can I print the ddr frequency in uboot reading from appropriate .cfg files.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #f2f2f5; font-size: 14px;"&gt;Looking forward for inputs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #f2f2f5; font-size: 14px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #f2f2f5; font-size: 14px;"&gt;Siva&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 11:00:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configure-DDR-Clock-for-imx7D/m-p/756115#M117604</guid>
      <dc:creator>sivaprasadtirul</dc:creator>
      <dc:date>2018-05-15T11:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Configure DDR Clock for imx7D</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configure-DDR-Clock-for-imx7D/m-p/756116#M117605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;uboot uses default frequency, described in Table 6-28. Clock Root Setting by ROM&lt;/P&gt;&lt;P&gt;i.MX7D Reference Manual, note 533MHz is max. ddr frequency supported by&amp;nbsp;DDR Controller&lt;/P&gt;&lt;P&gt;(DDRC) i.MX7D, as described in sect.1.4.7 External Memory Interface.&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcache.nxp.com%2Ffiles%2F32bit%2Fdoc%2Fref_manual%2FIMX7DRM.pdf" rel="nofollow" target="_blank"&gt;http://cache.nxp.com/files/32bit/doc/ref_manual/IMX7DRM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 02:02:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configure-DDR-Clock-for-imx7D/m-p/756116#M117605</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-05-21T02:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Configure DDR Clock for imx7D</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configure-DDR-Clock-for-imx7D/m-p/756117#M117606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. So, is that possible to lower the DDRC frequency below 533 MHz?&lt;/P&gt;&lt;P&gt;If so what are the possible options of various clocks that I can assign ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you also please point me to do it in the right way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking you in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 09:22:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configure-DDR-Clock-for-imx7D/m-p/756117#M117606</guid>
      <dc:creator>sivaprasadtirul</dc:creator>
      <dc:date>2018-05-21T09:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Configure DDR Clock for imx7D</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configure-DDR-Clock-for-imx7D/m-p/756118#M117607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nxp uboot does not change ddr frequency. It can be changed in linux, example below :&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/mach-imx/ddr3_freq_imx7d.S?h=imx_4.1.15_2.0.0_ga" rel="nofollow" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/mach-imx/ddr3_freq_imx7d.S?h=imx_4.1.15_2.0.0_ga&lt;/A&gt;&lt;BR /&gt;So it is necessary to add such codes to uboot, note code for ddr frequency change&lt;/P&gt;&lt;P&gt;should be performed from IRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 23:31:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configure-DDR-Clock-for-imx7D/m-p/756118#M117607</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-05-21T23:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Configure DDR Clock for imx7D</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configure-DDR-Clock-for-imx7D/m-p/756119#M117608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;I have enabled the bus frequency driver using the below&amp;nbsp;&lt;/P&gt;&lt;P&gt;echo 1 &amp;gt; /sys/bus/platform/drivers/imx_busfreq/soc\:busfreq/enable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* To change to&amp;nbsp;Audio Playback setpoint on iMx7Dual to operate ddr @ 100 MHz on the fly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- I wrote a test driver to call the&amp;nbsp;&lt;STRONG&gt;update_ddr_freq_imx_smp(100000000) API&lt;/STRONG&gt; to force ddr frequency to 100 MHz. But I don't see the frequency change when I measured using oscilloscope. Still, the system runs on 533 MHz&lt;/P&gt;&lt;P&gt;&amp;nbsp; - I also tried to change the default setting of bus frequency to 100 MHz in the device tree. But the system bootsup with again 533 MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this right approach to change the frequency on the fly while system is running ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 12:54:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configure-DDR-Clock-for-imx7D/m-p/756119#M117608</guid>
      <dc:creator>sivaprasadtirul</dc:creator>
      <dc:date>2018-05-22T12:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Configure DDR Clock for imx7D</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configure-DDR-Clock-for-imx7D/m-p/756120#M117609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can follow sect.2.3.4.2 Software Operation attached Linux Manual,&lt;/P&gt;&lt;P&gt;start audio playback and turn off lcd. Linux automatically changes frequency using&lt;/P&gt;&lt;P&gt;bus freq driver. I do not think that it can be changed manually. Also please check&lt;/P&gt;&lt;P&gt;sect.4.3. Use case three: Audio_Playback, M4 idle AN5383 i.MX7DS Power&lt;/P&gt;&lt;P&gt;Consumption Measurement&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN5383.pdf" title="https://www.nxp.com/docs/en/application-note/AN5383.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN5383.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 03:10:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configure-DDR-Clock-for-imx7D/m-p/756120#M117609</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-05-23T03:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Configure DDR Clock for imx7D</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configure-DDR-Clock-for-imx7D/m-p/756121#M117610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for re-opining this ticket again. Now this became a blocker for us. If you think it cannot be changed manually.&lt;/P&gt;&lt;P&gt;How we can make DDR frequency change automatically either IRAM anything.&lt;/P&gt;&lt;P&gt;We would like to know any possible option that the DDR frequency can be changed from 533 MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But we want to change the DDR clock from 533 MHz. Please do let us know changing from IRAM requires any official support ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2018 18:52:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configure-DDR-Clock-for-imx7D/m-p/756121#M117610</guid>
      <dc:creator>sivaprasadtirul</dc:creator>
      <dc:date>2018-11-27T18:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Configure DDR Clock for imx7D</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configure-DDR-Clock-for-imx7D/m-p/756122#M117611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi siva&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please look at codes for changing ddr frequency (from nxp official linux repository)&lt;/P&gt;&lt;P&gt;busfreq-imx.c,busfreq_ddr3.c,busfreq_lpddr2.c&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/mach-imx?h=imx_4.1.15_2.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/mach-imx?h=imx_4.1.15_2.0.0_ga"&gt;mach-imx\arm\arch - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2018 02:58:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configure-DDR-Clock-for-imx7D/m-p/756122#M117611</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-11-28T02:58:51Z</dc:date>
    </item>
  </channel>
</rss>

