<?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: IMX RT1024 UART Loopback Pins in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1297480#M14896</link>
    <description>&lt;P&gt;I think, data flow continues because of the demo app writing and reading from registers not pins. Is that so? Is not it possible to do physical test like I mention?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jun 2021 07:59:27 GMT</pubDate>
    <dc:creator>Lukas_Frank</dc:creator>
    <dc:date>2021-06-24T07:59:27Z</dc:date>
    <item>
      <title>IMX RT1024 UART Loopback Pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1295903#M14823</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm trying to test UART loopback mode on a IMXRT1024 EVK board. So I want to send data from TX and getting these data from RX in the same board without need one more hardware. So just testing functionality of my UART. Reference manual indicates there are a few relevant fields in the UART control register 1 to enable this functionality:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P class="lia-align-left lia-indent-padding-left-60px"&gt;&lt;STRONG&gt;LOOPS Loop Mode Select&lt;/STRONG&gt;&lt;BR /&gt;Selects between loop back modes and normal 2-pin full-duplex modes. When LOOPS is set, the transmitter output is internally connected to the receiver input.&lt;BR /&gt;0 = &lt;EM&gt;Normal operation - UART_RX and UART_TX use separate pins.&lt;/EM&gt;&lt;BR /&gt;1 = &lt;EM&gt;Loop mode or single-wire mode where transmitter outputs are internally connected to receiver input. (See RSRC bit.) UART_RX pin is not used by UART.&lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-align-left lia-indent-padding-left-60px"&gt;&lt;STRONG&gt;RSRC Receiver Source Select&lt;/STRONG&gt;&lt;BR /&gt;This bit has no meaning or effect unless the LOOPS bit is set to 1. When LOOPS is set, the receiver input is internally connected to the UART_TX pin and RSRC determines whether this connection is also&lt;BR /&gt;connected to the transmitter output.&lt;BR /&gt;0 = &lt;EM&gt;Provided LOOPS is set, RSRC is cleared, selects internal loop back mode and the UART does not use the UART_RX pins.&lt;/EM&gt;&lt;BR /&gt;1 = &lt;EM&gt;Single-wire UART mode where the UART_TX pin is connected to the transmitter output and receiver input.&lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-align-left lia-indent-padding-left-60px"&gt;&lt;STRONG&gt;44.3.6.3 Loop mode&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-align-left lia-indent-padding-left-60px"&gt;When CTRL[LOOPS] is set, the CTRL[RSRC] bit chooses between loop mode (CTRL[RSRC] = 0) or single-wire mode (CTRL[RSRC] = 1). Loop mode is sometimes used to check software, independent of connections in the external system, to help isolate system problems. In this mode, the transmitter output is internally connected to the receiver input and the RXD pin is not used by the LPUART.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Which pin configuration should I set to do my work?&lt;/P&gt;&lt;P&gt;Are the&amp;nbsp;CTRL[LOOPS] = 1 and&amp;nbsp;CTRL[RSRC] = 1 pins correct configuration for my question? What are the correct ones if it is false?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 07:09:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1295903#M14823</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2021-06-22T07:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: IMX RT1024 UART Loopback Pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1296700#M14858</link>
      <description>&lt;P&gt;Hi again I realized that there is also "TXDIR". Are the correct ping assignment like below?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;TXDIR = LOOPS = Rsrc=1&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I am just trying to do something like below&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lukas_Frank_0-1624437192770.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147759i53D8AEE834FB52A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lukas_Frank_0-1624437192770.jpeg" alt="Lukas_Frank_0-1624437192770.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Could you please share me a uart loopback code example for IMXRT1024?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 08:34:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1296700#M14858</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2021-06-23T08:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: IMX RT1024 UART Loopback Pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1296701#M14859</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;Please check this information at first:&lt;/P&gt;
