<?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: SDMA driver stall using as Bluetooth UART imx8m in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/SDMA-driver-stall-using-as-Bluetooth-UART-imx8m/m-p/1393326#M185208</link>
    <description>&lt;P&gt;from team:&lt;/P&gt;
&lt;P&gt;--------------------&lt;/P&gt;
&lt;P&gt;you can check it online:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://source.codeaurora.org/external/imx/linux-imx/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;--------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;attached is Linux Manual with description of all drivers.&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>Thu, 30 Dec 2021 09:48:24 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2021-12-30T09:48:24Z</dc:date>
    <item>
      <title>SDMA driver stall using as Bluetooth UART imx8m</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SDMA-driver-stall-using-as-Bluetooth-UART-imx8m/m-p/1389664#M184747</link>
      <description>&lt;P&gt;Our system is based off the imx8mm and I am currently using the Android 10 2.5.0 build tree.&lt;/P&gt;&lt;P&gt;I have an issue with our Bluetooth UART.&amp;nbsp; It uses UART1 with the CTS/RTS lines on UART3.&amp;nbsp; The UART will stall at some point, and no more HCI/Bluetooth traffic will be sent from the controller to the host.&amp;nbsp; I have tracked it down to the fact that the UART FIFO will hit the float level and assert CTS.&amp;nbsp; the float level is set to 16, in the imx.c UART driver.&amp;nbsp; This UART is configured to use SDMA (imx-sdma.c) to move the data to/from the UART RX and TX FIFO's.&amp;nbsp; What appears to be happening is that we have some SDMA overrun/error that causes the SDMA driver to leave 16 bytes in the RX FIFO which forces the UART to assert CTS and halts all data flow.&amp;nbsp; This stall does not self-correct.&lt;/P&gt;&lt;P&gt;Has this been seen by anyone else, and or an update in one of the newer Android or Linux builds ?&amp;nbsp; I can I detect and self-correct this stall ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Chris&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 19:20:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SDMA-driver-stall-using-as-Bluetooth-UART-imx8m/m-p/1389664#M184747</guid>
      <dc:creator>injaneer1</dc:creator>
      <dc:date>2021-12-20T19:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: SDMA driver stall using as Bluetooth UART imx8m</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SDMA-driver-stall-using-as-Bluetooth-UART-imx8m/m-p/1392981#M185152</link>
      <description>&lt;P&gt;Hi Chris&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;from team:&lt;/P&gt;
&lt;P&gt;----------&lt;/P&gt;
&lt;P&gt;Two quick suggestions on this issue:&lt;/P&gt;
&lt;P&gt;1. Try other BSPs to verify this issue? For example, Linux Linux 5.10.52_2.1.0;&lt;/P&gt;
&lt;P&gt;2. Checked the related pinmux.&lt;/P&gt;
&lt;P&gt;By the way, does UART1 have the issue at the begining? Or it work at the begining then have the stall issue?&lt;/P&gt;
&lt;P&gt;----------&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 09:01:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SDMA-driver-stall-using-as-Bluetooth-UART-imx8m/m-p/1392981#M185152</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-12-29T09:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: SDMA driver stall using as Bluetooth UART imx8m</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SDMA-driver-stall-using-as-Bluetooth-UART-imx8m/m-p/1393126#M185175</link>
      <description>&lt;P&gt;Is there a place I can view the drivers online of the other BSP's without having to sync to the repo ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have made improvements by increasing the buffer descriptors in the imx.c file from 4 to 16.&amp;nbsp; Also found this link which seems to be an attempt to fix this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://lore.kernel.org/linux-arm-kernel/20190911144943.21554-3-philipp.puschmann@emlix.com/" target="_blank"&gt;https://lore.kernel.org/linux-arm-kernel/20190911144943.21554-3-philipp.puschmann@emlix.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 22:11:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SDMA-driver-stall-using-as-Bluetooth-UART-imx8m/m-p/1393126#M185175</guid>
      <dc:creator>injaneer1</dc:creator>
      <dc:date>2021-12-29T22:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: SDMA driver stall using as Bluetooth UART imx8m</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SDMA-driver-stall-using-as-Bluetooth-UART-imx8m/m-p/1393326#M185208</link>
      <description>&lt;P&gt;from team:&lt;/P&gt;
&lt;P&gt;--------------------&lt;/P&gt;
&lt;P&gt;you can check it online:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://source.codeaurora.org/external/imx/linux-imx/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;--------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;attached is Linux Manual with description of all drivers.&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>Thu, 30 Dec 2021 09:48:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SDMA-driver-stall-using-as-Bluetooth-UART-imx8m/m-p/1393326#M185208</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-12-30T09:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: SDMA driver stall using as Bluetooth UART imx8m</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SDMA-driver-stall-using-as-Bluetooth-UART-imx8m/m-p/1394902#M185447</link>
      <description>&lt;P&gt;Can you provide the same link for the most recent Android OS (since we are using that and not the Linux.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 15:41:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SDMA-driver-stall-using-as-Bluetooth-UART-imx8m/m-p/1394902#M185447</guid>
      <dc:creator>injaneer1</dc:creator>
      <dc:date>2022-01-05T15:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: SDMA driver stall using as Bluetooth UART imx8m</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SDMA-driver-stall-using-as-Bluetooth-UART-imx8m/m-p/1395145#M185449</link>
      <description>&lt;P&gt;for Android it is the same as it is based on Linux, for example for Android 10 2.5.0 it is L5.4.47_2.2.0 :&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/166795iC4647684D906A826/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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 23:21:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SDMA-driver-stall-using-as-Bluetooth-UART-imx8m/m-p/1395145#M185449</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2022-01-05T23:21:22Z</dc:date>
    </item>
  </channel>
</rss>

