<?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>i.MX ProcessorsのトピックRe: DDR_PHY programming issue on IMX8M board</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970083#M144512</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Please try&amp;nbsp;to fine tune&amp;nbsp;ATxImpedance / ODTImpedance / TxImpedance&amp;nbsp; parameters to find a reasonable&lt;/P&gt;&lt;P&gt;window. Please refer to RPA tool for the details and available options of the above parameters.&lt;/P&gt;&lt;P&gt;Also, section&amp;nbsp;4.2 (Run DDR Calibration and generate DDR initial code) of&lt;/P&gt;&lt;P&gt;"MSCALE_DDR_Tool_User_Guide.pdf" may be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Aug 2019 07:46:23 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2019-08-30T07:46:23Z</dc:date>
    <item>
      <title>DDR_PHY programming issue on IMX8M board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970078#M144507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to bring up DDR controller on out own board based on IMX8M processor. Without success for now,&lt;/P&gt;&lt;P&gt;We are using DDR4 memory. Tried to use MSCALE_ddr_tool utility, log and DDR script is attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a problem with our board with DDR data bus connection -- DQ pins swapped. As I was able to understand from Reference manual, this may be fixed by setting appropriate values to DDR_PHY.DWC_DDRPHYA_DBYTEn.Dq[0-7]LnSel[0:3], but wasn't able to write to that registers from u-boot or from DDR script of MSCALE_DDR_tool utility. Writing from U-Boot SPL has no effect, reading back as zeroes(actually, all DDR_PHY registers reads as zeroes). It seems some basic initalization wasn't done for DDR_PHY(clocks or something like that)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using uboot-imx version imx_v2017.03_4.9.88_2.0.0_ga, u-boot config imx8mq_arm2(by the way, from what board this config is and can we look at it's schematic?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How we can set DDR_PHY.DWC_DDRPHYA_DBYTEn.Dq[0-7]LnSel[0:3] registers from U-Boot?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, I can't figure out DDR_PHY register address calculation principle. In RM we have DDR_PHY base 0x3c000000, DWC_DDRPHYA_DBYTE0 block offset 0x10000, and Dq0LnSel register offset 0x140, so address should be 0x3c010140. But in MX8M_LPDDR4_RPA_v23.xlsx file(which was used as a reference to generate "memory set" commands for DS) address specified for that register is 0x3C040280. I can understand that register offset should be multiplied by 2, because it's 16-bit word offset, but why block offset multiplied by 4?? How to determine register addresses of DDR_PHY block? For our experiments with U-Boot we used addresses from MX8M_LPDDR4_RPA_v23.xlsx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vyacheslav Bondarev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2019 08:16:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970078#M144507</guid>
      <dc:creator>vyacheslavbonda</dc:creator>
      <dc:date>2019-08-26T08:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: DDR_PHY programming issue on IMX8M board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970079#M144508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; For LPDDR4, there is Exceel sheet “BoardDataBusConfig” in “MX8M_LPDDR4_RPA_v23.xlsx”&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;to provide proper data bus mapping. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; Customers can try using init code (# DDR PHY DQ lane to memory mapping ) from&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;the LPDDR4 RPA. Note, the initialization file is meant specifically for the DDR Stress Test &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;GUI tool, but not for a JTAG debugger or U-boot. So, follow instructions “MSCALE_DDR_Tool_User_Guide.pdf” &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;in mscale_ddr_tool_v2.10 package how to port corresponding settings to BSP after memory testing. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Have a great day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Yuri&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;-------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Note:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;-------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 03:52:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970079#M144508</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2019-08-28T03:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: DDR_PHY programming issue on IMX8M board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970080#M144509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Yuri! Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;We tried the "&lt;SPAN class=""&gt;BoardDataBusConfig"&lt;/SPAN&gt; sheet from &lt;SPAN class=""&gt;MX8M_LPDDR4_RPA_v23.xlsx&lt;/SPAN&gt; already. IMX8M.ds file attached to my original message contains it's results("memory set 0x3c04xxxx ..." commands copied from "DDR stress test file" sheet of &lt;SPAN class=""&gt;MX8M_LPDDR4_RPA_v23.xlsx&lt;/SPAN&gt; file). I understand, that "memory set" is only for &lt;SPAN class=""&gt;DDR Stress Test GUI tool, but it's possible take pairs of register address/value and pass it as reg32_write function arguments in u-boot, right?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I can't follow instructions in MSCALE_DDR_Tool_User_Guide.pdf because calibration on our board is not working. Log is also attached to my original message. I understand, that problem may be caused by mistakes in our board, but what means error from&amp;nbsp;MSCALE_DDR_Tool "PMU: Error: Dbyte 0 couldn't find the rising edge of DQS during RxEn Training" and how to debug it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Can I read somewhere detailed description of DDR thraining process? &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;What is the block of DDR_PHY with offset 0x50000, where, according to u-boot, trainig code is loaded? &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Why after executing&amp;nbsp; ddr4_phyinit_train_2400mts() function in u-boot DDR_PHY registers become unaccessible(always reads as 0, can't be written)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Hope you can help me...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vyacheslav Bondarev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 07:10:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970080#M144509</guid>
      <dc:creator>vyacheslavbonda</dc:creator>
      <dc:date>2019-08-28T07:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: DDR_PHY programming issue on IMX8M board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970081#M144510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; According to section 4.3 (Building u-boot image) of i.MX8/MSCALE DDR Tool User’s Guide, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Rev. V1.1.0, located in “mscale_ddr_tool_v210” package: &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; MX8MSCALE integrates a MCU based DDR PHY, which needs to load DDR firmware before&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;DDR initialization. The version of the DDR firmware used in the BSP may differ from the&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;version used by the MSCALE DDR Tool. The MSCALE DDR tool always uses the latest&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;firmware. When you use the DDR tool generated SPL codes instead of the original ones, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;please make sure to replace all firmware binaries with DDR tool provided in the bin directory.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; So, it is needed to build U-boot just for Your board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 06:05:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970081#M144510</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2019-08-29T06:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: DDR_PHY programming issue on IMX8M board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970082#M144511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for pointing out to firmware replacement necessity after code generation with &lt;SPAN class=""&gt;MSCALE DDR Tool&lt;/SPAN&gt;, it's may be important. But it's not a question for now, which version of DDR_PHY&amp;nbsp; firmware to use in U-Boot, because neither is working. Code generation is not working...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the meantime, I was performing my own investigation, what may lead to &lt;SPAN class=""&gt;MSCALE_DDR_Tool error "PMU: Error: Dbyte 0 couldn't find the rising edge of DQS during RxEn Training". As far as I can understand, RxEn training(which also called "read preamble training"?) starts with DQS signal assertion, which also reads back into PHY and checked by the MSCALE_DDR_Tool. The response is not comply, so we get that error. Question is, why PHY can't see DQS pulse, while it's present on the line(we see it by oscilloscope)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vyacheslav Bondarev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 10:58:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970082#M144511</guid>
      <dc:creator>vyacheslavbonda</dc:creator>
      <dc:date>2019-08-29T10:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: DDR_PHY programming issue on IMX8M board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970083#M144512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Please try&amp;nbsp;to fine tune&amp;nbsp;ATxImpedance / ODTImpedance / TxImpedance&amp;nbsp; parameters to find a reasonable&lt;/P&gt;&lt;P&gt;window. Please refer to RPA tool for the details and available options of the above parameters.&lt;/P&gt;&lt;P&gt;Also, section&amp;nbsp;4.2 (Run DDR Calibration and generate DDR initial code) of&lt;/P&gt;&lt;P&gt;"MSCALE_DDR_Tool_User_Guide.pdf" may be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2019 07:46:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970083#M144512</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2019-08-30T07:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: DDR_PHY programming issue on IMX8M board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970084#M144513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried to adjust impedance settings in RPA tool. When we set ODTImpedance to 240 Ohm, error message changed to&lt;/P&gt;&lt;P&gt;"PMU: Error: Dbyte 1 couldn't find the rising edge of DQS during RxEn Training". Is that means that DByte 0 DQS check completed successfully and MSCALE_DDR_Tool goes to Dbyte 1 checking, which fails? ATxImpedance and TxImpedance has no impact on this result, we tried different values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I tried changing TrainInfo parameter value to 0x05, as recommended in MSCALE_DDR_Tool_User_Guide.pdf, chapter 4.2 to get detailed debug messages, but got no additional messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to determine proper value for&amp;nbsp; PhyVref parameter(0x36 in RPA by default)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vyacheslav Bondarev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2019 11:41:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970084#M144513</guid>
      <dc:creator>vyacheslavbonda</dc:creator>
      <dc:date>2019-08-30T11:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: DDR_PHY programming issue on IMX8M board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970085#M144514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: 400; font-style: normal; font-size: 15px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; overflow-wrap: break-word; color: #51626f; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&amp;nbsp; the relation between the Vref and PhyVref value is as follows:&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: 400; font-style: normal; font-size: 15px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; overflow-wrap: break-word; color: #51626f; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: 400; font-style: normal; font-size: 15px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; overflow-wrap: break-word; color: #51626f; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;Vref = VDDQ*PhyVref/128&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: 400; font-style: normal; font-size: 15px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; overflow-wrap: break-word; color: #51626f; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: 400; font-style: normal; font-size: 15px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; overflow-wrap: break-word; color: #51626f; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;If the initial value is applied:&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: 400; font-style: normal; font-size: 15px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; overflow-wrap: break-word; color: #51626f; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;Vref = 1100*0x11/128 = 146.1 mV&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: 400; font-style: normal; font-size: 15px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; overflow-wrap: break-word; color: #51626f; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: 400; font-style: normal; font-size: 15px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; overflow-wrap: break-word; color: #51626f; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;Note that this setting affects only Vref for the reads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2019 07:26:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970085#M144514</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2019-09-02T07:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: DDR_PHY programming issue on IMX8M board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970086#M144515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;Yes,&amp;nbsp;&lt;/SPAN&gt;Dbyte1 RxEn training failed. Dbyte0 passed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;~Yuri.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2019 08:46:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970086#M144515</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2019-09-02T08:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: DDR_PHY programming issue on IMX8M board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970087#M144516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can this failure be caused by improper ODT signal connection? In our board all ODT inputs of DRAM is wired from ODT0 of CPU. Can we override this by setting DDRC_ODTMAP register?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vyacheslav Bondarev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2019 09:46:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970087#M144516</guid>
      <dc:creator>vyacheslavbonda</dc:creator>
      <dc:date>2019-09-02T09:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: DDR_PHY programming issue on IMX8M board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970088#M144517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; i.MX8M ODT0 - for CS0; ODT1 - for CS1. I've sent You schematic example.&lt;/P&gt;&lt;P&gt;You can try to use DDRC_ODTMAP for testing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2019 08:15:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970088#M144517</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2019-09-03T08:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: DDR_PHY programming issue on IMX8M board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970089#M144518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried remap ODT signals through DDRC_ODTMAP, with no success. As I understand, ODT is suitable for terminating inactive DRAM device, which is sharing same DQ bus. But in our configuration DRAM devices does not sharing DQ bus, so ODT signal is unused. Is that correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also we performed some tests to find some new solution for that problem. Last time we passed RxEn training for DByte 0, when we set ODTImpedance to 240 Ohm. This time we got same result when we just disabled address mirroring for channel 1. Yes, DByte 0 RxEn training passed, when we disabled address mirroring for DByte 1. Interesting, that in case&amp;nbsp;address mirroring disabled, ODTImpedance has no more impact on result. What is it could mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vyacheslav Bondarev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2019 12:17:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970089#M144518</guid>
      <dc:creator>vyacheslavbonda</dc:creator>
      <dc:date>2019-09-04T12:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: DDR_PHY programming issue on IMX8M board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970090#M144519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp; &amp;nbsp; It is possible to apply ODT&amp;nbsp; for terminating not only inactive DRAM device, but &lt;BR /&gt; for active DRAM too, depending on ODT/Rank Map Register (ODTMAP) settings.&lt;BR /&gt; &amp;nbsp; In Your case, when the second rank (CS1) is not used address mirroring &lt;BR /&gt; should be disabled. What do You mean "disabled address mirroring for DByte 1"? &lt;BR /&gt; If this is hardware approach&amp;nbsp; - it is OK. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2019 04:32:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/970090#M144519</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2019-09-10T04:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: DDR_PHY programming issue on IMX8M board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/1239463#M170296</link>
      <description>&lt;P&gt;I'm having a similar issue, what was the resolution for your board? Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 15:26:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/1239463#M170296</guid>
      <dc:creator>azurind</dc:creator>
      <dc:date>2021-03-03T15:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: DDR_PHY programming issue on IMX8M board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/1783187#M218235</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/99980"&gt;@azurind&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/67468"&gt;@vyacheslavbonda&lt;/a&gt;&amp;nbsp;Me too - did you solve it? If so - how?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 19:47:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/1783187#M218235</guid>
      <dc:creator>melon87</dc:creator>
      <dc:date>2024-01-04T19:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: DDR_PHY programming issue on IMX8M board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/1783192#M218237</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/1941"&gt;@Yuri&lt;/a&gt;&amp;nbsp;- I am having the same issue "&lt;SPAN&gt;MSCALE_DDR_Tool "PMU: Error: Dbyte 0 couldn't find the rising edge of DQS during RxEn Training".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We have used the latest tool, in admin and updated script using the spreadsheet.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I need to try to update the pin mapping as you advise - using the LP-DDR spreadsheet and also check PhyVref value is correct. Would both of these being wrong cause the above error message? If not, what else should we look at?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 20:00:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-PHY-programming-issue-on-IMX8M-board/m-p/1783192#M218237</guid>
      <dc:creator>melon87</dc:creator>
      <dc:date>2024-01-04T20:00:22Z</dc:date>
    </item>
  </channel>
</rss>