&lt;P&gt;49.3.5.3 Loop mode&lt;BR /&gt;When CTRL[LOOPS] is set, the CTRL[RSRC] bit chooses between loop mode&lt;BR /&gt;(CTRL[RSRC] = 0) or single-wire mode (CTRL[RSRC] = 1). Loop mode is sometimes&lt;BR /&gt;used to check software, independent of connections in the external system, to help isolate&lt;BR /&gt;system problems. In this mode, the transmitter output is internally connected to the&lt;BR /&gt;receiver input and the RXD pin is not used by the LPUART.&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="kerryzhou_0-1624437234082.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147760i0F0A7AC87281FF1B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1624437234082.png" alt="kerryzhou_0-1624437234082.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So you need:&lt;SPAN&gt;CTRL[LOOPS] = 1 and&amp;nbsp;CTRL[RSRC] = 0 to select the loop back mode.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Wish it helps you!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;kerry&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 08:34:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1296701#M14859</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-06-23T08:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: IMX RT1024 UART Loopback Pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1296703#M14860</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;You configration is wrong,&amp;nbsp;&lt;SPAN&gt;CTRL[RSRC] = 0.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Wish it helps you!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;kerry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 08:35:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1296703#M14860</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-06-23T08:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: IMX RT1024 UART Loopback Pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1296708#M14861</link>
      <description>&lt;P&gt;I tried it but that is not working. I tried it on LPUART_EDMA_TRANSFER example in the SDK. Is there any example that can direct me to correct solution?&lt;/P&gt;&lt;P&gt;Could you please share me a code example?&lt;/P&gt;&lt;P&gt;Best regards..&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 08:37:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1296708#M14861</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2021-06-23T08:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: IMX RT1024 UART Loopback Pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1296806#M14872</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;What's the result you are printing now?&lt;/P&gt;
&lt;P&gt;Do you try other polling code with this configuration?&lt;/P&gt;
&lt;P&gt;BTW, post your configuration code, I need to check whether it is correct or not.&lt;/P&gt;
&lt;P&gt;Or you also can debug the code, and check the related register, whether you modify it correctly.&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;</description>
      <pubDate>Wed, 23 Jun 2021 10:25:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1296806#M14872</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-06-23T10:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: IMX RT1024 UART Loopback Pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1296858#M14874</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;,&lt;/P&gt;&lt;P&gt;I just firstly tried loopback example in &lt;SPAN&gt;LPUART_EDMA_TRANSFER. But there are no output when I activate the loop mode with the LPUART_Loopback_Mode_Enable method. Then, I tried it with polling code&amp;nbsp;with your directives.&amp;nbsp;&lt;/SPAN&gt;Here are the following lines in my source code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#include "ping_mux.h"
#include "clock_config.h"
#include "board.h"
#include "fsl_lpuart.h"

#define DEMO_LPUART				LPUART1
#define DEMO_LPUART_CLK_FREQ 	BOARD_DebugConsoleSrcFreq()

uint8_t txbuff[] 	= "Lpuart polling example\r\nBoard will send back received characters\r\n";
uint8_t rxbuff[20]  = {0};

void LPUART_Loopback_Mode_Enable(LPUART_Type *base, bool enable)
{
	if(enable)
	{
		base-&amp;gt;CTRL |= LPUART_CTRL_LOOPS_MASK;
		//base-&amp;gt;CTRL |= LPUART_CTRL_RSRC_MASK;
	}
	else
	{
		base-&amp;gt;CTRL &amp;amp;= ~LPUART_CTRL_LOOPS_MASK;
		base-&amp;gt;CTRL &amp;amp;= ~LPUART_CTRL_RSRC_MASK;
	}
}

