<?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>S32KのトピックRe: S32K146 UART DMA usage problems</title>
    <link>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1167860#M8486</link>
    <description>&lt;P&gt;“&lt;SPAN&gt;he LPUART allows to use DMA only for the transmitter.&lt;/SPAN&gt;”&amp;nbsp; Are you sure?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Oct 2020 01:24:33 GMT</pubDate>
    <dc:creator>lzjregister</dc:creator>
    <dc:date>2020-10-15T01:24:33Z</dc:date>
    <item>
      <title>S32K146 UART DMA usage problems</title>
      <link>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1044492#M6820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Project Brief Introduction:&lt;BR /&gt;1. Using S32K146 MCU;&lt;BR /&gt;2. Using many MCU peripherals, such as UART(BR: 230000bps), CAN, I2C, GPIO, LPIT, LPTMR, FTM(2 modules, 12 channels IC, ) etc, and we also use FreeRTOS.&lt;BR /&gt;3. All of peripherals above but GPIO using interrupt mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem:&lt;BR /&gt;1. Data size on UART is about 9KB/s, we configure UART interrupt every byte, so too many interrupts performed and our application functions will be affected.&lt;BR /&gt;2. Now I want to use DMA to take over UART TX interrupts firstly, but I don't know whether I can sperate the UART communication(TX/RX) and use DMA on only one direction.&lt;BR /&gt;3. If answer for 2 is yes, then may I use SDK to implement this(currently, we use SDK to configure the UART module)? May I know the steps?&lt;BR /&gt;4. If answer for 2 is no, then do you have any other suggestion which can reduce my interrupts obviously.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2020 06:22:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1044492#M6820</guid>
      <dc:creator>xiaoyuwang</dc:creator>
      <dc:date>2020-05-05T06:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: S32K146 UART DMA usage problems</title>
      <link>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1044493#M6821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/xiaoyuwang"&gt;xiaoyuwang&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;The LPUART allows to use DMA only for the transmitter.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/107762iBCD0518DEC76655B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/107797i528FBD2F459CA91C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;No, the LPUART SDK driver can be used either in Interrupt or DMA mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.&amp;nbsp;The FIFO WATER marks can be used (FIFO, WATER).&lt;BR /&gt;But the SDK driver does no use it, TXWATER = RXWATER = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2020 12:25:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1044493#M6821</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-05-06T12:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: S32K146 UART DMA usage problems</title>
      <link>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1044494#M6822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Daniel,&lt;/P&gt;&lt;P&gt;Thank you so much for your answer.&lt;/P&gt;&lt;P&gt;for question 3, I cannot understand clearly.&lt;/P&gt;&lt;P&gt;You mean I cannot implement only UART TX use DMA mode with current SDK?&lt;/P&gt;&lt;P&gt;If so, is it possible for me to&amp;nbsp;implement by modify current SDK? What should I do?&lt;/P&gt;&lt;P&gt;Thank you~~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2020 02:29:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1044494#M6822</guid>
      <dc:creator>xiaoyuwang</dc:creator>
      <dc:date>2020-05-07T02:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: S32K146 UART DMA usage problems</title>
      <link>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1044495#M6823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/xiaoyuwang"&gt;xiaoyuwang&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Yes, it is not possible to use DMA only for the transmitter (LPUART TX) with the SDK LPUART driver.&lt;/P&gt;&lt;P&gt;There is no simple modification of the driver that you can do.&lt;/P&gt;&lt;P&gt;Why you don't use DMA for both the transmitter and the receiver?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2020 11:31:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1044495#M6823</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-05-07T11:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: S32K146 UART DMA usage problems</title>
      <link>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1044496#M6824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Daniel,&lt;/P&gt;&lt;P&gt;We have a UART communication protocol, and communication frames length are not fixed value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use DMA for UART reception, DMA will transfer communication bytes only&amp;nbsp;one every time, currently I don't know how to increase the transfer efficiency.&lt;/P&gt;&lt;P&gt;One more question, I tried UART transmission with DMA, but I found a problem: My transmission success ratio only about 60%.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="企业微信截图_1555555.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/98309i6F15BD703AD0C0C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="企业微信截图_1555555.png" alt="企业微信截图_1555555.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Picture above show you that I pack my data and call function interface "LPUART_DRV_SendDataBlocking" for transmission.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="企业微信截图_15889035838073.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/98477i728E07A4C2ADF200/image-size/large?v=v2&amp;amp;px=999" role="button" title="企业微信截图_15889035838073.png" alt="企业微信截图_15889035838073.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As shown in picture, I use default source code in SDK. I wonder how to increase the transfer success ratio.&lt;/P&gt;&lt;P&gt;Thanks again~~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2020 02:11:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1044496#M6824</guid>
      <dc:creator>xiaoyuwang</dc:creator>
      <dc:date>2020-05-08T02:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: S32K146 UART DMA usage problems</title>
      <link>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1044497#M6825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/xiaoyuwang"&gt;xiaoyuwang&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Could you please elaborate on the description.&lt;/P&gt;&lt;P&gt;What exactly do you mean by the success ratio?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2020 08:00:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1044497#M6825</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-05-11T08:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: S32K146 UART DMA usage problems</title>
      <link>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1044498#M6826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&amp;nbsp;Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In&amp;nbsp;my&amp;nbsp;ECU,&amp;nbsp;my&amp;nbsp;MCU&amp;nbsp;will&amp;nbsp;communication&amp;nbsp;with&amp;nbsp;SOC&amp;nbsp;chip&amp;nbsp;with&amp;nbsp;UART,&amp;nbsp;and&amp;nbsp;both&amp;nbsp;Tx&amp;nbsp;and&amp;nbsp;Rx&amp;nbsp;frames&amp;nbsp;will&amp;nbsp;observe&amp;nbsp;the&amp;nbsp;same&amp;nbsp;communication&amp;nbsp;protocol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MCU&amp;nbsp;will&amp;nbsp;send&amp;nbsp;frames&amp;nbsp;to&amp;nbsp;SOC&amp;nbsp;according&amp;nbsp;to&amp;nbsp;task&amp;nbsp;need.&amp;nbsp;But&amp;nbsp;currently,&amp;nbsp;when&amp;nbsp;I&amp;nbsp;use&amp;nbsp;send&amp;nbsp;interface&amp;nbsp;which&amp;nbsp;mentioned&amp;nbsp;above&amp;nbsp;to&amp;nbsp;send&amp;nbsp;my&amp;nbsp;frames,&amp;nbsp;about&amp;nbsp;60%&amp;nbsp;of&amp;nbsp;them(Tx&amp;nbsp;frames)&amp;nbsp;are&amp;nbsp;transferred&amp;nbsp;failed.&amp;nbsp;Which&amp;nbsp;means&amp;nbsp;only&amp;nbsp;40%&amp;nbsp;of&amp;nbsp;my&amp;nbsp;Tx-Frames&amp;nbsp;are&amp;nbsp;send&amp;nbsp;successfully.&amp;nbsp;This&amp;nbsp;is&amp;nbsp;my&amp;nbsp;success&amp;nbsp;ratio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For&amp;nbsp;problem&amp;nbsp;described&amp;nbsp;above,&amp;nbsp;I&amp;nbsp;guess&amp;nbsp;that&amp;nbsp;is&amp;nbsp;because&amp;nbsp;of&amp;nbsp;the&amp;nbsp;5th&amp;nbsp;parameter&amp;nbsp;of&amp;nbsp;interface&amp;nbsp;"EDMA_DRV_ConfigMultiBlockTransfer".&amp;nbsp;&amp;nbsp;Currently,&amp;nbsp;it&amp;nbsp;is&amp;nbsp;filled&amp;nbsp;with&amp;nbsp;"EDMA_TRANSFER_SIZE_1B",&amp;nbsp;it&amp;nbsp;is&amp;nbsp;because&amp;nbsp;of&amp;nbsp;the&amp;nbsp;byte&amp;nbsp;width&amp;nbsp;of&amp;nbsp;DATA&amp;nbsp;register&amp;nbsp;of&amp;nbsp;LPUART.&amp;nbsp;But&amp;nbsp;I&amp;nbsp;think&amp;nbsp;it&amp;nbsp;is&amp;nbsp;too&amp;nbsp;slow&amp;nbsp;that&amp;nbsp;DMA&amp;nbsp;will&amp;nbsp;transfer&amp;nbsp;only&amp;nbsp;1&amp;nbsp;byte&amp;nbsp;every&amp;nbsp;time.&amp;nbsp;Can&amp;nbsp;it&amp;nbsp;be&amp;nbsp;values&amp;nbsp;other&amp;nbsp;than&amp;nbsp;&amp;nbsp;"EDMA_TRANSFER_SIZE_1B"?&amp;nbsp;&amp;nbsp;How&amp;nbsp;to&amp;nbsp;configure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank&amp;nbsp;you&amp;nbsp;~~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2020 11:04:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1044498#M6826</guid>
      <dc:creator>xiaoyuwang</dc:creator>
      <dc:date>2020-05-11T11:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: S32K146 UART DMA usage problems</title>
      <link>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1044499#M6827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/xiaoyuwang"&gt;xiaoyuwang&lt;/A&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;As it was already discussed, the LPUART – DMA SDK implementation does not use LPUART FIFO, so, only the EDMA_TRANSFER_SIZE_1B can be used.&lt;BR /&gt;But the EDMA_TRANSFER_SIZE_1B parameter should not cause these issues.&lt;BR /&gt;Once the DMA transfer starts, it transfers one byte per a LPUART request, but it should not fail to transfer them.&lt;/P&gt;&lt;P&gt;What is the return status of the LPUART_DRV_SendDataBlocking() function?&lt;BR /&gt;Does it return TIMEOUT or any other error message?&lt;BR /&gt;Do you use other DMA channels with higher priorities?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 07:49:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1044499#M6827</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-05-18T07:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: S32K146 UART DMA usage problems</title>
      <link>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1044500#M6828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiaoyu, for your concern that using UART Rx receiving not&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;fixed-length value. Below is a method suggested using DMA+ UART RX IDLE interrupt. For example, setting DMA&amp;nbsp;BITER = 100, which means every 100 bytes received a DMA complete IRQ will be triggered. Set a counter ++ in the DMA complete callback, calculate the rest bytes in the UART RX IDLE callback by reading the CITER register of DMA, and take out the (100-CITER bytes) length of data.&amp;nbsp; When you are receiving 770 bytes of data, 7 times of DMA complete callback will be called, so the counter is 7. When RX IDLE callback is called(Which means all frames are sent), CITER should be 30. And only 7+1=8 times of IRQ occurred.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 13:34:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1044500#M6828</guid>
      <dc:creator>Jeremy_He</dc:creator>
      <dc:date>2020-05-18T13:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: S32K146 UART DMA usage problems</title>
      <link>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1167354#M8479</link>
      <description>&lt;P&gt;hello, could you show some code example, thank you very much!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 09:26:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1167354#M8479</guid>
      <dc:creator>lzjregister</dc:creator>
      <dc:date>2020-10-14T09:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: S32K146 UART DMA usage problems</title>
      <link>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1167860#M8486</link>
      <description>&lt;P&gt;“&lt;SPAN&gt;he LPUART allows to use DMA only for the transmitter.&lt;/SPAN&gt;”&amp;nbsp; Are you sure?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 01:24:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1167860#M8486</guid>
      <dc:creator>lzjregister</dc:creator>
      <dc:date>2020-10-15T01:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: S32K146 UART DMA usage problems</title>
      <link>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1366448#M12647</link>
      <description>&lt;P&gt;I would like to revive this thread; I too am having a lot of difficulty using UART DMA mode on a S32K1xx device (S32K148).&lt;/P&gt;&lt;P&gt;I found that although configuration succeeds and the return values look good for all driver functions, the TX callback function is never called and nothing is transmitted. I have configured the eDMA in advance, very similar to all the examples I can find for SPI/DMA, but clearly something is missing. I have uart1 working with interrupt mode and I am trying to add uart2 in DMA mode (using uart1 to debug). I have also tried going straight to uart1 being in DMA mode but see nothing coming out and lose my debugging statements/assertions that way.&lt;/P&gt;&lt;P&gt;The basics are the following (edited for brevity):&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;CLOCK_DRV_Init(...)&lt;BR /&gt;PINS_DRV_Init(...)&lt;/P&gt;&lt;P&gt;edma_user_config_t user_config = {&lt;BR /&gt;.chnArbitration = EDMA_ARBITRATION_FIXED_PRIORITY,&lt;BR /&gt;.haltOnError = false&lt;BR /&gt;};&lt;BR /&gt;EDMA_DRV_Init(...)&lt;/P&gt;&lt;P&gt;edma_channel_config_t tx_dma_ch_config = {&lt;BR /&gt;.channelPriority = EDMA_CHN_DEFAULT_PRIORITY,&lt;BR /&gt;.virtChnConfig = edma_tx_ch_,&lt;BR /&gt;.source = get_tx_dma_source(uart_ch_),&lt;BR /&gt;.callback = NULL,&lt;BR /&gt;.callbackParam = NULL,&lt;BR /&gt;.enableTrigger = true,&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;...&lt;BR /&gt;EDMA_DRV_ChannelInit(...);&lt;BR /&gt;EDMA_DRV_ConfigureInterrupt(edma_tx_ch_, EDMA_CHN_MAJOR_LOOP_INT, true);&lt;BR /&gt;EDMA_DRV_ConfigureInterrupt(edma_tx_ch_, EDMA_CHN_ERR_INT, true);&lt;/P&gt;&lt;P&gt;lpuart_user_config_t lpuart_config = {&lt;BR /&gt;.baudRate = baud,&lt;BR /&gt;.parityMode = LPUART_PARITY_DISABLED,&lt;BR /&gt;.stopBitCount = LPUART_ONE_STOP_BIT,&lt;BR /&gt;.bitCountPerChar = LPUART_8_BITS_PER_CHAR,&lt;BR /&gt;.transferType = LPUART_USING_DMA,&lt;BR /&gt;.rxDMAChannel = edma_rx_ch_,&lt;BR /&gt;.txDMAChannel = edma_tx_ch_};&lt;/P&gt;&lt;P&gt;LPUART_DRV_Init(...);&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;LPUART_DRV_InstallTxCallback(&lt;BR /&gt;uart_ch_, &amp;amp;someFunction, someParams);&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;LPUART_DRV_SendData(uart_ch_, buf_, num_bytes_);&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, someFunction() never gets called, as far as I can tell. I'm capturing all the status_t return values of the configuration functions (although it is omitted above), and they are all STATUS_SUCCESS. I also tried&amp;nbsp;LPUART_DRV_SendDataBlocking() and still using DMA mode, since that appears to be a supported combination, and it results in timeouts. So clearly something is wrong with the DMA UART driver or my [mis]use of it.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 06:49:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1366448#M12647</guid>
      <dc:creator>paul12345</dc:creator>
      <dc:date>2021-11-04T06:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32K146 UART DMA usage problems</title>
      <link>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1366995#M12657</link>
      <description>&lt;P&gt;I solved my issue (after 2+ days struggling with this driver) and documented the changes in this thread:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32-SDK/S32K148-UART-eDMA-driver-hangs-at-LPUART-SetTxDmaCmd/m-p/1366990#M2321" target="_blank"&gt;https://community.nxp.com/t5/S32-SDK/S32K148-UART-eDMA-driver-hangs-at-LPUART-SetTxDmaCmd/m-p/1366990#M2321&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 01:48:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1366995#M12657</guid>
      <dc:creator>paul12345</dc:creator>
      <dc:date>2021-11-05T01:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: S32K146 UART DMA usage problems</title>
      <link>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1618946#M21513</link>
      <description>&lt;P&gt;hi&amp;nbsp; Can you give me an example code&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 07:13:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K146-UART-DMA-usage-problems/m-p/1618946#M21513</guid>
      <dc:creator>Treasurejie</dc:creator>
      <dc:date>2023-03-21T07:13:14Z</dc:date>
    </item>
  </channel>
</rss>

