<?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: IMX8QM LPI2C DMA error in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-LPI2C-DMA-error/m-p/1336350#M179715</link>
    <description>&lt;P&gt;Hi Mohamed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;not all i2c have dma supported as described in datasheet&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/155389i0163EB51ED15CBCE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;A id="relatedDocsClick_2" href="https://www.nxp.com/docs/en/data-sheet/IMX8QMAEC.pdf" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;i.MX 8QuadMax Automotive and Infotainment Applications Processors&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
    <pubDate>Wed, 08 Sep 2021 00:36:39 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2021-09-08T00:36:39Z</dc:date>
    <item>
      <title>IMX8QM LPI2C DMA error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-LPI2C-DMA-error/m-p/1336035#M179679</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i get the following kernel logs for i2c in imx8qm, we are using&amp;nbsp;5.10.35 version linux kernel&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;root@:~# dmesg | grep i2c&lt;BR /&gt;[ 2.379560] i2c /dev entries driver&lt;BR /&gt;[ 2.994049] imx-lpi2c 3b230000.i2c: can't get the TX DMA channel, error -19!&lt;BR /&gt;[ 3.001120] imx-lpi2c 3b230000.i2c: error -ENODEV: dma setup error -19, use pio&lt;BR /&gt;[ 3.053200] i2c i2c-2: LPI2C adapter registered&lt;BR /&gt;[ 3.058640] imx-lpi2c 5a800000.i2c: can't get the TX DMA channel, error -19!&lt;BR /&gt;[ 3.065727] imx-lpi2c 5a800000.i2c: error -ENODEV: dma setup error -19, use pio&lt;BR /&gt;[ 9.683160] i2c i2c-3: LPI2C adapter registered&lt;BR /&gt;[ 9.697523] imx-lpi2c 5a810000.i2c: using scl,sda for recovery&lt;BR /&gt;[ 9.703374] imx-lpi2c 5a810000.i2c: can't get the TX DMA channel, error -19!&lt;BR /&gt;[ 9.710438] imx-lpi2c 5a810000.i2c: error -ENODEV: dma setup error -19, use pio&lt;BR /&gt;[ 9.953716] i2c i2c-4: LPI2C adapter registered&lt;BR /&gt;[ 9.959539] imx-lpi2c 58226000.i2c: can't get the TX DMA channel, error -19!&lt;BR /&gt;[ 9.966609] imx-lpi2c 58226000.i2c: error -ENODEV: dma setup error -19, use pio&lt;BR /&gt;[ 10.299223] i2c i2c-5: LPI2C adapter registered&lt;BR /&gt;[ 10.305256] imx-lpi2c 58246000.i2c: can't get the TX DMA channel, error -19!&lt;BR /&gt;[ 10.312363] imx-lpi2c 58246000.i2c: error -ENODEV: dma setup error -19, use pio&lt;BR /&gt;[ 10.342772] i2c i2c-6: LPI2C adapter registered&lt;BR /&gt;[ 10.759768] imx-lpi2c 56247000.i2c: can't get the TX DMA channel, error -19!&lt;BR /&gt;[ 10.766862] imx-lpi2c 56247000.i2c: error -ENODEV: dma setup error -19, use pio&lt;BR /&gt;[ 10.782481] i2c i2c-7: LPI2C adapter registered&lt;BR /&gt;[ 10.787813] imx-lpi2c 57247000.i2c: can't get the TX DMA channel, error -19!&lt;BR /&gt;[ 10.794886] imx-lpi2c 57247000.i2c: error -ENODEV: dma setup error -19, use pio&lt;BR /&gt;[ 11.817094] i2c i2c-8: LPI2C adapter registered&lt;BR /&gt;[ 11.824084] imx-lpi2c 56226000.i2c: can't get the TX DMA channel, error -19!&lt;BR /&gt;[ 11.831167] imx-lpi2c 56226000.i2c: error -ENODEV: dma setup error -19, use pio&lt;BR /&gt;[ 11.887837] i2c i2c-9: LPI2C adapter registered&lt;BR /&gt;[ 11.893251] imx-lpi2c 57226000.i2c: can't get the TX DMA channel, error -19!&lt;BR /&gt;[ 11.900325] imx-lpi2c 57226000.i2c: error -ENODEV: dma setup error -19, use pio&lt;BR /&gt;[ 11.957434] i2c i2c-10: LPI2C adapter registered&lt;BR /&gt;&lt;A href="mailto:root@dictgu:~" target="_blank"&gt;root@:~#&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;it uses pio instead of DMA&lt;/DIV&gt;&lt;DIV&gt;how can we enable DMA transfer mode?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;&lt;DIV&gt;mohamed&lt;/DIV&gt;</description>
      <pubDate>Tue, 07 Sep 2021 10:15:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-LPI2C-DMA-error/m-p/1336035#M179679</guid>
      <dc:creator>mohamedmusthafa</dc:creator>
      <dc:date>2021-09-07T10:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8QM LPI2C DMA error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-LPI2C-DMA-error/m-p/1336350#M179715</link>
      <description>&lt;P&gt;Hi Mohamed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;not all i2c have dma supported as described in datasheet&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/155389i0163EB51ED15CBCE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;A id="relatedDocsClick_2" href="https://www.nxp.com/docs/en/data-sheet/IMX8QMAEC.pdf" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;i.MX 8QuadMax Automotive and Infotainment Applications Processors&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 00:36:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-LPI2C-DMA-error/m-p/1336350#M179715</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-09-08T00:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8QM LPI2C DMA error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-LPI2C-DMA-error/m-p/1336813#M179773</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We Are using&amp;nbsp;M41_I2C0_SCL , M41_I2C0_SDA to connect EEPROM in our custom board.&lt;/P&gt;&lt;P&gt;the above mentioned logs are getting for custom board based on iMX8QM processor.&lt;/P&gt;&lt;P&gt;but in mek we are not getting error&amp;nbsp; like that ,please find the below log in mek&lt;/P&gt;&lt;P&gt;we are using i2c-2 bus, which is the device tree node for M4 I2C&lt;/P&gt;&lt;DIV&gt;root@dictgu:~# dmesg | grep i2c&lt;BR /&gt;[ 2.026260] i2c /dev entries driver&lt;BR /&gt;[ 3.092767] i2c i2c-2: LPI2C adapter registered&lt;BR /&gt;[ 3.125138] input: fxos8700 as /devices/platform/bus@5a000000/5a800000.i2c/i2c-3/3-001e/input/input2&lt;BR /&gt;[ 3.136865] input: fxas2100x as /devices/platform/bus@5a000000/5a800000.i2c/i2c-3/3-0020/input/input3&lt;BR /&gt;[ 3.179499] OF: graph: no port node found in /bus@5a000000/i2c@5a800000/tcpc@51&lt;BR /&gt;[ 3.192181] i2c i2c-3: LPI2C adapter registered&lt;BR /&gt;[ 3.206233] imx-lpi2c 5a810000.i2c: using scl,sda for recovery&lt;BR /&gt;[ 3.216089] i2c i2c-4: LPI2C adapter registered&lt;BR /&gt;[ 3.244320] i2c i2c-5: LPI2C adapter registered&lt;BR /&gt;[ 3.272327] i2c i2c-6: LPI2C adapter registered&lt;BR /&gt;[ 3.277391] imx-lpi2c 56247000.i2c: can't get irq number&lt;BR /&gt;[ 3.283445] imx-lpi2c 57247000.i2c: can't get irq number&lt;BR /&gt;[ 3.289465] imx-lpi2c 56226000.i2c: can't get irq number&lt;BR /&gt;[ 3.295484] imx-lpi2c 57226000.i2c: can't get irq number&lt;BR /&gt;[ 4.216360] OF: graph: no port node found in /bus@5a000000/i2c@5a800000/tcpc@51&lt;BR /&gt;[ 4.239025] i2c i2c-7: LPI2C adapter registered&lt;BR /&gt;[ 4.251672] i2c i2c-8: LPI2C adapter registered&lt;BR /&gt;[ 4.309271] i2c i2c-9: LPI2C adapter registered&lt;BR /&gt;[ 4.402626] i2c i2c-10: LPI2C adapter registered&lt;BR /&gt;[ 4.536002] debugfs: Directory 'mipi1-i2c1' with parent 'pm_genpd' already present!&lt;BR /&gt;[ 4.543710] debugfs: Directory 'mipi1-i2c0' with parent 'pm_genpd' already present!&lt;BR /&gt;root@dictgu:~#&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Sep 2021 11:15:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-LPI2C-DMA-error/m-p/1336813#M179773</guid>
      <dc:creator>mohamedmusthafa</dc:creator>
      <dc:date>2021-09-08T11:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8QM LPI2C DMA error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-LPI2C-DMA-error/m-p/1336897#M179785</link>
      <description>&lt;P&gt;if it works on MEK board you can try to debug it using &lt;A id="relatedDocsClick_12" href="https://www.nxp.com/webapp/Download?colCode=AN12631" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;AN12631: Normal and Secure Debug for i.MX8/8X Family of Applications Processors – Application Note&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and running the same image on both boards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 13:47:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-LPI2C-DMA-error/m-p/1336897#M179785</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-09-08T13:47:19Z</dc:date>
    </item>
  </channel>
</rss>