int main(void)
{
	uint8_t ch;
	lpuart_config_t config;
	
	BOARD_ConfigMPU();
	BOARD_InitPins();
	BOARD_BootClockRUN();
	
	LPUART_GetDefaultConfig(&amp;amp;config);
	
	config.baudRate_Bps = BOARD_DEBUG_UART_BAUDRATE;
	
	config.enableTx		= true;
	config.enableRx		= true;
	
	LPUART_Init(DEMO_LPUART, &amp;amp;config, DEMO_LPUART_CLK_FREQ);
	
	LPUART_Loopback_Mode_Enable(DEMO_LPUART,true);
	
	LPUART_WriteBlocking(DEMO_LPUART,txbuff,sizeof(txbuff)-1);
	
	while(true)
	{
		LPUART_ReadBlocking(DEMO_LPUART, &amp;amp;ch, 1);
		LPUART_WriteBlocking(DEMO_LPUART, &amp;amp;ch, 1);
	}
	
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Scenario 1&lt;/STRONG&gt; : When I &lt;STRONG&gt;enable&lt;/STRONG&gt; Loopback mode here is the following Terminal output:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Lpuart polling example&lt;BR /&gt;Board will send back received characters&lt;BR /&gt;Lpuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&lt;BR /&gt;aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&lt;BR /&gt;aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.....(keep going on like this)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Scenario 2&lt;/STRONG&gt; : When I &lt;STRONG&gt;do not&lt;/STRONG&gt; &lt;STRONG&gt;enable&lt;/STRONG&gt; Loopback mode example code wait for input from me and prints what I write.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In Scenario 1 : J17 Pin UART RX and TX pins are connected each other&lt;/P&gt;&lt;P&gt;In Scenario 2 : J17 Pin UART RX and TX pins are &lt;STRONG&gt;not&lt;/STRONG&gt; connected each other&lt;/P&gt;&lt;P&gt;I have two question:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;First:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Where exactly come&amp;nbsp;from "Lpuaaaaa....." characters in Scenario 1 ? And why it is ending with 'a' and keep going like "aaaaaaaaaaaa..."&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Second:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I just want to send data from TX and read it from RX. How does it true even I do not connect RX and TX pins each other in &lt;STRONG&gt;Scenario 2&lt;/STRONG&gt;. So, When I input from keyboard it prints to terminal screen syncly but I am not able to trace it what I am reading (I know there are IRQs but how does it occuring). From below line&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;LPUART_ReadBlocking(DEMO_LPUART, &amp;amp;ch, 1);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So how does loopback is occur in default polling example code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new on UART. Thanks for your interests with patience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 12:23:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1296858#M14874</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2021-06-23T12:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: IMX RT1024 UART Loopback Pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1297388#M14892</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187781"&gt;@Lukas_Frank&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Welcome to the RT world.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Your test result is totally correct, as you are new to the UART, let me tell you some of my experience.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 1. LPUART receive is the 4 datawords in the receive FIFO Buffer depth in default&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;You receive: lpuaaaaaaaaa...&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;It because you have send:&amp;nbsp;Lpuart polling example&amp;nbsp;Board will send back received characters&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;So, the receive will remember your first lpua, then when you receive call it, and your code is:&lt;/P&gt;
&lt;P&gt;while (1)&lt;BR /&gt;{&lt;BR /&gt;LPUART_ReadBlocking(DEMO_LPUART, &amp;amp;ch, 1);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;LPUART_WriteBlocking(DEMO_LPUART, &amp;amp;ch, 1);&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;Now, your receive will sendout the received data again, send means receive, so you will always get a, as your loopback send a.&lt;/P&gt;
&lt;P&gt;2. About the LPUART testing, normally, we don't use the loopback function, we will use the external UART directly to test it. So you totally can use your MIMXRT1024-EVK on board Virtual COM port to test the SDK project, then you will find it works OK.&lt;/P&gt;
&lt;P&gt;3. to your loop back, you also can write the code like this:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;uint8_t txbuff[]   = "1234";
uint8_t rxbuff[20] = {0};

/*******************************************************************************
 * Code
 ******************************************************************************/
void LPUART_Loopback_Mode_Enable(LPUART_Type *base, bool enable)
{
	if(enable)
	{
		base-&amp;gt;CTRL |= LPUART_CTRL_LOOPS_MASK;
		//base-&amp;gt;CTRL |= LPUART_CTRL_RSRC_MASK;
	}
	else
	{
		base-&amp;gt;CTRL &amp;amp;= ~LPUART_CTRL_LOOPS_MASK;
		base-&amp;gt;CTRL &amp;amp;= ~LPUART_CTRL_RSRC_MASK;
	}
}
/*!
 * @brief Main function
 */
int main(void)
{
    uint8_t ch;
    lpuart_config_t config;

    uint16_t delay_cnt=0;

    BOARD_ConfigMPU();
    BOARD_InitPins();
    BOARD_BootClockRUN();

    /*
     * config.baudRate_Bps = 115200U;
     * config.parityMode = kLPUART_ParityDisabled;
     * config.stopBitCount = kLPUART_OneStopBit;
     * config.txFifoWatermark = 0;
     * config.rxFifoWatermark = 0;
     * config.enableTx = false;
     * config.enableRx = false;
     */
    LPUART_GetDefaultConfig(&amp;amp;config);
    config.baudRate_Bps = BOARD_DEBUG_UART_BAUDRATE;
    config.enableTx     = true;
    config.enableRx     = true;

    LPUART_Init(DEMO_LPUART, &amp;amp;config, DEMO_LPUART_CLK_FREQ);
    LPUART_Loopback_Mode_Enable(DEMO_LPUART,true);

    LPUART_WriteBlocking(DEMO_LPUART, txbuff, sizeof(txbuff) - 1);
    while (1)
    {
        for(delay_cnt=0; delay_cnt&amp;lt;60000;delay_cnt++);

         LPUART_ReadBlocking(DEMO_LPUART, &amp;amp;ch, 1);
         LPUART_WriteBlocking(DEMO_LPUART, &amp;amp;ch, 1);

    }
}&lt;/LI-CODE&gt;
&lt;P&gt;Then you will receive the result like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1624515836386.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147843i64E05F18F559D2A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1624515836386.png" alt="kerryzhou_0-1624515836386.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wish it helps you!&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;</description>
      <pubDate>Thu, 24 Jun 2021 06:24:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1297388#M14892</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-06-24T06:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: IMX RT1024 UART Loopback Pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1297472#M14895</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;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the below code yesterday.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code:&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#include "ping_mux.h"
#include "clock_config.h"
#include "board.h"
#include "fsl_lpuart.h"

#define DEMO_LPUART				LPUART1
#define DEMO_LPUART_CLK_FREQ 	BOARD_DebugConsoleSrcFreq()

uint8_t txbuff[] 	= "Lpuart polling example\r\nBoard will send back received characters\r\n";
uint8_t rxbuff[20]  = {0};

uint8_t LP_txbuff[] = "This message will send via TX and catch by RX\n";
uint8_t LP_rxbuff[sizeof(LP_txbuff)]  = {0};

void LPUART_Loopback_Mode_Enable(LPUART_Type *base, bool enable)
{
	AS THE SAME..
}

int main(void)
{
	uint64_t total_transfer_u64;
	uint8_t ch;
	lpuart_config_t config;
	
	BOARD_ConfigMPU();
	BOARD_InitPins();
	BOARD_BootClockRUN();
	
	LPUART_GetDefaultConfig(&amp;amp;config);
	
	config.baudRate_Bps = BOARD_DEBUG_UART_BAUDRATE;
	
	config.enableTx		= true;
	config.enableRx		= true;
	
	LPUART_Init(DEMO_LPUART, &amp;amp;config, DEMO_LPUART_CLK_FREQ);
	
	LPUART_Loopback_Mode_Enable(DEMO_LPUART,true);
	
	LPUART_WriteBlocking(DEMO_LPUART,txbuff,sizeof(txbuff)-1);
	
	while(true)
	{
		for(uint8_t transfer_counter = 0; transfer_counter &amp;lt; sizeof(LP_txbuff); transfer_counter++)
		{
			LPUART_ReadBlocking (DEMO_LPUART,&amp;amp;LP_rxbuff[transfer_counter], 1);
			LPUART_WriteBlocking(DEMO_LPUART,&amp;amp;LP_txbuff[transfer_counter], 1);
		}
		total_transfer_u64++;
	}
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set the EVK Board Pin Configuration as below.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Configuration:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;UART1_TXD = GPIO_AD_BO_06 (Arduino Interface J17 : Pinout 12)&lt;/P&gt;&lt;P&gt;UART1_RXD = GPIO_AD_BO_07 (Arduino Interface J17 : Pinout &lt;LI-EMOJI id="lia_smiling-face-with-sunglasses" title=":smiling_face_with_sunglasses:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;I connected these pins with two-sided male jumper.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After your last message, I just wonder if it is not possible to test loopback example in EVK. Like Virtual COM Port, I can see the outputs in MCUXpresso Terminal screen too. But I want to test my system physically. But, It is still working even if the pins output are not connected with the two-sided male jumper. I am waiting to corrupt data flow when I plug-out RX-side of male jumper. Is not it possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, are datawords 8 bit in IMXRT1024 or configurable?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 07:54:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1297472#M14895</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2021-06-24T07:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: IMX RT1024 UART Loopback Pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1297480#M14896</link>
      <description>&lt;P&gt;I think, data flow continues because of the demo app writing and reading from registers not pins. Is that so? Is not it possible to do physical test like I mention?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 07:59:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1297480#M14896</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2021-06-24T07:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: IMX RT1024 UART Loopback Pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1297515#M14897</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; If you need &lt;SPAN&gt;physical test, why you add the internal loop back?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1. external TTL-USB tool test, you need to disconnect the on board COM port.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;J45, J46, disconnect, then you can connect your external TTL-USB to the J45_2, and J46_2 pin.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please note, external TX connect to J45_2, external RX connect to J46_2.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1624586155519.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147953i95B23DF8A2615CCF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1624586155519.png" alt="kerryzhou_0-1624586155519.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. to the internal loopback test, modify your code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;	LPUART_Init(DEMO_LPUART, &amp;amp;config, DEMO_LPUART_CLK_FREQ);
	
	
	
	LPUART_WriteBlocking(DEMO_LPUART,txbuff,sizeof(txbuff)-1);
LPUART_Loopback_Mode_Enable(DEMO_LPUART,true);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your test result is not corrupt, it is the normal working loop internal situation.&lt;/P&gt;
&lt;P&gt;It is your code issues.&lt;/P&gt;
&lt;P&gt;You can do it like my previous reply code.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 01:56:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1297515#M14897</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-06-25T01:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: IMX RT1024 UART Loopback Pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1297572#M14900</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;,&lt;/P&gt;&lt;P&gt;I will try your directives. I have new questions.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;First:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Why I am not able to send my datas to Arduino Interface UART1 pins. I listen the target pins for UART1 with oscilloscope. Although I send my datas to UART1 there is no data flow that seen in&amp;nbsp;oscilloscope. Are not Arduino Interface pins physical?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Second:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How can I disconnect J32,J31 COM ports?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Third:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Where are J32,J31 on board? Is there a way to quickly find my targets on board? I have J45,J46.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lukas_Frank_1-1624526836605.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147873i8AC452D091AE83BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lukas_Frank_1-1624526836605.png" alt="Lukas_Frank_1-1624526836605.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 09:28:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1297572#M14900</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2021-06-24T09:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: IMX RT1024 UART Loopback Pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1298033#M14919</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;&lt;STRONG&gt;First:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Why I am not able to send my datas to Arduino Interface UART1 pins. I listen the target pins for UART1 with oscilloscope. Although I send my datas to UART1 there is no data flow that seen in&amp;nbsp;oscilloscope. Are not Arduino Interface pins physical?&lt;/P&gt;
&lt;P&gt;Answer: Which pin you have connected?&lt;/P&gt;
&lt;P&gt;You mentioned :&lt;/P&gt;
&lt;P&gt;Configuration:&lt;/P&gt;
&lt;P&gt;UART1_TXD = GPIO_AD_BO_06 (Arduino Interface J17 : Pinout 12)&lt;/P&gt;
&lt;P&gt;UART1_RXD = GPIO_AD_BO_07 (Arduino Interface J17 : Pinout&lt;/P&gt;
&lt;P&gt;But your code is using:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1624586307305.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147955iC4A040F13721B899/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1624586307305.png" alt="kerryzhou_0-1624586307305.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Second:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;How can I disconnect J32,J31 COM ports?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Answer: Not J32,J31, it is&amp;nbsp;J45,J46, I post the wrong picture in the last email, already modify it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; So you can't use your mentioned J17, that is connected to the LPUART2, but your code is using LPUART1.&lt;/P&gt;
&lt;P&gt;So you need to use J45_2, J46_2.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Third:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Where are J32,J31 on board? Is there a way to quickly find my targets on board? I have J45,J46.&lt;/P&gt;
&lt;P&gt;Answer: you are right, your board is&amp;nbsp; J45,J46.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;</description>
      <pubDate>Fri, 25 Jun 2021 02:00:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1298033#M14919</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-06-25T02:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: IMX RT1024 UART Loopback Pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1298251#M14932</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 have also tried UART2, UART3 in my code before. But it did not even work when I set configurations below. Then I continue with UART1. I think some configurations are missing that rooted by my mistakes.&lt;/P&gt;&lt;P&gt;I set DEMO_LPUART =&amp;nbsp;LPUART2 (also&amp;nbsp;LPUART3) as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#define DEMO_LPUART LPUART2 //LPUART1
#define DEMO_LPUART_CLK_FREQ BOARD_DebugConsoleSrcFreq()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition change configurations in BOARD_InitPins in &lt;STRONG&gt;pin_mux.c &lt;/STRONG&gt;as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;void BOARD_InitPins(void)
{
CLOCK_EnableClock(kCLOCK_Iomuxc);

IOMUXC_SetPinMux(IOMUXC_GPIO_AD_B1_08_LPUART2_TX,0U);
IOMUXC_SetPinMux(IOMUXC_GPIO_AD_B1_09_LPUART2_RX,0U);

IOMUXC_SetPinConfig(IOMUXC_GPIO_AD_B1_08_LPUART2_TX,0x10B0U);
IOMUXC_SetPinConfig(IOMUXC_GPIO_AD_B1_09_LPUART2_RX,0x10B0U);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also change configurations is &lt;STRONG&gt;board.h&lt;/STRONG&gt; as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#define BOARD_DEBUG_UART_TYPE kSerialPort_Uart
#define BOARD_DEBUG_UART_BASEADDR (uint32_t) LPUART2
#define BOARD_DEBUG_UART_INSTANCE 1U
...
#define BOARD_UART_IRQ LPUART2_IRQn
#define BOARD_UART_IRQ_HANDLER LPUART2_IRQHandler&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also I connect my jumpers like below for UART1:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lukas_Frank_0-1624606832160.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148027i140453AE1237F3BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lukas_Frank_0-1624606832160.png" alt="Lukas_Frank_0-1624606832160.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think is it possible to use Arduino Interface for physical test. I am happy for this. I have three questions more:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;First:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;What are the missing points for LPUART2 correct configuration? Is there tool that configure automatically for IMXRT1024 like Code Genaration Tools like&amp;nbsp;&lt;A title="IMX CONFIG TOOLS" href="https://www.nxp.com/design/designs/config-tools-for-i-mx-applications-processors:CONFIG-TOOLS-IMX?&amp;amp;tab=Design_Tools_Tab" target="_self"&gt;IMX CONFIG TOOLS&lt;/A&gt;&amp;nbsp;(i.MX-RT1050). If it is not which points should I focus for the correct configuration?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Second:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You said that&amp;nbsp;"&lt;SPAN&gt;you need to disconnect the on board COM port.&lt;/SPAN&gt; disconnect&amp;nbsp;&lt;SPAN&gt;J45, J46". I did not exactly understand it. Is there a specific need for this? Is not it possible to do loopback without TTL-USB?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Third:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Will I be able to do loopback just with one jumper cable in Arduino Interface if I configure UART2 correctly in code side?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a software engineer and I have no background on electronic. So, I am missing some points. Thanks for your patience.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 07:41:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1298251#M14932</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2021-06-25T07:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: IMX RT1024 UART Loopback Pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1298279#M14934</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;If you use the directly LPUART SDK project, you need to use&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;J45,J46, it is LPUART1.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;But if you want to use the J17, you need to modify the code, pinmux, you already modified, then the main code, Lpuart 2 interface, just use the polling code at first.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;Now, please check your board, R153,R154 is connected or not?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;Which IDE you are using now?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; Best Regards,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kerry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 08:06:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1298279#M14934</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-06-25T08:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: IMX RT1024 UART Loopback Pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1298408#M14937</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;,&lt;/P&gt;&lt;P&gt;I am using MCUXpresso v11.3.0.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q1:&lt;/STRONG&gt;What type of check is that ? Should they connected each other?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q2:&lt;/STRONG&gt;I&amp;nbsp;do not understand why am I checking these pins? Are not they belong to UART2?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q3:&lt;/STRONG&gt;Should data transmission countinue when I disconnect them? (in register level or any thing else) &lt;STRONG&gt;I am so curious about it.&lt;/STRONG&gt; The thing I want to be happen is not continuation of data transmission when I disconnect that pin in loop back mode. But I test it with ossilator it seem like continue data transmission in code side. My receive buffer still is not be empty.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q4:&lt;/STRONG&gt;Are my configurations for UART2 true?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q5:&lt;/STRONG&gt;UART1 has pins on J17 (R156 and R162), Why do not we use them?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lukas_Frank_3-1624618328068.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148048i4C2AEFC271C71DEE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lukas_Frank_3-1624618328068.png" alt="Lukas_Frank_3-1624618328068.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q6: &lt;/STRONG&gt;Should my UART loopback example be successful if my UART2 configurations in pooling example be like that and I connect jumpers J17 R153 and R154 to each other?&lt;/P&gt;&lt;P&gt;Thanks and Regards, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/60336"&gt;@kerryzhou&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 06:08:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1298408#M14937</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2021-06-28T06:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: IMX RT1024 UART Loopback Pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1298880#M14956</link>
      <description>&lt;P&gt;Hi Dear &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/60336"&gt;@kerryzhou&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I am aware more about UART Loopback anymore. As I understood, Loopback Mode is not a physicall mode it connects &lt;STRONG&gt;rx&lt;/STRONG&gt; and &lt;STRONG&gt;tx&lt;/STRONG&gt; in the logic gate level. It is like virtual or internally connected mode. I will now try the communicate my UART1 and UART2. So I need true configuration in the same code. I will open an issue now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 06:48:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1298880#M14956</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2021-06-28T06:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: IMX RT1024 UART Loopback Pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1298895#M14957</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;Loopback will connect the RX to the TX in the chip internal side, which don't need to add external TTL-USB tool, that's why I confusing why you use the external TTL-USB, but you still use the internal loop back mode, you totally can use the SDK directly without the loopback, and if you want to use UART2, just change pins, and the UART number to UART2 and the interrupt service handler to UART2 is ok.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;BTW, do you test the function for your company? If yes, you'd better use the company email to create the case, that will have higher priority than the 3rd part email, eg gmail.&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;</description>
      <pubDate>Mon, 28 Jun 2021 07:07:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1298895#M14957</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-06-28T07:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: IMX RT1024 UART Loopback Pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1299050#M14971</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;,&lt;/P&gt;&lt;P&gt;I just learned this. Then, I rethought over the whole process. There was not an explenation in Reference Manual about it and I am new in Embedded World as Software Engineer. Thanks for all your patience &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;I have two more question:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q1:&lt;/STRONG&gt;&amp;nbsp;UART Write and Read operations prints data to terminal screen (serial port configuration) successfully in SDK Pooling Example. But, there is not printing data to terminal screen when I create a project from scratch despite data communication is successfully occur.&amp;nbsp;Why could be my example is not printing to terminal?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q2: &lt;/STRONG&gt;I am not able to make sense one parameter in &lt;STRONG&gt;IOMUXC_SetPinConfig&lt;/STRONG&gt; method in the &lt;STRONG&gt;BOARD_InitPins. &lt;/STRONG&gt;It is &lt;STRONG&gt;configValue&lt;/STRONG&gt;&amp;nbsp;parameter of IOMUXC_SetPinConfig (sixth-one). I see&amp;nbsp;it assigned as &lt;STRONG&gt;0x10B0U&lt;/STRONG&gt;&amp;nbsp;in the SDK Pooling example. Why? What is the meaning of 0x10B0U. Is there a sheet that explain different combination of this parameter for spesific cases or Is that value constant for all cases?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are&amp;nbsp;core entrepreneurial group for the now and we have no company host mail. I will change my mail address as soon as have a company host.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 11:00:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMX-RT1024-UART-Loopback-Pins/m-p/1299050#M14971</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2021-06-28T11:00:15Z</dc:date>
    </item>
  </channel>
</rss>

