<?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: PCIe 32bit bus master transfers</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/PCIe-32bit-bus-master-transfers/m-p/1648535#M205675</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215631"&gt;@zerocom38&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope you are doing well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;PCIe interface that has some features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;• Embedded DMA&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;The Data Base Interface can access all 4096 bytes (1024 DWORDs) of the PCI Express configuration space per function. DBI can also access iATU and DMA configuration space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;PCIe address bus can be set as either 32/64 bits.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;To start a DMA transfer one has to make sure the size of the DMA transfer is set correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;Please refer to section - DMA Transfer Size Register in the RM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;One can also find the details regarding how to detect whether the DMA transfer is completed or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;The peripheral(PCIE) can easily "stream" the data from (or to) an internal register that's one word long(PCIe payload size)(32b/64b),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;One can also check the same thing with the latest kernel, Please make sure to use that as it is recommended to use the latest driver and firmware to avoid such kind of issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this information helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sanket Parekh&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2023 09:18:07 GMT</pubDate>
    <dc:creator>Sanket_Parekh</dc:creator>
    <dc:date>2023-05-11T09:18:07Z</dc:date>
    <item>
      <title>PCIe 32bit bus master transfers</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PCIe-32bit-bus-master-transfers/m-p/1647027#M205509</link>
      <description>&lt;P&gt;I have a PCIe device (which is an FPGA board) connected to the i.MX 8M and I see a problem with DMA transfers. The device itself works well for a couple of years on older ARM systems. Here is my problem:&lt;/P&gt;&lt;P&gt;I started a DMA transfer of 4 bytes on the PCI bus (the DMA controller is inside the device so that it will do a PCI bus master transfer) and this transfer never started or finished, so it looks like the transfer size of 4 bytes is too small. Larger transfers (8 or more bytes) work fine.&lt;/P&gt;&lt;P&gt;Is there a limitation on the i.MX 8 which disallows 32bit transfers? Is there a way to change/configure it to allow 32bit DMA transfers or could this be something else? Any help is appreciated.&lt;/P&gt;&lt;P&gt;I'm using a Linux kernel 5.4.70-2.3.0 right now, which comes with an iWave Q7 module.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 09:32:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PCIe-32bit-bus-master-transfers/m-p/1647027#M205509</guid>
      <dc:creator>zerocom38</dc:creator>
      <dc:date>2023-05-09T09:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: PCIe 32bit bus master transfers</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PCIe-32bit-bus-master-transfers/m-p/1648535#M205675</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215631"&gt;@zerocom38&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope you are doing well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;PCIe interface that has some features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;• Embedded DMA&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;The Data Base Interface can access all 4096 bytes (1024 DWORDs) of the PCI Express configuration space per function. DBI can also access iATU and DMA configuration space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;PCIe address bus can be set as either 32/64 bits.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;To start a DMA transfer one has to make sure the size of the DMA transfer is set correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;Please refer to section - DMA Transfer Size Register in the RM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;One can also find the details regarding how to detect whether the DMA transfer is completed or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;The peripheral(PCIE) can easily "stream" the data from (or to) an internal register that's one word long(PCIe payload size)(32b/64b),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;One can also check the same thing with the latest kernel, Please make sure to use that as it is recommended to use the latest driver and firmware to avoid such kind of issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this information helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sanket Parekh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 09:18:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PCIe-32bit-bus-master-transfers/m-p/1648535#M205675</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-05-11T09:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: PCIe 32bit bus master transfers</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PCIe-32bit-bus-master-transfers/m-p/1648733#M205698</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I don't use the embedded DMA controller, instead, I use the DMA controller from the PCIe device. A 4-byte DMA transfer doesn't work, which lets me think that only 64-bit (bus master) transfers are possible. Is this true or is there an option to configure/change that?&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Stefan&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 12:58:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PCIe-32bit-bus-master-transfers/m-p/1648733#M205698</guid>
      <dc:creator>zerocom38</dc:creator>
      <dc:date>2023-05-11T12:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: PCIe 32bit bus master transfers</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PCIe-32bit-bus-master-transfers/m-p/1649316#M205775</link>
      <description>&lt;P&gt;&lt;SPAN class="im"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215631"&gt;@zerocom38&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I hope you are doing well.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;Yes, It is true DMA controller on the imx8m only supports 8-byte transfers, because it uses a 4-byte wide data path, so it won't be able to perform 4-byte transfers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;The SDMA system bus supports a 32-bit data path and a 16-bit address bus. The system bus datapath is used for both 16-bit instruction (program) memory access and 32-bit data access.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;DMA units interface to the core via the Functional Unit Bus and use dedicated registers to perform DMA transfers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;Please refer to section 7.2 SDMA for more details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;Please refer to the diagram 7.2.1.1 Block Diagram for detail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=IMX8MDQLQRM" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://www.nxp.com/webapp/Download?colCode%3DIMX8MDQLQRM&amp;amp;source=gmail&amp;amp;ust=1683964549029000&amp;amp;usg=AOvVaw0l8DtX595A2iY4wMMO6r3Y"&gt;https://www.nxp.com/webapp/&lt;WBR /&gt;Download?colCode=IMX8MDQLQRM&lt;/A&gt;&lt;SPAN class="im"&gt;&lt;BR /&gt;&lt;BR /&gt;I hope this information helps!&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="im"&gt;Sanket Parekh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 09:53:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PCIe-32bit-bus-master-transfers/m-p/1649316#M205775</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-05-12T09:53:52Z</dc:date>
    </item>
  </channel>
</rss>

