<?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 How to check current DDR clock frequency at runtime in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-check-current-DDR-clock-frequency-at-runtime/m-p/1223881#M168726</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using i.MX8M Mini EVK with Yocto L5.4.47-2.2.0 package and Android 9.0. I want to check the DDR clock frequency at runtime through sysfs or some utility.&lt;/P&gt;&lt;P&gt;I am read the CPU frequecy at runtime using below commands:&lt;BR /&gt;cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq&lt;BR /&gt;cat /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq&lt;BR /&gt;cat /sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_cur_freq&lt;BR /&gt;cat /sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_cur_freq&lt;/P&gt;&lt;P&gt;I am looking for something similar for DDR clock.&lt;/P&gt;&lt;P&gt;Please help to suggest the sysfs entry or utility to get the current DDR clock frequency.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Naman&lt;/P&gt;</description>
    <pubDate>Mon, 01 Feb 2021 10:44:39 GMT</pubDate>
    <dc:creator>namanthaker</dc:creator>
    <dc:date>2021-02-01T10:44:39Z</dc:date>
    <item>
      <title>How to check current DDR clock frequency at runtime</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-check-current-DDR-clock-frequency-at-runtime/m-p/1223881#M168726</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using i.MX8M Mini EVK with Yocto L5.4.47-2.2.0 package and Android 9.0. I want to check the DDR clock frequency at runtime through sysfs or some utility.&lt;/P&gt;&lt;P&gt;I am read the CPU frequecy at runtime using below commands:&lt;BR /&gt;cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq&lt;BR /&gt;cat /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq&lt;BR /&gt;cat /sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_cur_freq&lt;BR /&gt;cat /sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_cur_freq&lt;/P&gt;&lt;P&gt;I am looking for something similar for DDR clock.&lt;/P&gt;&lt;P&gt;Please help to suggest the sysfs entry or utility to get the current DDR clock frequency.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Naman&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 10:44:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-check-current-DDR-clock-frequency-at-runtime/m-p/1223881#M168726</guid>
      <dc:creator>namanthaker</dc:creator>
      <dc:date>2021-02-01T10:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to check current DDR clock frequency at runtime</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-check-current-DDR-clock-frequency-at-runtime/m-p/1225241#M168851</link>
      <description>&lt;P&gt;&amp;nbsp;you can use Mscale ddr tool to program and test DDR&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8M-Family-DDR-Tool-Release/ta-p/1104467" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8M-Family-DDR-Tool-Release/ta-p/1104467&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 06:35:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-check-current-DDR-clock-frequency-at-runtime/m-p/1225241#M168851</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2021-02-03T06:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to check current DDR clock frequency at runtime</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-check-current-DDR-clock-frequency-at-runtime/m-p/1228630#M169213</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/39586"&gt;@joanxie&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for suggesting the DDR tool.&lt;/P&gt;&lt;P&gt;This DDR tool requires the device to be in Serial Download mode. I need to check the DDR frequency at runtime while running my application in Android.&lt;/P&gt;&lt;P&gt;For this dump-clocks.sh script can be used from below link:&lt;BR /&gt;&lt;A href="https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_clock_test?h=imx_4.14.78_1.0.0_ga" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_clock_test?h=imx_4.14.78_1.0.0_ga&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This script will give the dram_core_clk value like below:&lt;BR /&gt;dram_core_clk --- 000010a0 1 1 800000000&lt;/P&gt;&lt;P&gt;"dram_core_clk=800" means DRAM Clock=1600 (DDRC PHY PLL multiplies the input frequency by 2 to generate the DDR clock), Data Rate=3200.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Naman&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 08:28:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-check-current-DDR-clock-frequency-at-runtime/m-p/1228630#M169213</guid>
      <dc:creator>namanthaker</dc:creator>
      <dc:date>2021-02-09T08:28:20Z</dc:date>
    </item>
  </channel>
</rss>

