<?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: DDR3 Calibration Frequency in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-Calibration-Frequency/m-p/341706#M46976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if processor works with DDR at 400MHz, it should calibrate memory at 400MHz,&lt;/P&gt;&lt;P&gt;there is no "delay".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jan 2015 00:36:34 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2015-01-14T00:36:34Z</dc:date>
    <item>
      <title>DDR3 Calibration Frequency</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-Calibration-Frequency/m-p/341705#M46975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello iMX6 specialists,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are developing a iMX6Solo based platform and we are using DDR3 @ 528Mhz. &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I have&amp;nbsp; DCD which was copied from a different iMX platform with different DDR and it is working fine with my new platform as well. However configuration values are not adjusted for the current DDR.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Then I used DDR stress tester to calibrate new DDR. With those calibrated values, stress test was running for 10 hours with no errors. However, if I use same values in u-boot DCD, it does not boot at all. &lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;It was found that if following value,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE class="wiki" style="border: 1px solid #cccccc; color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: 1px solid #cccccc; padding: 0.1em 0.25em;"&gt;Read calibration&lt;/TD&gt;&lt;TD style="border: 1px solid #cccccc; padding: 0.1em 0.25em;"&gt;0x021b0848&lt;/TD&gt;&lt;TD style="border: 1px solid #cccccc; padding: 0.1em 0.25em;"&gt;0x42464C44&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;is replaced with, 0x484B4B49, it started working despite the fact that deviation is very small. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;Then I re calibrate the DDR at 400Mhz and replaced MPDGCTRL0, MPDGCTRL1 , MPRDDLCTL PHY0 , MPWDDLCTL PHY0 with new values, u-boot started working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;The reason why I use 400Mhz is following statement in &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;"i.MX6 DDR Stress Tester User’s Guide"&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote" style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;&lt;P&gt;&lt;STRONG&gt;7. Select DDR frequency for Calibration&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;The default DDR calibration frequency is 400MHz for i.MX6DL, i.MX6S, and i.MX6SL.&lt;BR /&gt;And, the default DDR calibration frequency for i.MX6Q and i.MX6D is 528MHz. The user&lt;BR /&gt;can also press ‘n’ and input a calibration frequency which is between 350MHz and 528MHz&lt;BR /&gt;for debugging purpose.&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;According to that, calibration is supposed to be done at 400 Mhz for iMX solo. However, "i.MX 6 Series DDR Calibration application note" says,&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote" style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;4 Calibration over Frequency Range&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;&lt;BR /&gt;Calibration, as any other aspect of the DDR setup, is frequency dependent. Changing DDR clock&lt;BR /&gt;frequency requires running the various calibration sequences and obtaining new set of delay values.&lt;BR /&gt;The empirical rule is that a DDR setup for a target frequency, including a measured set of delay values at&lt;BR /&gt;that frequency, is expected to be stable at frequency range of ±10% around this point.&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;My questions are,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;1. Do we need to calibrate at 528Mhz using the stress tester tool, if DDR3 working frequency is 528Mhz?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;2. Is there a delay between DCD registry setting to properly initialize the DDR? The reason why I asked it that newly calibrated value at 528Mhz works fine with stress tester but not with u-boot. The way stress tester initialize the DDR my be slightly different that the way u-boot starts)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;CDW &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 23:33:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-Calibration-Frequency/m-p/341705#M46975</guid>
      <dc:creator>cwd-hw</dc:creator>
      <dc:date>2015-01-13T23:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 Calibration Frequency</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-Calibration-Frequency/m-p/341706#M46976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if processor works with DDR at 400MHz, it should calibrate memory at 400MHz,&lt;/P&gt;&lt;P&gt;there is no "delay".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 00:36:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-Calibration-Frequency/m-p/341706#M46976</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-01-14T00:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 Calibration Frequency</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-Calibration-Frequency/m-p/341707#M46977</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;Thank for the quick response!&lt;/P&gt;&lt;P&gt;Our iMX6 Solo should work with DDR at&lt;STRONG&gt; 528Mhz&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore I should calibrate it at &lt;STRONG&gt;528Mhz&lt;/STRONG&gt; using &lt;STRONG style="text-decoration: underline;"&gt;stress test tool &lt;/STRONG&gt;. instead of default 400Mhz .. Am i correct?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;CDW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 00:59:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-Calibration-Frequency/m-p/341707#M46977</guid>
      <dc:creator>cwd-hw</dc:creator>
      <dc:date>2015-01-14T00:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 Calibration Frequency</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-Calibration-Frequency/m-p/341708#M46978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes if working frequency 528MHz then memory should be&lt;/P&gt;&lt;P&gt;calibrated on 528MHz too.&lt;/P&gt;&lt;P&gt;However for Solo max. MMDC operating frequency is 400MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 01:21:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-Calibration-Frequency/m-p/341708#M46978</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-01-14T01:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 Calibration Frequency</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-Calibration-Frequency/m-p/341709#M46979</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;What is maximum frequency of DDR3 supported by i.MX6Quad, we only see 400MHz and 528MHz options in&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Mx6DQSDL DDR3 Script Aid V0.09.xls and&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;ddr_stress_tester_v2.52 tool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 13:52:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-Calibration-Frequency/m-p/341709#M46979</guid>
      <dc:creator>vivekkaushik</dc:creator>
      <dc:date>2016-09-02T13:52:32Z</dc:date>
    </item>
  </channel>
</rss>

