<?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: LS1017 - XSPI_B read errors in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1017-XSPI-B-read-errors/m-p/2143178#M15949</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209887"&gt;@Stefan_L&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this email finds you well,&lt;/P&gt;
&lt;P&gt;This may be a synchronization issue,&lt;/P&gt;
&lt;P&gt;I would like to ask you a few questions,&lt;/P&gt;
&lt;P&gt;Did you consider the note from the section?:&lt;/P&gt;
&lt;P&gt;18.5.14.4 DLL configuration for sampling:&lt;/P&gt;
&lt;P&gt;If serial root clock is lower than 100 MHz, DLL is unable to lock on half cycle of serial root clock because the delay&lt;BR /&gt;cell number is limited in delay chain. Then DLL should be configured as following instead:&lt;BR /&gt;— OVRDEN=0x1&lt;BR /&gt;— OVRDVAL=N; Each delay cell in DLL is about 75 ps~225 ps. The delay of DLL delay chain is (N *&lt;BR /&gt;Delay_cell_delay), N should be set based on max. DDR frequency that current project supported, N =&lt;BR /&gt;17,please notice this is a recommended value. May need to adjust in real application if facing failure.&lt;BR /&gt;— Other fields in DLLxCR should be kept as reset value (all zero)&lt;/P&gt;
&lt;P&gt;Could you please provide us with the root clock signals waveforms from the LS1017?&lt;/P&gt;
&lt;P&gt;Did you consider the information from the section "18.6.6 Application on FPGA device " from the QorIQ LS1028A Reference Manual, Rev. 0, 12/2019?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day.&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Hector V&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jul 2025 04:28:08 GMT</pubDate>
    <dc:creator>Hector_Villarruel</dc:creator>
    <dc:date>2025-07-30T04:28:08Z</dc:date>
    <item>
      <title>LS1017 - XSPI_B read errors</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1017-XSPI-B-read-errors/m-p/2140228#M15934</link>
      <description>&lt;P&gt;Hello NXP Support Team,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a read issue with the XSPI_B interface of &lt;/SPAN&gt;&lt;SPAN&gt;the&lt;/SPAN&gt;&lt;SPAN&gt; LS1017 device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Hardware Info/Setup:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;CPU XSPI_B is connected to a microsemi FPGA&lt;/LI&gt;&lt;LI&gt;CPU platform frequency = 400 MHz, CPU speed = 1500 MHz --&amp;gt; XSPI Errata A-050568 is not applicable&lt;/LI&gt;&lt;LI&gt;Single point-to-point connection (tracelength around 70mm, matched to +-2mm)&lt;/LI&gt;&lt;LI&gt;DDR Mode 50 MHz (100Mbit)&lt;/LI&gt;&lt;LI&gt;Only IP-Mode Commands are used for LS1017&lt;/LI&gt;&lt;LI&gt;DQS is driven by FPGA - provided read strobe(MCR0[RXCLKSRC]==3)&lt;/LI&gt;&lt;LI&gt;DLL for DQS sampling point set to: SLVDLYTARGET=0xF ; DLLEN=0x1 ; OVRDEN=0x0 ; Other fields in DLLxCR kept as reset value (all zero)&lt;/LI&gt;&lt;LI&gt;Only CS-Signal has a 4.75k pullup resistor&lt;/LI&gt;&lt;LI&gt;The simulated signal integrity on PCB level looks fine&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Error/Test-Funcion:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Initially a testfuction on the LS1017 (VxWorks operating system) generates a random pattern and writes it once to the a test memory within the FPGA.&lt;/P&gt;&lt;P&gt;After the write transaction has finished the funcion reads the pattern periodically from the FPGA test memory an compares it to the original values (512 Bytes per read loop).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached you can find an example console output of my test funcion showing the error.&lt;/P&gt;&lt;P&gt;I tried to read and verify the test memory content 5000 times. In this case the first 1207 runs showed no errors. Run 1208 contained errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The error pattern has conspicuous features:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Errors occure 64 Byte aligned (=IP-Command length) --&amp;gt; (attached example: offset 384/64=6)&lt;/LI&gt;&lt;LI&gt;Error is exactly 64 Byte long (=IP-Command length) --&amp;gt; (attached example: offset 448-384=63&lt;/LI&gt;&lt;LI&gt;Within the 64 error bytes only every second byte has errors --&amp;gt; falling edge of DQS?&lt;/LI&gt;&lt;LI&gt;It appers that the second bytes are shifted for the whole 64 bytes&lt;/LI&gt;&lt;/UL&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Offset 384-391 expected:&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0x d5 &lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;79&lt;/STRONG&gt;&lt;/FONT&gt; 23 &lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;80&lt;/FONT&gt;&lt;/STRONG&gt; 52 &lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;56&lt;/FONT&gt;&lt;/STRONG&gt; 5e 4d&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Offset 384-391 actual:&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0x d5 8a 23 &lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;79&lt;/FONT&gt;&lt;/STRONG&gt; 52 &lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;80&lt;/FONT&gt;&lt;/STRONG&gt; 5e &lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;56&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For other testfuncion runs the errors have the same features, but at different runs + offsets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;My Questions:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Have you seen similar read issues in the past&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;In the Reference Manual Figure 187. DQS is drawn in phase with A_SCLK/B_SCLK, but in reality DQS rising/falling edge is shifted by round-trip-time + FPGA lead time. (in our case in the magnitude of 8 to 10 ns). Can you provide more information on how internal DQS sampling mechanism / DLL delay line is working? (e. g. timebase for DLL)&lt;/LI&gt;&lt;LI&gt;Datasheet Table 49. contains a formula for &lt;I&gt;CS output hold time/ CS output delay&lt;/I&gt; with the parameter T/2. T is the period of FSCK previous mentioned in the same table? FSCK = serial root clock? --&amp;gt; in our case T=10ns?&lt;/LI&gt;&lt;LI&gt;Datasheet Figure 32.: FlexSPI DDR mode 2 = (MCR0[RXCLKSRC]=0x3)? TFSIDVW Value from Table 48 ist also applicable to DDR mode with MCR0[RXCLKSRC]=0x3&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;SL&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 14:32:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1017-XSPI-B-read-errors/m-p/2140228#M15934</guid>
      <dc:creator>Stefan_L</dc:creator>
      <dc:date>2025-07-24T14:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: LS1017 - XSPI_B read errors</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1017-XSPI-B-read-errors/m-p/2143178#M15949</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209887"&gt;@Stefan_L&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this email finds you well,&lt;/P&gt;
&lt;P&gt;This may be a synchronization issue,&lt;/P&gt;
&lt;P&gt;I would like to ask you a few questions,&lt;/P&gt;
&lt;P&gt;Did you consider the note from the section?:&lt;/P&gt;
&lt;P&gt;18.5.14.4 DLL configuration for sampling:&lt;/P&gt;
&lt;P&gt;If serial root clock is lower than 100 MHz, DLL is unable to lock on half cycle of serial root clock because the delay&lt;BR /&gt;cell number is limited in delay chain. Then DLL should be configured as following instead:&lt;BR /&gt;— OVRDEN=0x1&lt;BR /&gt;— OVRDVAL=N; Each delay cell in DLL is about 75 ps~225 ps. The delay of DLL delay chain is (N *&lt;BR /&gt;Delay_cell_delay), N should be set based on max. DDR frequency that current project supported, N =&lt;BR /&gt;17,please notice this is a recommended value. May need to adjust in real application if facing failure.&lt;BR /&gt;— Other fields in DLLxCR should be kept as reset value (all zero)&lt;/P&gt;
&lt;P&gt;Could you please provide us with the root clock signals waveforms from the LS1017?&lt;/P&gt;
&lt;P&gt;Did you consider the information from the section "18.6.6 Application on FPGA device " from the QorIQ LS1028A Reference Manual, Rev. 0, 12/2019?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day.&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Hector V&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 04:28:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1017-XSPI-B-read-errors/m-p/2143178#M15949</guid>
      <dc:creator>Hector_Villarruel</dc:creator>
      <dc:date>2025-07-30T04:28:08Z</dc:date>
    </item>
  </channel>
</rss>

