<?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: IMXRT1064 LPUART TransferGetReceiveCountEDMA Method Issue in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1064-LPUART-TransferGetReceiveCountEDMA-Method-Issue/m-p/1477430#M20202</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I try to test&amp;nbsp;LPUART_TransferGetReceiveCountEDMA() function with &amp;lt;lpuart_edma_transfer_m7&amp;gt; demo with RT1170 board.&lt;/P&gt;&lt;P&gt;I call&amp;nbsp;LPUART_TransferGetReceiveCountEDMA() funciton with below code:&lt;/P&gt;&lt;P&gt;while (1)&lt;BR /&gt;{&lt;BR /&gt;/* If RX is idle and g_rxBuffer is empty, start to read data to g_rxBuffer. */&lt;BR /&gt;if ((!rxOnGoing) &amp;amp;&amp;amp; rxBufferEmpty)&lt;BR /&gt;{&lt;BR /&gt;rxOnGoing = true;&lt;BR /&gt;LPUART_ReceiveEDMA(DEMO_LPUART, &amp;amp;g_lpuartEdmaHandle, &amp;amp;receiveXfer);&lt;BR /&gt;LPUART_TransferGetReceiveCountEDMA(DEMO_LPUART, &amp;amp;g_lpuartEdmaHandle, count_test);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;It looks like that function does not work as expected.&lt;/P&gt;&lt;P&gt;When I set a breakpoint with this function and could find the count value changed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jun 2022 11:56:15 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2022-06-21T11:56:15Z</dc:date>
    <item>
      <title>IMXRT1064 LPUART TransferGetReceiveCountEDMA Method Issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1064-LPUART-TransferGetReceiveCountEDMA-Method-Issue/m-p/1458412#M19568</link>
      <description>&lt;P&gt;Hi Dear Authorized,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have a really big problem. I need strictly received byte count in my scenario but system is not returning correct byte value. What is the accurate way to obtain received byte count in IMXRT1064 with LPUART?&lt;/P&gt;&lt;P&gt;By the way, I am using lpuart_edma_rb_transfer SDK example. Built-In receivedBytes calculation in example is not returning correct received byte value. I just want to exact answer. Why I can’t getting such like a simple information?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;It is also beneficial to express one issue. Built-In received byte calculation returning correct received byte for 3 debug cycle but after that it is returning like “4294966958”. And it is gradually decreasing. So, this is why I want to use LPUART_TransferGetReceiveCountEDMA method. But it is always returning “kStatus_NoTransferInProgress” despite a successful transmission is exist with another MCU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking forward to hearing from you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best and Regards.&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 06:12:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1064-LPUART-TransferGetReceiveCountEDMA-Method-Issue/m-p/1458412#M19568</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2022-05-16T06:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1064 LPUART TransferGetReceiveCountEDMA Method Issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1064-LPUART-TransferGetReceiveCountEDMA-Method-Issue/m-p/1461398#M19673</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can modify the&amp;nbsp;EXAMPLE_RING_BUFFER_SIZE size to control each DMA transfer received byte nunber. With DMA trigger times number will calculate received byte count.&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 07:57:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1064-LPUART-TransferGetReceiveCountEDMA-Method-Issue/m-p/1461398#M19673</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2022-05-20T07:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1064 LPUART TransferGetReceiveCountEDMA Method Issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1064-LPUART-TransferGetReceiveCountEDMA-Method-Issue/m-p/1475049#M20142</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/14969"&gt;@Hui_Ma&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why&amp;nbsp;&lt;SPAN&gt;LPUART_TransferGetReceiveCountEDMA is not working correctly. Could you please help me about it ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks and Regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 06:26:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1064-LPUART-TransferGetReceiveCountEDMA-Method-Issue/m-p/1475049#M20142</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2022-06-16T06:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1064 LPUART TransferGetReceiveCountEDMA Method Issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1064-LPUART-TransferGetReceiveCountEDMA-Method-Issue/m-p/1477430#M20202</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I try to test&amp;nbsp;LPUART_TransferGetReceiveCountEDMA() function with &amp;lt;lpuart_edma_transfer_m7&amp;gt; demo with RT1170 board.&lt;/P&gt;&lt;P&gt;I call&amp;nbsp;LPUART_TransferGetReceiveCountEDMA() funciton with below code:&lt;/P&gt;&lt;P&gt;while (1)&lt;BR /&gt;{&lt;BR /&gt;/* If RX is idle and g_rxBuffer is empty, start to read data to g_rxBuffer. */&lt;BR /&gt;if ((!rxOnGoing) &amp;amp;&amp;amp; rxBufferEmpty)&lt;BR /&gt;{&lt;BR /&gt;rxOnGoing = true;&lt;BR /&gt;LPUART_ReceiveEDMA(DEMO_LPUART, &amp;amp;g_lpuartEdmaHandle, &amp;amp;receiveXfer);&lt;BR /&gt;LPUART_TransferGetReceiveCountEDMA(DEMO_LPUART, &amp;amp;g_lpuartEdmaHandle, count_test);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;It looks like that function does not work as expected.&lt;/P&gt;&lt;P&gt;When I set a breakpoint with this function and could find the count value changed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 11:56:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1064-LPUART-TransferGetReceiveCountEDMA-Method-Issue/m-p/1477430#M20202</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2022-06-21T11:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1064 LPUART TransferGetReceiveCountEDMA Method Issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1064-LPUART-TransferGetReceiveCountEDMA-Method-Issue/m-p/1481203#M20328</link>
      <description>&lt;P&gt;Hi Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/14969"&gt;@Hui_Ma&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am sorry but this doesn't work for me in IMXRT1064. When I set a breakpoint and go into debug to see value. It seems like function does not work expected.&lt;/P&gt;&lt;P&gt;What is the optimal way to acquire received byte from registers or anything else?&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 12:15:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1064-LPUART-TransferGetReceiveCountEDMA-Method-Issue/m-p/1481203#M20328</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2022-06-28T12:15:33Z</dc:date>
    </item>
  </channel>
</rss>

