<?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: i.MX7D 2BG DDR calibration in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-2BG-DDR-calibration/m-p/826686#M127098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Each of my memory chips are connected to both CS0 &amp;amp; CS1&lt;/P&gt;&lt;P&gt;I have tested with DDR CS field set to: '0' as suggested in DDR tool FAQ&amp;nbsp;and also tested with field set to 'ALL'.&lt;/P&gt;&lt;P&gt;The post you mentioned refers to setting the filed to '1', i.e. performing calibration only for CS1.&lt;/P&gt;&lt;P&gt;What registers need to be 'tweaked'?&lt;/P&gt;&lt;P&gt;Are DDR ICs with Dual Die configuration using both chip selects same as I am testing been validated by NXP?&lt;/P&gt;&lt;P&gt;Is the desired mode of operation in i.MX7D ROW-BANK Interleaving?&lt;/P&gt;&lt;P&gt;Aviad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2018 11:40:38 GMT</pubDate>
    <dc:creator>oferausterlitz</dc:creator>
    <dc:date>2018-08-28T11:40:38Z</dc:date>
    <item>
      <title>i.MX7D 2BG DDR calibration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-2BG-DDR-calibration/m-p/826682#M127094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am attempting to calibrate an i.MX7D with 2GB RAM consisting of 2x 8gb DDR RAM chips of Samsung&lt;/P&gt;&lt;P&gt;P/N: K4B8G1646D-MYK0. The chip internal configuration is a dual die configuration with CS0 and CS1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I am using the "MX7D_DDR3_register_programming_aid_v1_2"&amp;nbsp;spread sheet&amp;nbsp;with following parameters:&lt;/P&gt;&lt;TABLE width="495"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="253"&gt;Memory type:&lt;/TD&gt;&lt;TD colspan="2" style="border-right: 1.0pt solid black; border-left: none;" width="242"&gt;DDR3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none;"&gt;Manufacturer:&lt;/TD&gt;&lt;TD colspan="2" style="border-right: 1.0pt solid black; border-left: none;"&gt;Samsung&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none;"&gt;Memory part number:&lt;/TD&gt;&lt;TD colspan="2" style="border-right: 1.0pt solid black; border-left: none;"&gt;K4B8G1646D-MYK0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none;" width="253"&gt;Density of each DRAM device (Gb):&lt;/TD&gt;&lt;TD colspan="2" style="border-right: 1.0pt solid black; border-left: none;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none;" width="253"&gt;Number of DRAM devices per chip select&lt;/TD&gt;&lt;TD colspan="2" style="border-right: 1.0pt solid black; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none;" width="253"&gt;Density per chip select (Gb)&lt;SUP&gt;1&lt;/SUP&gt;:&lt;/TD&gt;&lt;TD colspan="2" style="border-right: 1.0pt solid black;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none;"&gt;Number of Chip Selects used&lt;SUP&gt;2&lt;/SUP&gt;&lt;/TD&gt;&lt;TD colspan="2" style="border-right: 1.0pt solid black; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none;"&gt;Total DRAM density (Gb)&lt;/TD&gt;&lt;TD colspan="2" style="border-right: 1.0pt solid black;"&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none;"&gt;Number of ROW Addresses&lt;SUP&gt;2&lt;/SUP&gt;&lt;/TD&gt;&lt;TD colspan="2" style="border-right: 1.0pt solid black; border-left: none;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none;"&gt;Number of COLUMN Addresses&lt;SUP&gt;2&lt;/SUP&gt;&lt;/TD&gt;&lt;TD colspan="2" style="border-right: 1.0pt solid black; border-left: none;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none;"&gt;Number of BANK addresses&lt;SUP&gt;2&lt;/SUP&gt;&lt;/TD&gt;&lt;TD colspan="2" style="border-right: 1.0pt solid black; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none;"&gt;Number of BANKS&lt;SUP&gt;2&lt;/SUP&gt;&lt;/TD&gt;&lt;TD colspan="2" style="border-right: 1.0pt solid black;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none;"&gt;Bus Width: 32 or 16 (bits)&lt;/TD&gt;&lt;TD colspan="2" style="border-right: 1.0pt solid black; border-left: none;"&gt;32&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none;"&gt;Clock Cycle Freq (MHz)&lt;SUP&gt;3&lt;/SUP&gt;&lt;/TD&gt;&lt;TD colspan="2" style="border-right: 1.0pt solid black; border-left: none;"&gt;533&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none;"&gt;Clock Cycle Time (ns)&lt;/TD&gt;&lt;TD colspan="2" style="border-right: 1.0pt solid black;"&gt;1.876&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: the number of ROW addresses in the chip pinout table is 15. I assume this is since it is a dual die chip in which each die is 4gb&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I am using v2.80 DDR Test Tool.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DDR Density is set to 1GB since setting to 2GB prints an error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Error, selected density is higher than what is supported!&lt;BR /&gt;Modify and Re-download again!!!"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Setting&lt;SPAN&gt;&amp;nbsp;to 1GB i can see the following print:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;===========================================&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; DDR configuration&lt;BR /&gt;DDR type is DDR3 &lt;BR /&gt;Data width: 32, bank num: 8&lt;BR /&gt;Row size: 15, col size: 10&lt;BR /&gt;Two chip selects are used &lt;BR /&gt;Density per chip select: 1024MB &lt;BR /&gt;Total density is 2048MB &lt;BR /&gt;============================================&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. I then run calibration at 528Mhz.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Read calibration starts but then fails with the error:&amp;nbsp;&lt;STRONG&gt;Error: failed during ddr calibration&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Are DRAMs with 2 Chip selects configuration supported by the i.MX7D and the test tool?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Are there any errors in the above settings?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Aug 2018 11:37:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-2BG-DDR-calibration/m-p/826682#M127094</guid>
      <dc:creator>oferausterlitz</dc:creator>
      <dc:date>2018-08-26T11:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX7D 2BG DDR calibration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-2BG-DDR-calibration/m-p/826683#M127095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ofer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try latest v.2.9 tool&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-105652"&gt;i.MX6/7 DDR Stress Test Tool V2.90&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;density selection for i.MX7D is described in FAQ section on that thread.&lt;/P&gt;&lt;P&gt;Calibration errors may be caused by layout errors (by the way, what about other&lt;/P&gt;&lt;P&gt;memory tests, do they pass), please check layout rules in&lt;/P&gt;&lt;P&gt;Hardware Development Guide for i.MX7Dual and 7Solo Applications Processors &lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Ffiles%2F32bit%2Fdoc%2Fuser_guide%2FIMX7DSHDG.pdf" rel="nofollow" target="_blank"&gt;http://www.nxp.com/files/32bit/doc/user_guide/IMX7DSHDG.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Sun, 26 Aug 2018 23:40:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-2BG-DDR-calibration/m-p/826683#M127095</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-08-26T23:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX7D 2BG DDR calibration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-2BG-DDR-calibration/m-p/826684#M127096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Further checking this, I have done rework to the MCIMX7SABRE board replacing the DDR ICs to&amp;nbsp;K4B8G1646D-MYK0 mentioned above and installed the ZQ termination resistors for CS1 R81,R82.&lt;/P&gt;&lt;P&gt;I am using the above definitions in the spreadsheet v1.2 which is the latest and trying to calibrate the DDR using latest DDR tool V2.90.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The calibration is unstable. It does not pass at 528Mhz. At 400Mhz and even at 350Mhz it will sometimes pass and sometimes fail in the middle with the error I mentioned above. One thing I noticed is that when changing in the&amp;nbsp;spreadsheet the default setting of "ROW-BANK Interleaving"&amp;nbsp;field from "Enabled" to "Disabled" and using the .ds file produced with same parameters, the calibration succeeds.&lt;/P&gt;&lt;P&gt;My question is therefore if you have any information whether using a 2 CS configuration for 2GB supported and in what mode?&lt;/P&gt;&lt;P&gt;Thanks Again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 07:29:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-2BG-DDR-calibration/m-p/826684#M127096</guid>
      <dc:creator>oferausterlitz</dc:creator>
      <dc:date>2018-08-28T07:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX7D 2BG DDR calibration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-2BG-DDR-calibration/m-p/826685#M127097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not sure that I fully understood your question, probably below thread answers it&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/601517"&gt;https://community.nxp.com/message/601517&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what about other memory tests, do they pass.&lt;/P&gt;&lt;P&gt;For passing calibration one can try to tweak drive strength settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 08:00:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-2BG-DDR-calibration/m-p/826685#M127097</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-08-28T08:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX7D 2BG DDR calibration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-2BG-DDR-calibration/m-p/826686#M127098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Each of my memory chips are connected to both CS0 &amp;amp; CS1&lt;/P&gt;&lt;P&gt;I have tested with DDR CS field set to: '0' as suggested in DDR tool FAQ&amp;nbsp;and also tested with field set to 'ALL'.&lt;/P&gt;&lt;P&gt;The post you mentioned refers to setting the filed to '1', i.e. performing calibration only for CS1.&lt;/P&gt;&lt;P&gt;What registers need to be 'tweaked'?&lt;/P&gt;&lt;P&gt;Are DDR ICs with Dual Die configuration using both chip selects same as I am testing been validated by NXP?&lt;/P&gt;&lt;P&gt;Is the desired mode of operation in i.MX7D ROW-BANK Interleaving?&lt;/P&gt;&lt;P&gt;Aviad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 11:40:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-2BG-DDR-calibration/m-p/826686#M127098</guid>
      <dc:creator>oferausterlitz</dc:creator>
      <dc:date>2018-08-28T11:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX7D 2BG DDR calibration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-2BG-DDR-calibration/m-p/826687#M127099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drive strength can be changed in MX7D_DDR3_register_programming_aid_v1_2.xlsx&lt;BR /&gt;&lt;A href="https://community.nxp.com/docs/DOC-152468"&gt;i.MX7D DRAM Register Programming Aid&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;address/cmd drive strength setting : sect.9.3.4.21 DDR_PHY_DRVDS_CON0 &lt;BR /&gt;data drive strength setting : sect.9.3.4.24 DDR_PHY_ZQ_CON0 i.MX7D Reference Manual &lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/cache.nxp.com/files/32bit/doc/ref_manual/IMX7DRM.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;For ddr memory, its drive strength can be changed using register MR1 during initialization.&lt;/P&gt;&lt;P&gt;also may be useful to look on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/455347"&gt;i.MX7D with 2GB of DDR3 memory&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 12:07:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-2BG-DDR-calibration/m-p/826687#M127099</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-08-28T12:07:39Z</dc:date>
    </item>
  </channel>
</rss>

