<?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: i.MX7D PCIe behavior of &amp;quot;Directed_Speed_Change&amp;quot; in &amp;quot;PCIE_PL_G2CR&amp;quot; in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-PCIe-behavior-of-quot-Directed-Speed-Change-quot-in-quot/m-p/611433#M92307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Igor:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That does shed some light on the subject. Unforutuantely I can's seem to see anything but high-level marketing datasheets at the link you provided. Can you elaborate a bit more on "&lt;STRONG&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-weight: normal;"&gt;When the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-weight: normal;"&gt;speed change occurs, the core will clear the contents of this&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-weight: normal;"&gt;field; and a read to this field by your software will return 0" as to what would happen if the speed change does not occur?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; font-weight: normal;"&gt;As I mentioned earlier what I am observing using Freescale BSP is that on i.MX6 the bit does and on i.MX7 does not get cleared by the hardware. If that is not expected behavior&amp;nbsp;would you have any suggestion as to what might cause such behavior?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jan 2017 18:21:20 GMT</pubDate>
    <dc:creator>andreysmirnov</dc:creator>
    <dc:date>2017-01-16T18:21:20Z</dc:date>
    <item>
      <title>i.MX7D PCIe behavior of "Directed_Speed_Change" in "PCIE_PL_G2CR"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-PCIe-behavior-of-quot-Directed-Speed-Change-quot-in-quot/m-p/611431#M92305</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;I am trying to understand the behavior of&amp;nbsp;"Directed_Speed_Change" bit in "Gen2 Control Register (PCIE_PL_G2CR)" register (bit 17 and offset 0x700 + 0x10C) on i.MX7D. From reading the source code of PCIe driver in Freescale BSP (or mainline kernel) it appears that said bit is expected to be cleared by the hardware as a way of handshaking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Experiments with i.MX6Q and i.MX7D variants of Sabre boards, though, show that when connected to a Gen 1 only peripheral (in my case external i210 PCIe card) i.MX6Q SoC will indeed clear said bit after it is written, where as i.MX7D SoC will not. Is that an expected behavior?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 16:32:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-PCIe-behavior-of-quot-Directed-Speed-Change-quot-in-quot/m-p/611431#M92305</guid>
      <dc:creator>andreysmirnov</dc:creator>
      <dc:date>2017-01-12T16:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX7D PCIe behavior of "Directed_Speed_Change" in "PCIE_PL_G2CR"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-PCIe-behavior-of-quot-Directed-Speed-Change-quot-in-quot/m-p/611432#M92306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this bit is Directed Speed Change. Writing "1" to this&lt;BR /&gt;field instructs the LTSSM to initiate a speed change to Gen2&lt;BR /&gt;or Gen3 after the link is initialized at Gen1 speed. When the&lt;BR /&gt;speed change occurs, the core will clear the contents of this&lt;BR /&gt;field; and a read to this field by your software will return a "0".&lt;BR /&gt;This is described in IP documentation on below link &lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.synopsys.com%2Fdw%2Fipdir.php%3Fds%3Ddwc_pci_express_dm" rel="nofollow" target="_blank"&gt;https://www.synopsys.com/dw/ipdir.php?ds=dwc_pci_express_dm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jan 2017 23:41:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-PCIe-behavior-of-quot-Directed-Speed-Change-quot-in-quot/m-p/611432#M92306</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-01-15T23:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX7D PCIe behavior of "Directed_Speed_Change" in "PCIE_PL_G2CR"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-PCIe-behavior-of-quot-Directed-Speed-Change-quot-in-quot/m-p/611433#M92307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Igor:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That does shed some light on the subject. Unforutuantely I can's seem to see anything but high-level marketing datasheets at the link you provided. Can you elaborate a bit more on "&lt;STRONG&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-weight: normal;"&gt;When the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-weight: normal;"&gt;speed change occurs, the core will clear the contents of this&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-weight: normal;"&gt;field; and a read to this field by your software will return 0" as to what would happen if the speed change does not occur?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; font-weight: normal;"&gt;As I mentioned earlier what I am observing using Freescale BSP is that on i.MX6 the bit does and on i.MX7 does not get cleared by the hardware. If that is not expected behavior&amp;nbsp;would you have any suggestion as to what might cause such behavior?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 18:21:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-PCIe-behavior-of-quot-Directed-Speed-Change-quot-in-quot/m-p/611433#M92307</guid>
      <dc:creator>andreysmirnov</dc:creator>
      <dc:date>2017-01-16T18:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX7D PCIe behavior of "Directed_Speed_Change" in "PCIE_PL_G2CR"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-PCIe-behavior-of-quot-Directed-Speed-Change-quot-in-quot/m-p/611434#M92308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrey:&lt;/P&gt;&lt;P&gt;I consulted with IC design team, the different behavior between iMX6Q PCIe and iMX7D PCIe maybe caused by the different controller version.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Regarding to the DOC description, the DIRECT_SPEED_CHANGE &lt;STRONG&gt;should be cleared &lt;/STRONG&gt;after the speed change from GEN1 to GEN2. Unfortunately, when GEN1 device is used, the behavior is not documented.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So, IC design guys run the simulation and find out the following behaviors:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;DIRECT_SPEED_CHANGE &lt;STRONG&gt;will be cleared in 7D after speed change from GEN1 to GEN2&lt;/STRONG&gt;. This matches doc’s description&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-family: Calibri;"&gt;&lt;SPAN style="font-size: medium;"&gt;set MAX link speed(PCIE_CAP_TARGET_LINK_SPEED=0x01) as GEN1 and re-run the simulation, DIRECT_SPEED_CHANGE &lt;STRONG&gt;will not be cleared&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: medium;"&gt;; remain as 1, this matches your result, but &lt;/SPAN&gt;&lt;STRONG style="font-size: medium;"&gt;function test is passed&lt;/STRONG&gt;&lt;SPAN style="font-size: medium;"&gt;, so this bit should not affect the normal PCIe function.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: medium; font-family: Times New Roman;"&gt;Richard&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 07:49:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7D-PCIe-behavior-of-quot-Directed-Speed-Change-quot-in-quot/m-p/611434#M92308</guid>
      <dc:creator>richard_zhu</dc:creator>
      <dc:date>2017-02-06T07:49:36Z</dc:date>
    </item>
  </channel>
</rss>

