<?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: P2020 DDR3 initialization failed in P-Series</title>
    <link>https://community.nxp.com/t5/P-Series/P2020-DDR3-initialization-failed/m-p/933161#M4656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to set correct memory bounds (CS0_BNDS) and new number of row bits (CSn_CONFIG) of course. Among timing parameters you need to change tRFC one, for 2Gb devices it should be set to 64 tck (DDR3-800), for 4Gb devices - 104 tck. On the P2020 side tRFC is composed of two registers:TIMING_CFG_1[REFREC] + TIMING_CFG_3[EXT_REFREC].&lt;BR /&gt;For 2Gb devices and DDR3-800&amp;nbsp; following values can be used:&lt;BR /&gt;TIMING_CFG_3[EXT_REFREC] = 0x3;&lt;BR /&gt;TIMING_CFG_1[REFREC] = 0x8;&lt;BR /&gt;For 4Gb devices and DDR3-800&amp;nbsp; following values can be used:&lt;BR /&gt;TIMING_CFG_3[EXT_REFREC] = 0x6;&lt;BR /&gt;TIMING_CFG_1[REFREC] = 0x0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides DDR3 setup, you need also to update DDR Local Access Window and MMU window sizes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bulat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jun 2019 04:06:46 GMT</pubDate>
    <dc:creator>Bulat</dc:creator>
    <dc:date>2019-06-18T04:06:46Z</dc:date>
    <item>
      <title>P2020 DDR3 initialization failed</title>
      <link>https://community.nxp.com/t5/P-Series/P2020-DDR3-initialization-failed/m-p/933160#M4655</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 writing embedded program for p2020 board and have troubles with configuring ddr controller.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN title=""&gt;The DDR3 part of the circuit is designed with reference to the P2020RDB-PCA_SPF-2683.PDF.&lt;/SPAN&gt; &lt;SPAN title=""&gt;The operating system is linux.&lt;/SPAN&gt; &lt;SPAN title=""&gt;When the DDR3 chip capacity is 1G byte (4 pieces MT41K128M16JT-125), the system runs normally.&lt;/SPAN&gt; &lt;SPAN class="" title=""&gt;After the capacity is upgraded to 2G byte (4 pieces of MT41K256M16HA-125 or AS4C256M16D3B-12), the system fails to start and DDR3 initialization fails.&lt;/SPAN&gt; &lt;SPAN class="" title=""&gt;After DDR3 expansion, what parameters and registers need to be modified to start successfully?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;Looking forward to your reply.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;#P2020&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;#DDR3&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;#initialization&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2019 11:44:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/P2020-DDR3-initialization-failed/m-p/933160#M4655</guid>
      <dc:creator>kevintse</dc:creator>
      <dc:date>2019-06-17T11:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: P2020 DDR3 initialization failed</title>
      <link>https://community.nxp.com/t5/P-Series/P2020-DDR3-initialization-failed/m-p/933161#M4656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to set correct memory bounds (CS0_BNDS) and new number of row bits (CSn_CONFIG) of course. Among timing parameters you need to change tRFC one, for 2Gb devices it should be set to 64 tck (DDR3-800), for 4Gb devices - 104 tck. On the P2020 side tRFC is composed of two registers:TIMING_CFG_1[REFREC] + TIMING_CFG_3[EXT_REFREC].&lt;BR /&gt;For 2Gb devices and DDR3-800&amp;nbsp; following values can be used:&lt;BR /&gt;TIMING_CFG_3[EXT_REFREC] = 0x3;&lt;BR /&gt;TIMING_CFG_1[REFREC] = 0x8;&lt;BR /&gt;For 4Gb devices and DDR3-800&amp;nbsp; following values can be used:&lt;BR /&gt;TIMING_CFG_3[EXT_REFREC] = 0x6;&lt;BR /&gt;TIMING_CFG_1[REFREC] = 0x0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides DDR3 setup, you need also to update DDR Local Access Window and MMU window sizes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bulat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2019 04:06:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/P2020-DDR3-initialization-failed/m-p/933161#M4656</guid>
      <dc:creator>Bulat</dc:creator>
      <dc:date>2019-06-18T04:06:46Z</dc:date>
    </item>
  </channel>
</rss>

