<?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: IMXRT1024 LPUART eDMA bytesEachRequest Parameter Manipulation in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-LPUART-eDMA-bytesEachRequest-Parameter-Manipulation/m-p/1349096#M16529</link>
    <description>&lt;P&gt;Hi Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/60336"&gt;@kerryzhou&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Appreciate for your supports.&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Sep 2021 11:10:58 GMT</pubDate>
    <dc:creator>Lukas_Frank</dc:creator>
    <dc:date>2021-09-30T11:10:58Z</dc:date>
    <item>
      <title>IMXRT1024 LPUART eDMA bytesEachRequest Parameter Manipulation</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-LPUART-eDMA-bytesEachRequest-Parameter-Manipulation/m-p/1343232#M16408</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I wonder how many bytes are received between two ISR in LPUART? So, I can be widened my question with these two examples:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Ex1(With eDMA);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For example, we will be receiving 64 byte with LPUART1 to our buffer. What is the size of transferred data between two IRQ request during receive operation? I just tried to observe in the code this scenario but I did not. &amp;nbsp;Byte the way I mention about hardware interrupt.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is that working like these&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;take 4 word and one IRQ is occured,&lt;/LI&gt;&lt;LI&gt;then take one more 4 word after that one more IRQ is occurred,&lt;/LI&gt;&lt;LI&gt;then it goes like above until the end of 64 byte.&lt;/LI&gt;&lt;LI&gt;Finally 16 IRQ is occurred until the end of 64 byte transmission.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Do we able to change bytesEachRequest parameter for &lt;/SPAN&gt;&lt;STRONG&gt;EDMA_PrepareTransfer &lt;/STRONG&gt;&lt;SPAN&gt;method? It is setted sizeof(uint8_t) as default in SDK.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ex2(Without eDMA(LPUART Interrupt Based Method));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We have 4 word as maximum number of RXFIFOSIZE in LPUART according to Reference Manual. Correct me if I am wrong. When we start to data transfer for receive operation for 64byte. How it is going on at the hardware side?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is that working like these&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;take 4 word and one IRQ is occured,&lt;/LI&gt;&lt;LI&gt;then take one more 4 word after that one more IRQ is occurred,&lt;/LI&gt;&lt;LI&gt;then it goes like above until the end of 64 byte.&lt;/LI&gt;&lt;LI&gt;Finally 16 IRQ is occurred until the end of 64 byte transmission.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 11:22:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-LPUART-eDMA-bytesEachRequest-Parameter-Manipulation/m-p/1343232#M16408</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2021-09-21T11:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1024 LPUART eDMA bytesEachRequest Parameter Manipulation</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-LPUART-eDMA-bytesEachRequest-Parameter-Manipulation/m-p/1345728#M16454</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187781"&gt;@Lukas_Frank&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;I wonder how many bytes are received between two ISR in LPUART?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Answer: the received ISR is determined by your LPUART, so you can define each receive interrupt length.&lt;/P&gt;
