<?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 LPDDR4 Training errors in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/LPDDR4-Training-errors/m-p/1350458#M181050</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We're trying to run the DDR Stress Test on a custom iMX8QM board with LPDDR4.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using ER14 of DDR Stress Test and V23 of the RPA excel sheet.&lt;/P&gt;&lt;P&gt;We get the following message in the DDR Stress test when downloading.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"MX8 DDR Stress Test Version: ER14&lt;BR /&gt;Built on Mar 27 2020 12:19:30&lt;BR /&gt;*************************************************************************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--Set up the MMU and enable I and D cache--&lt;BR /&gt;- This is the Cortex-A72 core&lt;BR /&gt;Adjusting CA72 cache latency&lt;BR /&gt;- Check if I cache is enabled&lt;BR /&gt;- Enabling I cache since it was disabled&lt;BR /&gt;- Push base address of TTB to TTBR0_EL3&lt;BR /&gt;- Config TCR_EL3&lt;BR /&gt;- Config MAIR_EL3&lt;BR /&gt;- Enable MMU&lt;BR /&gt;- Data Cache has been enabled&lt;BR /&gt;- Check system memory register, only for debug&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- VMCR Check:&lt;BR /&gt;- ttbr0_el3: 0x13d000&lt;BR /&gt;- tcr_el3: 0x2051c&lt;BR /&gt;- mair_el3: 0x774400&lt;BR /&gt;- sctlr_el3: 0xc01815&lt;BR /&gt;- id_aa64mmfr0_el1: 0x1124&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- MMU and cache setup complete&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*************************************************************************&lt;BR /&gt;ARM Clock(CA72): 1596MHz&lt;BR /&gt;DDR Clock: 1596MHz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;============================================&lt;BR /&gt;DDR configuration&lt;BR /&gt;DDR type is LPDDR4&lt;BR /&gt;Data width: 32, bank num: 8&lt;BR /&gt;Row size: 16, col size: 10&lt;BR /&gt;Two chip selects are used&lt;BR /&gt;Number of DDR controllers used on the SoC: 2&lt;BR /&gt;Density per chip select: 2048MB&lt;BR /&gt;Density per controller is: 4096MB&lt;BR /&gt;Total density detected on the board is: 8192MB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: As this SoC has more than one DDR Controller, the calculated&lt;BR /&gt;density assumes all controllers are being used. Adjust the tested&lt;BR /&gt;density per your board configuration if not all controllers are used&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;********************************************&lt;BR /&gt;WARNING! DDR training errors were detected on DDRC 0!&lt;BR /&gt;DDR_PHY_PGSR0 = 0x806cc07f&lt;BR /&gt;DQS Gate training error detected&lt;BR /&gt;Write Leveling training error detected&lt;BR /&gt;VREF training error detected&lt;BR /&gt;Write DQS2DQ training error detected&lt;BR /&gt;Recheck DDR initialization&lt;BR /&gt;********************************************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;********************************************&lt;BR /&gt;WARNING! DDR training errors were detected on DDRC 1!&lt;BR /&gt;DDR_PHY_PGSR0 = 0x806cc07f&lt;BR /&gt;DQS Gate training error detected&lt;BR /&gt;Write Leveling training error detected&lt;BR /&gt;VREF training error detected&lt;BR /&gt;Write DQS2DQ training error detected&lt;BR /&gt;Recheck DDR initialization&lt;BR /&gt;********************************************&lt;BR /&gt;============================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MX8QM: Cortex-A72 is found"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Viktors94_0-1633422347984.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/158263iAF90AC544493D569/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Viktors94_0-1633422347984.png" alt="Viktors94_0-1633422347984.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Viktors94_1-1633422374908.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/158264i6F3319C614DD4C8B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Viktors94_1-1633422374908.png" alt="Viktors94_1-1633422374908.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've checked the connections between iMX8 and LPDDR4 and verified in RPA Excel sheet and it looks correct. I've tried changing the ODT and drive strenghts without any luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Schematic is copied from MEK with some minor DQ changes in same bytelane.&lt;/P&gt;&lt;P&gt;We've used the .cfg file from RPA and put that in the SCFW .CFG file for 1.6GHz and also used the script from the RPA excel for the DDR Stress test.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could be the cause of this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Oct 2021 08:32:21 GMT</pubDate>
    <dc:creator>Viktors94</dc:creator>
    <dc:date>2021-10-05T08:32:21Z</dc:date>
    <item>
      <title>LPDDR4 Training errors</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LPDDR4-Training-errors/m-p/1350458#M181050</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We're trying to run the DDR Stress Test on a custom iMX8QM board with LPDDR4.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using ER14 of DDR Stress Test and V23 of the RPA excel sheet.&lt;/P&gt;&lt;P&gt;We get the following message in the DDR Stress test when downloading.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"MX8 DDR Stress Test Version: ER14&lt;BR /&gt;Built on Mar 27 2020 12:19:30&lt;BR /&gt;*************************************************************************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--Set up the MMU and enable I and D cache--&lt;BR /&gt;- This is the Cortex-A72 core&lt;BR /&gt;Adjusting CA72 cache latency&lt;BR /&gt;- Check if I cache is enabled&lt;BR /&gt;- Enabling I cache since it was disabled&lt;BR /&gt;- Push base address of TTB to TTBR0_EL3&lt;BR /&gt;- Config TCR_EL3&lt;BR /&gt;- Config MAIR_EL3&lt;BR /&gt;- Enable MMU&lt;BR /&gt;- Data Cache has been enabled&lt;BR /&gt;- Check system memory register, only for debug&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- VMCR Check:&lt;BR /&gt;- ttbr0_el3: 0x13d000&lt;BR /&gt;- tcr_el3: 0x2051c&lt;BR /&gt;- mair_el3: 0x774400&lt;BR /&gt;- sctlr_el3: 0xc01815&lt;BR /&gt;- id_aa64mmfr0_el1: 0x1124&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- MMU and cache setup complete&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*************************************************************************&lt;BR /&gt;ARM Clock(CA72): 1596MHz&lt;BR /&gt;DDR Clock: 1596MHz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;============================================&lt;BR /&gt;DDR configuration&lt;BR /&gt;DDR type is LPDDR4&lt;BR /&gt;Data width: 32, bank num: 8&lt;BR /&gt;Row size: 16, col size: 10&lt;BR /&gt;Two chip selects are used&lt;BR /&gt;Number of DDR controllers used on the SoC: 2&lt;BR /&gt;Density per chip select: 2048MB&lt;BR /&gt;Density per controller is: 4096MB&lt;BR /&gt;Total density detected on the board is: 8192MB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: As this SoC has more than one DDR Controller, the calculated&lt;BR /&gt;density assumes all controllers are being used. Adjust the tested&lt;BR /&gt;density per your board configuration if not all controllers are used&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;********************************************&lt;BR /&gt;WARNING! DDR training errors were detected on DDRC 0!&lt;BR /&gt;DDR_PHY_PGSR0 = 0x806cc07f&lt;BR /&gt;DQS Gate training error detected&lt;BR /&gt;Write Leveling training error detected&lt;BR /&gt;VREF training error detected&lt;BR /&gt;Write DQS2DQ training error detected&lt;BR /&gt;Recheck DDR initialization&lt;BR /&gt;********************************************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;********************************************&lt;BR /&gt;WARNING! DDR training errors were detected on DDRC 1!&lt;BR /&gt;DDR_PHY_PGSR0 = 0x806cc07f&lt;BR /&gt;DQS Gate training error detected&lt;BR /&gt;Write Leveling training error detected&lt;BR /&gt;VREF training error detected&lt;BR /&gt;Write DQS2DQ training error detected&lt;BR /&gt;Recheck DDR initialization&lt;BR /&gt;********************************************&lt;BR /&gt;============================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MX8QM: Cortex-A72 is found"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Viktors94_0-1633422347984.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/158263iAF90AC544493D569/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Viktors94_0-1633422347984.png" alt="Viktors94_0-1633422347984.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Viktors94_1-1633422374908.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/158264i6F3319C614DD4C8B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Viktors94_1-1633422374908.png" alt="Viktors94_1-1633422374908.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've checked the connections between iMX8 and LPDDR4 and verified in RPA Excel sheet and it looks correct. I've tried changing the ODT and drive strenghts without any luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Schematic is copied from MEK with some minor DQ changes in same bytelane.&lt;/P&gt;&lt;P&gt;We've used the .cfg file from RPA and put that in the SCFW .CFG file for 1.6GHz and also used the script from the RPA excel for the DDR Stress test.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could be the cause of this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 08:32:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LPDDR4-Training-errors/m-p/1350458#M181050</guid>
      <dc:creator>Viktors94</dc:creator>
      <dc:date>2021-10-05T08:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPDDR4 Training errors</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LPDDR4-Training-errors/m-p/1351524#M181156</link>
      <description>&lt;P&gt;Hi Viktors94,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The reason for this issue may be wrong memory connections or incorrectly configured "BoardDataBusConfig" parameters in the RPA tool.&lt;/P&gt;
&lt;P&gt;Looking into the lines DQ lines DDR_CH1_DQ22 it appears declared on the BoardDataBusConfig incorrectly:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf63675_0-1633564361856.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/158399i88F26A85798254EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf63675_0-1633564361856.png" alt="nxf63675_0-1633564361856.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf63675_1-1633564399703.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/158400i3B9BF4BE8EB80C9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf63675_1-1633564399703.png" alt="nxf63675_1-1633564399703.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So this can be causing the error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Israel.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 23:54:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LPDDR4-Training-errors/m-p/1351524#M181156</guid>
      <dc:creator>nxf63675</dc:creator>
      <dc:date>2021-10-06T23:54:07Z</dc:date>
    </item>
  </channel>
</rss>

