<?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 data inverted in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-data-inverted/m-p/1169946#M163695</link>
    <description>&lt;P&gt;dear igorpadykov,&lt;/P&gt;&lt;P&gt;If i write the value 0xAACC3553 to DDR3 bank 0 row 0 col 0 using dummy software write (with register MPSWDAR0), what values should I get in the dummy read register0-7 when I doing a dummy software read(with register MPSWDAR0)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you very much.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Oct 2020 02:11:42 GMT</pubDate>
    <dc:creator>hailiu</dc:creator>
    <dc:date>2020-10-20T02:11:42Z</dc:date>
    <item>
      <title>DDR3 data inverted</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-data-inverted/m-p/1169356#M163652</link>
      <description>&lt;P&gt;I am debugging DDR3 (micron M$41k512M16HT using dummy register write and read. When I write a number 0xFFFFFFFF, i got the number 0x00000000 in all the 8 dummy read registers. When I write a number 0x00550055, I get the number 0xAAAAAAAA,0xFFFFFFFF,0xAAAAAAAA,0xFFFFFFFF,0xAAAAAAAA,0xFFFFFFFF,0xAAAAAAAA,0xFFFFFFFF.&lt;/P&gt;&lt;P&gt;when I write a number 0xAAAAAAAA, i get the number 0x55555555 in all 8 dummy register. When I write a number 0xAB5DC432, I got the number 0xCDCDCDCD, 0x3B3B3B3B, 0xA2A2A2A2,0x54545454. It seems that erery dummy register hold one byte inverted of the write value. The ZQCL and write level calibration can be passed. somethings wrong with my settings?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw a line in the reference manual in the DQS gating calibration section :&lt;/P&gt;&lt;P&gt;atep 9: MMDC reset the read FIFO (to the inverted pre-defined/MPR value), what does this mean?&lt;/P&gt;&lt;P&gt;below is a piece of my test code:&lt;/P&gt;&lt;P&gt;CMD=(0x02&amp;lt;&amp;lt;4); //one refresh command send to DDR&lt;BR /&gt;HW_MMDC_MDSCR_WR(MMDC1_BASE,CON_REQ|CMD_CS|CMD); //DDR refresh&lt;BR /&gt;while(!((HW_MMDC_MDSCR_RD(MMDC1_BASE))&amp;amp;0x00004000))&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;CMD=(0x05&amp;lt;&amp;lt;4);&lt;BR /&gt;HW_MMDC_MDSCR_WR(MMDC1_BASE,CON_REQ|CMD|CMD_CS); //pre-charge all banks&lt;BR /&gt;while(!((HW_MMDC_MDSCR_RD(MMDC1_BASE))&amp;amp;0x00004000))&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;PDV2=(0xAC5D&amp;lt;&amp;lt;16);&lt;BR /&gt;PDV1=0xC432;&lt;BR /&gt;HW_MMDC_MPPDCMPR1_WR(MMDC1_BASE, PDV1|PDV2); //set pre-defined value which will be written to DDR device&lt;BR /&gt;SW_DUMMY_WR=1;&lt;BR /&gt;HW_MMDC_MPSWDAR0_WR(MMDC1_BASE,SW_DUMMY_WR); //write predefined value to DDR bank 0, row 0 col 0&lt;BR /&gt;while ((HW_MMDC_MPSWDAR0_RD(MMDC1_BASE)&amp;amp;0x00000001))&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;RST_RD_FIFO=(0x1&amp;lt;&amp;lt;31);&lt;BR /&gt;HW_MMDC_MPDGCTRL0_WR(MMDC1_BASE,RST_RD_FIFO);&lt;BR /&gt;while((HW_MMDC_MPDGCTRL0_RD(MMDC1_BASE)&amp;amp;0x80000000))&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;} //wait fifo reset&lt;BR /&gt;HW_MMDC_MPDGCTRL0_WR(MMDC1_BASE,RST_RD_FIFO); //reset rd fifo second times&lt;BR /&gt;while((HW_MMDC_MPDGCTRL0_RD(MMDC1_BASE)&amp;amp;0x80000000))&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;} //wait fifo reset&lt;/P&gt;&lt;P&gt;HW_MMDC_MPSWDAR0_WR(MMDC1_BASE,0x02); //read value from to DDR bank 0, row 0 col 0&lt;BR /&gt;while ((HW_MMDC_MPSWDAR0_RD(MMDC1_BASE)&amp;amp;0x00000002))&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;readValue8=HW_MMDC_MPSWDAR0_RD(MMDC1_BASE);&lt;BR /&gt;readValue=HW_MMDC_MPSWDRDR0_RD(MMDC1_BASE);&lt;BR /&gt;readValue1=HW_MMDC_MPSWDRDR1_RD(MMDC1_BASE);&lt;BR /&gt;readValue2=HW_MMDC_MPSWDRDR2_RD(MMDC1_BASE);&lt;BR /&gt;readValue3=HW_MMDC_MPSWDRDR3_RD(MMDC1_BASE);&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 07:36:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-data-inverted/m-p/1169356#M163652</guid>
      <dc:creator>hailiu</dc:creator>
      <dc:date>2020-10-19T07:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 data inverted</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-data-inverted/m-p/1169505#M163662</link>
      <description>&lt;P&gt;Hi hailiu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what processor (full part number) used in the case. For i.MX6 series one can look at&lt;/P&gt;
&lt;P&gt;below link, ddr test package has some sample scripts&lt;/P&gt;
&lt;P&gt;&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 08:53:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-data-inverted/m-p/1169505#M163662</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-10-19T08:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 data inverted</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-data-inverted/m-p/1169893#M163690</link>
      <description>&lt;P&gt;thank you very much. I checked the reference manual again carefully, found that PDV2 and PDV1 is inverted. I guess that's is why I get an inverted value.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 00:26:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-data-inverted/m-p/1169893#M163690</guid>
      <dc:creator>hailiu</dc:creator>
      <dc:date>2020-10-20T00:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 data inverted</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-data-inverted/m-p/1169900#M163693</link>
      <description>&lt;P&gt;I use MCIMX6S5DVM10AD.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 00:54:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-data-inverted/m-p/1169900#M163693</guid>
      <dc:creator>hailiu</dc:creator>
      <dc:date>2020-10-20T00:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 data inverted</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-data-inverted/m-p/1169946#M163695</link>
      <description>&lt;P&gt;dear igorpadykov,&lt;/P&gt;&lt;P&gt;If i write the value 0xAACC3553 to DDR3 bank 0 row 0 col 0 using dummy software write (with register MPSWDAR0), what values should I get in the dummy read register0-7 when I doing a dummy software read(with register MPSWDAR0)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you very much.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 02:11:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-data-inverted/m-p/1169946#M163695</guid>
      <dc:creator>hailiu</dc:creator>
      <dc:date>2020-10-20T02:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 data inverted</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-data-inverted/m-p/1170028#M163704</link>
      <description>&lt;P&gt;I do not think that it is feasible to perform such "dummy" write/reads.&lt;/P&gt;
&lt;P&gt;For simple ddr test one can refer to SDK example (ddr_test.c in&amp;nbsp;1.1.0_iMX6_Platform_SDK.zip)&lt;/P&gt;
&lt;P&gt;available on&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/SMP-Enable-in-IMX6/m-p/542111" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/SMP-Enable-in-IMX6/m-p/542111&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 04:32:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-data-inverted/m-p/1170028#M163704</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-10-20T04:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 data inverted</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-data-inverted/m-p/1170069#M163712</link>
      <description>&lt;P&gt;thank you very much. I am going to see these documents.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 06:12:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-data-inverted/m-p/1170069#M163712</guid>
      <dc:creator>hailiu</dc:creator>
      <dc:date>2020-10-20T06:12:13Z</dc:date>
    </item>
  </channel>
</rss>