&lt;P&gt;1. with DMA&lt;/P&gt;
&lt;P&gt;&amp;nbsp; You can use the&amp;nbsp; receiveXfer.dataSize = ECHO_BUFFER_LENGTH; define the received datasize.&lt;/P&gt;
&lt;P&gt;Your mentioned interrupt should be the DMA transfer finished interrupt, not the UART interrupt, as the UART related receive status will trigger the DMA transfer, then you can set the DMA desired received length to trigger the interrupt.&lt;/P&gt;
&lt;P&gt;2. without DMA, use interrupt&lt;/P&gt;
&lt;P&gt;Then you can set your receive FIFO Buffer depth.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1632473309101.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/157257i141B9F636DBA2EEF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1632473309101.png" alt="kerryzhou_0-1632473309101.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;kerryzhou_0-1632473309101.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then use the related interrupt(eg, overrun interrupt) to trigger your designed interrupt. As the FIFOSIZE will set the FIFIO buffer depth, then the received data will be saved to the FIFO, when it is overrun, then it will trigger the interrupt, you will know your FIFO buffer is full.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 08:53:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-LPUART-eDMA-bytesEachRequest-Parameter-Manipulation/m-p/1345728#M16454</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-09-24T08:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1024 LPUART eDMA bytesEachRequest Parameter Manipulation</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-LPUART-eDMA-bytesEachRequest-Parameter-Manipulation/m-p/1346284#M16465</link>
      <description>&lt;P&gt;Hi Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/60336"&gt;@kerryzhou&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I have two more question to be sure about the FIFO size in interrupt mode. It is important for me because I will use either DMA or Interrupt in my case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;What is the maximum number that it can be set RXFIFOSIZE from driver level or anything? I ask this question because RXFIFOSIZE field stated as read-only in RM. I tried to set it in the driver side, but after I set it as 256 word I see it is failed when I check the register values in debug mode.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lukas_Frank_0-1632646447647.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/157385iBAFF9BE7418671C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lukas_Frank_0-1632646447647.png" alt="Lukas_Frank_0-1632646447647.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Lukas_Frank_0-1632646447647.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is RXFIFOSIZE assignment process is platform-dependent issue? Does it vary between model of used processor? So, Is not it possible at all to set FIFOSIZE to 256 words?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Sep 2021 09:00:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-LPUART-eDMA-bytesEachRequest-Parameter-Manipulation/m-p/1346284#M16465</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2021-09-26T09:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1024 LPUART eDMA bytesEachRequest Parameter Manipulation</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-LPUART-eDMA-bytesEachRequest-Parameter-Manipulation/m-p/1346477#M16472</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187781"&gt;@Lukas_Frank&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Good question!&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Please enable the FIFO at first, eg, TXFE=1, RXFE=1, then try to modify the FIFOSIZE again&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1632718285622.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/157435i7155FF65C59EBCEE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1632718285622.png" alt="kerryzhou_0-1632718285622.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;kerryzhou_0-1632718285622.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;if you still have issues, please kindly let me know.&lt;/P&gt;
&lt;P&gt;If the FIFO is not enabled, the FIFOSIZE is the 1 dataword in default.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 04:53:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-LPUART-eDMA-bytesEachRequest-Parameter-Manipulation/m-p/1346477#M16472</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-09-27T04:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1024 LPUART eDMA bytesEachRequest Parameter Manipulation</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-LPUART-eDMA-bytesEachRequest-Parameter-Manipulation/m-p/1348404#M16507</link>
      <description>&lt;P&gt;Hi Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/60336"&gt;@kerryzhou&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried it before the push my question. After your feedback I tried it again. FIFO enabling and disabling working fine but size assignment is not successfully completed.&lt;/P&gt;&lt;P&gt;Do you share me if it is possible or not? According to RM and test result it is not possible to set FIFO size of LPUART as 64,128,256 etc.&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 13:13:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-LPUART-eDMA-bytesEachRequest-Parameter-Manipulation/m-p/1348404#M16507</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2021-09-29T13:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1024 LPUART eDMA bytesEachRequest Parameter Manipulation</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-LPUART-eDMA-bytesEachRequest-Parameter-Manipulation/m-p/1348850#M16517</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187781"&gt;@Lukas_Frank&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Your suspect is reasonable.Sorry for my misleading.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I double check the RT1024 register, you are right, the RT1024 FIFO depth is fixed to 4 datawords, just like the readout situation. and the PARAM register also indicate:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1632970060233.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/157955iAFC076555A7CA887/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1632970060233.png" alt="kerryzhou_0-1632970060233.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;kerryzhou_0-1632970060233.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So, the FIFO size for more than 4, can't be set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;So, when you do the transfer more than 4 words, you still need to do software counter, hardware can't set it directly.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 02:49:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-LPUART-eDMA-bytesEachRequest-Parameter-Manipulation/m-p/1348850#M16517</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-09-30T02:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1024 LPUART eDMA bytesEachRequest Parameter Manipulation</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-LPUART-eDMA-bytesEachRequest-Parameter-Manipulation/m-p/1349096#M16529</link>
      <description>&lt;P&gt;Hi Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/60336"&gt;@kerryzhou&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Appreciate for your supports.&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 11:10:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-LPUART-eDMA-bytesEachRequest-Parameter-Manipulation/m-p/1349096#M16529</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2021-09-30T11:10:58Z</dc:date>
    </item>
  </channel>
</rss>

