<?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>i.MX Processorsのトピックi.MX6UL UART Sends, But Does Not Receive</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6UL-UART-Sends-But-Does-Not-Receive/m-p/936719#M140351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have created a project using example code in the SDK for a UART device driver.&amp;nbsp; The example simply receives characters, and sends back whatever is received.&amp;nbsp; We connected a terminal program to the serial port on our test board.&amp;nbsp; We are able to compile and run the code.&amp;nbsp; The example successfully sends characters from our test board to the terminal program on a PC.&amp;nbsp; However, the example code does not receive characters sent by the terminal program.&amp;nbsp; The "Ready To Read" flag never goes high.&amp;nbsp; We have tried both the "interrupt" version and the "polled" version of the example code, with the same failure in either case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The terminal program we are using to do the testing appears to be configured properly (115200 bps, 8, N, 1, no flow control).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the information regarding our environment and hardware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Software:&amp;nbsp; IAR EW 8.32.4&lt;BR /&gt;Example Program:&amp;nbsp; NXP UART device driver example program&lt;BR /&gt;Processor:&amp;nbsp; NXP MCIMX6G2CVM05AA&lt;BR /&gt;Processor Board:&amp;nbsp; NXP MCIMX6UL-CM&lt;BR /&gt;Baseboard:&amp;nbsp; NXP MCIMX6UL-BB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could there be some configuration setting that is not set properly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any assistance would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Aug 2019 01:15:42 GMT</pubDate>
    <dc:creator>dennis_jelcic</dc:creator>
    <dc:date>2019-08-01T01:15:42Z</dc:date>
    <item>
      <title>i.MX6UL UART Sends, But Does Not Receive</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6UL-UART-Sends-But-Does-Not-Receive/m-p/936719#M140351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have created a project using example code in the SDK for a UART device driver.&amp;nbsp; The example simply receives characters, and sends back whatever is received.&amp;nbsp; We connected a terminal program to the serial port on our test board.&amp;nbsp; We are able to compile and run the code.&amp;nbsp; The example successfully sends characters from our test board to the terminal program on a PC.&amp;nbsp; However, the example code does not receive characters sent by the terminal program.&amp;nbsp; The "Ready To Read" flag never goes high.&amp;nbsp; We have tried both the "interrupt" version and the "polled" version of the example code, with the same failure in either case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The terminal program we are using to do the testing appears to be configured properly (115200 bps, 8, N, 1, no flow control).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the information regarding our environment and hardware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Software:&amp;nbsp; IAR EW 8.32.4&lt;BR /&gt;Example Program:&amp;nbsp; NXP UART device driver example program&lt;BR /&gt;Processor:&amp;nbsp; NXP MCIMX6G2CVM05AA&lt;BR /&gt;Processor Board:&amp;nbsp; NXP MCIMX6UL-CM&lt;BR /&gt;Baseboard:&amp;nbsp; NXP MCIMX6UL-BB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could there be some configuration setting that is not set properly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any assistance would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2019 01:15:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6UL-UART-Sends-But-Does-Not-Receive/m-p/936719#M140351</guid>
      <dc:creator>dennis_jelcic</dc:creator>
      <dc:date>2019-08-01T01:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6UL UART Sends, But Does Not Receive</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6UL-UART-Sends-But-Does-Not-Receive/m-p/936720#M140352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dennis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;issue may be casued by Daisy Chain settings, like described in sect.30.5.391&lt;/P&gt;&lt;P&gt;UART2_RX_DATA_SELECT_INPUT DAISY Register (IOMUXC_UART2_RX_DATA_SELECT_INPUT)&lt;/P&gt;&lt;P&gt;i.MX6UL Reference Manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2019 05:39:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6UL-UART-Sends-But-Does-Not-Receive/m-p/936720#M140352</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-08-01T05:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6UL UART Sends, But Does Not Receive</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6UL-UART-Sends-But-Does-Not-Receive/m-p/936721#M140353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your reply.&amp;nbsp; It pointed me in the right direction, and I was able to get the example to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the way that the example was coded did not work without modification.&amp;nbsp; This is a standard example for a polling uart in the 2.2 version of the SDK.&amp;nbsp; I will describe what I discovered, and what I modified, in hopes that it will help someone else who may struggle with a similar problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The file pin_mux.c contains a function named BOARD_InitPins().&amp;nbsp; Here is what the original function looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;void BOARD_InitPins(void) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*!&amp;lt; Function assigned for the core: Cortex-A7[ca7] */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;IOMUXC_SetPinMux(IOMUXC_UART1_RX_DATA_UART1_RX, 0U);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;IOMUXC_SetPinConfig(IOMUXC_UART1_RX_DATA_UART1_RX, &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;IOMUXC_SW_PAD_CTL_PAD_DSE(2U) |&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;IOMUXC_SW_PAD_CTL_PAD_SPEED(2U) |&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;IOMUXC_SW_PAD_CTL_PAD_PKE_MASK);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;IOMUXC_SetPinMux(IOMUXC_UART1_TX_DATA_UART1_TX, 0U);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;IOMUXC_SetPinConfig(IOMUXC_UART1_TX_DATA_UART1_TX, &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;IOMUXC_SW_PAD_CTL_PAD_DSE(2U) |&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;IOMUXC_SW_PAD_CTL_PAD_SPEED(2U) |&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;IOMUXC_SW_PAD_CTL_PAD_PKE_MASK);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;There are two calls to IOMUXC_SetPinMux(), one for the receive (RX) pad, and one for the transmit (TX) pad.&amp;nbsp; The IOMUXC_SetPinMux() function has six parameters, as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;static inline void IOMUXC_SetPinMux(uint32_t muxRegister,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;uint32_t muxMode,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;uint32_t inputRegister,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;uint32_t inputDaisy,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;uint32_t configRegister,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;uint32_t inputOnfield)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first call to IOMUXC_SetPinMux() initializes the RX pad using a macro named IOMUXC_UART1_RX_DATA_UART1_RX, which is defined in fsl_iomuxc.h as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x020E0088U, 0x0U, 0x020E0624U, 0x3U, 0x020E0314U&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the definition of each parameter in the IOMUXC_UART1_RX_DATA_UART1_RX macro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x020E0088U&amp;nbsp;&amp;nbsp;&amp;nbsp;- address of the IOMUXC_SW_MUX_CTL_PAD_UART1_RX_DATA control register&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x0U&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - the MUX_MODE (ALT Mode) to be used for the pad = set to ALT0 - UART1_RX&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x020E0624U&amp;nbsp;&amp;nbsp;&amp;nbsp;- address of the IOMUXC_UART1_RX_DATA_SELECT_INPUT daisy register&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x3U&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- the DAISY value to be used for the pad = UART1_RX_DATA_ALT0&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x020E0314U &amp;nbsp;&amp;nbsp;&amp;nbsp;- address of the IOMUXC_SW_PAD_CTL_PAD_UART1_RX_DATA SW PAD control register&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;OK, so far, so good.&amp;nbsp; The problem comes in second call to IOMUXC_SetPinMux(), which initializes the TX pad using the definition of the macro named IOMUXC_UART1_TX_DATA_UART1_TX, which is defined in fsl_iomuxc.h as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x020E0084U, 0x0U, 0x020E0624U, 0x2U, 0x020E0310U&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Here is the definition of each parameter in the IOMUXC_UART1_TX_DATA_UART1_TX macro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x020E0084U - address of the IOMUXC_SW_MUX_CTL_PAD_UART1_TX_DATA control register&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x0U&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - the MUX_MODE (ALT Mode) to be used for the pad = set to ALT0 - UART1_TX&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x020E0624U - address of the IOMUXC_UART1_RX_DATA_SELECT_INPUT daisy register&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x2U&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - the DAISY value to be used for the pad = UART1_TX_DATA_ALT0&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x020E0314U&amp;nbsp; - address of the IOMUXC_SW_PAD_CTL_PAD_UART1_RX_DATA SW PAD control register&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THE THIRD AND FOURTH PARAMETERS ARE WRONG!&amp;nbsp; As I understand it, the Daisy register is designed to select an INPUT to a module.&amp;nbsp; However, the second macro is defining an OUTPUT (TX) pad, and is changing the SAME Daisy register as the RX macro did.&amp;nbsp; So this macro is changing (redefining) the Daisy value to point to the TX pad after the previous macro set the Daisy register to point to the RX pad.&amp;nbsp; As a result, this example never receives any characters input by a user in a terminal program, because the uart module is expecting input from the TX pad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the macro appears to be incorrect, I modified the second function call to IOMUXC_SetPinMux() to use the actual address values, and I made sure to set the same value for the Daisy register as was used in the first call to IOMUXC_SetPinMux().&amp;nbsp; Here is what it looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;void BOARD_InitPins(void) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*!&amp;lt; Function assigned for the core: Cortex-A7[ca7] */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;IOMUXC_SetPinMux(IOMUXC_UART1_RX_DATA_UART1_RX, 0U);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;IOMUXC_SetPinConfig(IOMUXC_UART1_RX_DATA_UART1_RX, &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;IOMUXC_SW_PAD_CTL_PAD_DSE(2U) |&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;IOMUXC_SW_PAD_CTL_PAD_SPEED(2U) |&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;IOMUXC_SW_PAD_CTL_PAD_PKE_MASK);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;//&amp;nbsp; IOMUXC_SetPinMux(IOMUXC_UART1_TX_DATA_UART1_TX, 0U);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;IOMUXC_SetPinMux(0x020E0084U, 0x0U, 0x020E0624U, 0x3U, 0x020E0310U, 0U);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;IOMUXC_SetPinConfig(IOMUXC_UART1_TX_DATA_UART1_TX, &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;IOMUXC_SW_PAD_CTL_PAD_DSE(2U) |&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;IOMUXC_SW_PAD_CTL_PAD_SPEED(2U) |&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;IOMUXC_SW_PAD_CTL_PAD_PKE_MASK);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It appears that this error is propagated to the other UART (UART2-UART5) definitions as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The lesson learned here is that you cannot assume that pad configurations are correct.&amp;nbsp; You have to check these definitions to make sure they are configured properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks again for your suggestion Igor.&amp;nbsp; It was helpful in solving this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Dennis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2019 02:09:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6UL-UART-Sends-But-Does-Not-Receive/m-p/936721#M140353</guid>
      <dc:creator>dennis_jelcic</dc:creator>
      <dc:date>2019-08-06T02:09:41Z</dc:date>
    </item>
  </channel>
</rss>

