<?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 IMXRT1024 UART Data Transmission Types in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-UART-Data-Transmission-Types/m-p/1317927#M15649</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question about data transmission process of UART. There are a few couple of methods to send/receive data in codes as uart architecture with NXP like belows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;LPUART_WriteByte&lt;/LI&gt;&lt;LI&gt;LPUART_ReceiveByte&lt;/LI&gt;&lt;LI&gt;LPUART_WriteBlocking&lt;/LI&gt;&lt;LI&gt;LPUART_ReceiveBlocking&lt;/LI&gt;&lt;LI&gt;LPUART_SendEDMA&lt;/LI&gt;&lt;LI&gt;LPUART_ReceiveEDMA&lt;/LI&gt;&lt;LI&gt;LPUART_TransferSendNonBlocking&lt;/LI&gt;&lt;LI&gt;LPUART_TransferReceiveNonBlocking&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;All declerations belong these methods are given in comments. But I am confused little about the differences and use cases in real life.&amp;nbsp;Which one should I use to best performence?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any document that explain the performence differences better? If it is not exist, what means blocking?&lt;/P&gt;&lt;P&gt;For example; I am using five of my UARTs (UART1,&amp;nbsp;UART2,&amp;nbsp;UART3,&amp;nbsp;UART4,&amp;nbsp;UART5). What happens when I use LPUART_WriteBlocking? Are not able to process my UART transmission same time? So, I am sending/receiving with UART1 by WriteBlocking, Does it mean that UART2,3,4,5 must wait until UART1 operations finish? Is LPUART_WriteByte approach better than LPUART_WriteBlocking_&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What are the advantages/disadvantages of these approaches given in above?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Aug 2021 07:39:30 GMT</pubDate>
    <dc:creator>Lukas_Frank</dc:creator>
    <dc:date>2021-08-04T07:39:30Z</dc:date>
    <item>
      <title>IMXRT1024 UART Data Transmission Types</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-UART-Data-Transmission-Types/m-p/1317927#M15649</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question about data transmission process of UART. There are a few couple of methods to send/receive data in codes as uart architecture with NXP like belows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;LPUART_WriteByte&lt;/LI&gt;&lt;LI&gt;LPUART_ReceiveByte&lt;/LI&gt;&lt;LI&gt;LPUART_WriteBlocking&lt;/LI&gt;&lt;LI&gt;LPUART_ReceiveBlocking&lt;/LI&gt;&lt;LI&gt;LPUART_SendEDMA&lt;/LI&gt;&lt;LI&gt;LPUART_ReceiveEDMA&lt;/LI&gt;&lt;LI&gt;LPUART_TransferSendNonBlocking&lt;/LI&gt;&lt;LI&gt;LPUART_TransferReceiveNonBlocking&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;All declerations belong these methods are given in comments. But I am confused little about the differences and use cases in real life.&amp;nbsp;Which one should I use to best performence?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any document that explain the performence differences better? If it is not exist, what means blocking?&lt;/P&gt;&lt;P&gt;For example; I am using five of my UARTs (UART1,&amp;nbsp;UART2,&amp;nbsp;UART3,&amp;nbsp;UART4,&amp;nbsp;UART5). What happens when I use LPUART_WriteBlocking? Are not able to process my UART transmission same time? So, I am sending/receiving with UART1 by WriteBlocking, Does it mean that UART2,3,4,5 must wait until UART1 operations finish? Is LPUART_WriteByte approach better than LPUART_WriteBlocking_&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What are the advantages/disadvantages of these approaches given in above?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 07:39:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-UART-Data-Transmission-Types/m-p/1317927#M15649</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2021-08-04T07:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1024 UART Data Transmission Types</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-UART-Data-Transmission-Types/m-p/1318006#M15651</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;The RT UART is no special, to UART, normally contains these method to do the transmit, polling, interrupt, DMA.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; So, your mentioned :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;LPUART_WriteByte : Write data to the register buffer&lt;/LI&gt;
&lt;LI&gt;LPUART_ReceiveByte: read data from the register buffer&lt;/LI&gt;
&lt;LI&gt;LPUART_WriteBlocking: polling mode&lt;/LI&gt;
&lt;LI&gt;LPUART_ReceiveBlocking: polling mode&lt;/LI&gt;
&lt;LI&gt;LPUART_SendEDMA: DMA mode&lt;/LI&gt;
&lt;LI&gt;LPUART_ReceiveEDMA: DMA mode&lt;/LI&gt;
&lt;LI&gt;LPUART_TransferSendNonBlocking:interrupt mode&lt;/LI&gt;
&lt;LI&gt;LPUART_TransferReceiveNonBlocking:interrupt mode&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;In fact, you also can check the details API, you will know more details.&lt;/P&gt;
&lt;P&gt;Code is the best document, you can associated with the RM to read the code.&lt;/P&gt;
&lt;P&gt;The API can be used for all the UART interface, you just need to change the interface is OK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wish it helps you!&lt;/P&gt;
&lt;P&gt;If you still have questions about it, please kindly let me know.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 09:01:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-UART-Data-Transmission-Types/m-p/1318006#M15651</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-08-04T09:01:25Z</dc:date>
    </item>
  </channel>
</rss>

