<?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>i.MX ProcessorsのトピックRe: iMX6SX changing DDR frequency</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX6SX-changing-DDR-frequency/m-p/1221899#M168500</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;That excel has the problem I described. You can't change the DRAM clock frequency in Register Configration - tab. It's fixed at 400MHz. Or is there some another way I'm not aware of? You can change wait states etc.. but not the base clock everything is running at.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jan 2021 10:33:33 GMT</pubDate>
    <dc:creator>Maddis</dc:creator>
    <dc:date>2021-01-27T10:33:33Z</dc:date>
    <item>
      <title>iMX6SX changing DDR frequency</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6SX-changing-DDR-frequency/m-p/1221186#M168417</link>
      <description>&lt;P&gt;First of all, I did check the old messages, but seemed that they were all something else than iMX6SX processor. Thus the question.&lt;/P&gt;&lt;P&gt;We have iMX6SX based product has has some problems passing EMC. We determined that slowing DDR from 400MHz to 316MHz would move the peaks enough that harmonics won't cause problem anymore.&lt;/P&gt;&lt;P&gt;Now the actual problem. I have excel sheet for iMX6SX that calculates the initialization values for DDR3. Problem with that is that the ddr clock is fixed at 400MHz and can't be changed. We had similar excel for iMX53 and there you could change the ddr clock too.&lt;/P&gt;&lt;P&gt;I did some digging from reference manual and find that from register&amp;nbsp;CCM_CBCMR(0x020C 4018) you can select PFD2 by changing the PRE_PERIPH2_CLK_SEL field to 0b01. Then you can change the value in the&amp;nbsp;CCM_ANALOG_PFD_528n(0x020C 8100) change the&amp;nbsp;PFD2_FRAC from 0b011000 to 0b011100 (24 -&amp;gt; 30). I added both those writes to DCD in u-boot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well, the device didn't boot after that (I was bit suspecting that) so I assume that is not how you do it or I need to do something else.&lt;/P&gt;&lt;P&gt;Question is that how do I do that frequency change or is there updated version of that excel that supports ddr freq change as well?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 10:25:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6SX-changing-DDR-frequency/m-p/1221186#M168417</guid>
      <dc:creator>Maddis</dc:creator>
      <dc:date>2021-01-26T10:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6SX changing DDR frequency</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6SX-changing-DDR-frequency/m-p/1221563#M168460</link>
      <description>&lt;P&gt;Hi, Maddis,&lt;/P&gt;
&lt;P&gt;Follow steps below, please!&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1. Using Register Programming Aid tool&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;download it from the link: &lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX6SX-DDR3-Script-Aid/ta-p/1102580" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX6SX-DDR3-Script-Aid/ta-p/1102580&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It is in attachment.&lt;/P&gt;
&lt;P&gt;[Note]&lt;/P&gt;
&lt;P&gt;Fill your ddr3 parameters in the tool, and get a .inc file, by default, the file's name is realviewice.inc&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2. Using i.mx6/7 ddr stress tester tool&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Download the tool from the link: &lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-6-7-DDR-Stress-Test-Tool/ta-p/1108221" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-6-7-DDR-Stress-Test-Tool/ta-p/1108221&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You can use : &lt;SPAN class="lia-link-navigation lia-attachment-link-disabled lia-link-disabled"&gt;ddr_stress_tester_v3.00_setup.exe.zip, which can test and calibrate DDR on board via usb otg port, and it supports GUI on windows. After downloading it, install it on your windows PC.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-attachment-link-disabled lia-link-disabled"&gt;[Note]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-attachment-link-disabled lia-link-disabled"&gt;copy realviewice.inc file to "D:\Program Files\imx6-7-ddr-stress-tester\ddr_stress_tester_v3.00\script\mx6sx", this is just an example. probably your directory is different.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-attachment-link-disabled lia-link-disabled"&gt;[note]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-attachment-link-disabled lia-link-disabled"&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="zh-CN" data-phrase-index="0"&gt;&lt;SPAN&gt;Start ddr stress tester, select the correct parameters and the script you just generated according to the prompts, and start calibration.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="lia-link-navigation lia-attachment-link-disabled lia-link-disabled"&gt;3. Modifying DDR cfg file in u-boot&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-attachment-link-disabled lia-link-disabled"&gt;After calibration, you will get registers configurations, then you can modify ddr cfg file in u-boot accoding to calibration result.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="lia-link-navigation lia-attachment-link-disabled lia-link-disabled"&gt;4. recompiling u-boot.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-attachment-link-disabled lia-link-disabled"&gt;Hope this information is helpful to you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-attachment-link-disabled lia-link-disabled"&gt;Have a nice day!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-attachment-link-disabled lia-link-disabled"&gt;B.R,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-link-navigation lia-attachment-link-disabled lia-link-disabled"&gt;weidong&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 02:02:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6SX-changing-DDR-frequency/m-p/1221563#M168460</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2021-01-27T02:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6SX changing DDR frequency</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6SX-changing-DDR-frequency/m-p/1221899#M168500</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;That excel has the problem I described. You can't change the DRAM clock frequency in Register Configration - tab. It's fixed at 400MHz. Or is there some another way I'm not aware of? You can change wait states etc.. but not the base clock everything is running at.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 10:33:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6SX-changing-DDR-frequency/m-p/1221899#M168500</guid>
      <dc:creator>Maddis</dc:creator>
      <dc:date>2021-01-27T10:33:33Z</dc:date>
    </item>
  </channel>
</rss>

