<?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のトピックi.MX6 PCIe RX FIFO Full?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-RX-FIFO-Full/m-p/792494#M122740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;Hello,&lt;/P&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;I have a trouble at PCIe between i.MX6 and Altera FPGA.&lt;/P&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;There is used yocto Linux as OS. I allocated memory space by pci_alloc_consistent() on device driver, FPGA write data to physical address of its memory.&lt;/P&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;At first, it was well. But if I transferred continuously, then i.MX6 cannot receive soon, RX FIFO full signal from i.MX6 asserted after it. I watched this behavior by Altera Signal Tap.&lt;/P&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;I am confused because PCIe RX of i.MX6 become full in spite of transfer rate is bery slow (about 1MB/s).&lt;/P&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;I am thinking that because FPGA write to memory directly, software (include device driver, OS) didn't relate it.&lt;/P&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;i) Please tell me this recognition is correct or not. If it is correct, then I will focus to fix FPGA.&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;ii) How do you think why does RX FIFO become full?&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jun 2018 13:15:50 GMT</pubDate>
    <dc:creator>massohy</dc:creator>
    <dc:date>2018-06-18T13:15:50Z</dc:date>
    <item>
      <title>i.MX6 PCIe RX FIFO Full?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-RX-FIFO-Full/m-p/792494#M122740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;Hello,&lt;/P&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;I have a trouble at PCIe between i.MX6 and Altera FPGA.&lt;/P&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;There is used yocto Linux as OS. I allocated memory space by pci_alloc_consistent() on device driver, FPGA write data to physical address of its memory.&lt;/P&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;At first, it was well. But if I transferred continuously, then i.MX6 cannot receive soon, RX FIFO full signal from i.MX6 asserted after it. I watched this behavior by Altera Signal Tap.&lt;/P&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;I am confused because PCIe RX of i.MX6 become full in spite of transfer rate is bery slow (about 1MB/s).&lt;/P&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;I am thinking that because FPGA write to memory directly, software (include device driver, OS) didn't relate it.&lt;/P&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;i) Please tell me this recognition is correct or not. If it is correct, then I will focus to fix FPGA.&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;ii) How do you think why does RX FIFO become full?&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2018 13:15:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-RX-FIFO-Full/m-p/792494#M122740</guid>
      <dc:creator>massohy</dc:creator>
      <dc:date>2018-06-18T13:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 PCIe RX FIFO Full?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-RX-FIFO-Full/m-p/792495#M122741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for improving i.MX6 PCIe performance one can try to use&lt;/P&gt;&lt;P&gt;IPU as the bus master(DMA), using patches on &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-95014"&gt;i.MX6Q PCIe EP/RC Validation System&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For narrow down issue may be helpful try baremetal sdk test&lt;/P&gt;&lt;P&gt;(sdk zip can be found on &lt;A href="https://community.nxp.com/thread/432859"&gt;https://community.nxp.com/thread/432859&lt;/A&gt;&amp;nbsp;)&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>Tue, 19 Jun 2018 01:05:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-RX-FIFO-Full/m-p/792495#M122741</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-06-19T01:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 PCIe RX FIFO Full?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-RX-FIFO-Full/m-p/792496#M122742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;Hello igor,&lt;/P&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;Thank you for your reply and induction.&lt;/P&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;It is great solution to use IPU as DMA. I&lt;/P&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;I will be grateful if you could advise to my question.&lt;/P&gt;&lt;UL style="margin-bottom: 0mm; color: #000000; font-size: medium; font-weight: 400; text-indent: 0px; margin-top: 0mm;"&gt;&lt;LI style="margin: 0mm 0mm 0.0001pt -18pt; font-size: 10.5pt;"&gt;Should I patch for my kernel whether I use or not IPU as DMA?&lt;/LI&gt;&lt;LI style="margin: 0mm 0mm 0.0001pt -18pt; font-size: 10.5pt;"&gt;Can I apply this solution for my environment that CPU of i.MX6 don't execute read command? Or if FPGA perform burst write to physical memory, then is it same effect that i.MX6 read from FPGA by DMA(IPU)?&lt;/LI&gt;&lt;LI style="margin: 0mm 0mm 0.0001pt -18pt; font-size: 10.5pt;"&gt;If I don’t use DMA, does rx fifo of PCIe in i.MX6 become full frequently?&lt;/LI&gt;&lt;/UL&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0mm 0mm 0.0001pt; font-size: 10.5pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;And thank you for introduce SDK. Because Mentor discontinue to supply Code Sourcery Lite for ARM, I used ARM arm-none-eabi-gcc, but I have not succeeded to build SDK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 13:02:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-RX-FIFO-Full/m-p/792496#M122742</guid>
      <dc:creator>massohy</dc:creator>
      <dc:date>2018-06-21T13:02:36Z</dc:date>
    </item>
  </channel>
</rss>

