<?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>LPC MicrocontrollersのトピックRe: LPC55S28 UART Hardware Flow Control not working properly</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1983294#M57166</link>
    <description>&lt;P&gt;I got the device producing the incoming data to transmit at 9600 baud.&amp;nbsp; So, now I am using your code essentially unaltered and I am still having the problem.&amp;nbsp; I haven't received a reply to my response on Thursday.&amp;nbsp; &amp;nbsp;Can I please get some help with this problem?&amp;nbsp; We have a product that is nearly ready to ship and only waiting on a resolution to the hardware flow control not working properly.&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>Mon, 28 Oct 2024 22:11:46 GMT</pubDate>
    <dc:creator>WilliamW</dc:creator>
    <dc:date>2024-10-28T22:11:46Z</dc:date>
    <item>
      <title>LPC55S28 UART Hardware Flow Control not working properly</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1970250#M56990</link>
      <description>&lt;P&gt;The following image shows the odd way that my RTS line (blue) is working as I receive bytes (yellow).&amp;nbsp; This happens for every byte I receive including the very first byte.&amp;nbsp; I have prepared an example that demonstrates the problem (attached).&amp;nbsp; The code essentially boils down to the following which matches the example.&amp;nbsp; What do I need to change to get the RTS to work properly.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;const usart_config_t FLEXCOMM1_config = {
  .baudRate_Bps = 115200UL,
  .syncMode = kUSART_SyncModeDisabled,
  .parityMode = kUSART_ParityDisabled,
  .stopBitCount = kUSART_OneStopBit,
  .bitCountPerChar = kUSART_8BitsPerChar,
  .loopback = false,
  .txWatermark = kUSART_TxFifo0,
  .rxWatermark = kUSART_RxFifo1,
  .enableRx = true,
  .enableTx = true,
  .enableHardwareFlowControl = true,
  .enableMode32k = false,
  .clockPolarity = kUSART_RxSampleOnFallingEdge,
  .enableContinuousSCLK = false
};
usart_handle_t FLEXCOMM1_handle;
uint8_t FLEXCOMM1_rxBuffer[FLEXCOMM1_RX_BUFFER_SIZE];
usart_transfer_t FLEXCOMM1_rxTransfer = {
  .rxData = FLEXCOMM1_rxBuffer,
  .dataSize = FLEXCOMM1_RX_BUFFER_SIZE
};

static void FLEXCOMM1_init(void) {
  USART_Init(FLEXCOMM1_PERIPHERAL, &amp;amp;FLEXCOMM1_config, FLEXCOMM1_CLOCK_SOURCE);
  USART_TransferCreateHandle(FLEXCOMM1_PERIPHERAL, &amp;amp;FLEXCOMM1_handle, NULL, NULL);
  USART_TransferStartRingBuffer(FLEXCOMM1_PERIPHERAL, &amp;amp;FLEXCOMM1_handle, FLEXCOMM1_rxBuffer, FLEXCOMM1_RX_BUFFER_SIZE);
}&lt;/LI-CODE&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="HardwareFlowControlExample.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/303805iEED86C30895DF1FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="HardwareFlowControlExample.jpg" alt="HardwareFlowControlExample.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 17:42:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1970250#M56990</guid>
      <dc:creator>WilliamW</dc:creator>
      <dc:date>2024-10-09T17:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S28 UART Hardware Flow Control not working properly</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1971216#M57005</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As you know that the RTS signal is an output signal from uart, it can function as either RS485 gate control signal or flow control signal.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1728550987786.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/303982i59D43475579A8AAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1728550987786.png" alt="xiangjun_rong_0-1728550987786.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Pls check the peripheral register and check if the OESEL bit is cleared.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 09:04:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1971216#M57005</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-10-10T09:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S28 UART Hardware Flow Control not working properly</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1971477#M57011</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;SPAN&gt;XiangJun,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The value of OESEL is zero.&amp;nbsp; The code I provided was completely created with the config tools to create a simple as possible example.&amp;nbsp; For some reason the peripheral tool did not start the ring buffer so I added the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;USART_TransferStartRingBuffer(FLEXCOMM1_PERIPHERAL, &amp;amp;FLEXCOMM1_handle, FLEXCOMM1_rxBuffer, FLEXCOMM1_RX_BUFFER_SIZE);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is a capture of the USART1 CFG register values in case it would be helpful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-10-10 080906.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/304041iCD7BAD42C4B7CE43/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-10-10 080906.png" alt="Screenshot 2024-10-10 080906.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help you can provide&lt;/P&gt;&lt;P&gt;William&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 15:23:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1971477#M57011</guid>
      <dc:creator>WilliamW</dc:creator>
      <dc:date>2024-10-10T15:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S28 UART Hardware Flow Control not working properly</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1974635#M57068</link>
      <description>&lt;P&gt;Is there anyone out there looking at this, or should I post a support ticket?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 23:00:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1974635#M57068</guid>
      <dc:creator>WilliamW</dc:creator>
      <dc:date>2024-10-15T23:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S28 UART Hardware Flow Control not working properly</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1975085#M57076</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Pls try to enable uart receiver FIFO and set the FIFO threshold to a non-zero value, then check if the RTS signal change or not.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1729072933046.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/304985i9FBAEE437CE8908B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1729072933046.png" alt="xiangjun_rong_0-1729072933046.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the RTS signal changes after you enable receiver FIFO, it means that the RTS signal is flow control signal.&lt;/P&gt;
&lt;P&gt;Pls have a try&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 10:02:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1975085#M57076</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-10-16T10:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S28 UART Hardware Flow Control not working properly</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1976205#M57094</link>
      <description>&lt;P&gt;I tried changing the RXLVL in FIFOTRIG to the values 0, 1, 2, and 4 and got the same results each time shown in the photo on my initial post.&amp;nbsp; I'm not sure what you mean by enabling the receiver FIFO using this value since this feature is supposed to just be the trigger point at which the interrupt is called.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll mention again that the data shown in the photo are the first eight bytes received after reset which indicates that the problem is already happening with the very first byte.&amp;nbsp; Do you have any other ideas for how to make my flow control work properly?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 15:20:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1976205#M57094</guid>
      <dc:creator>WilliamW</dc:creator>
      <dc:date>2024-10-17T15:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S28 UART Hardware Flow Control not working properly</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1978569#M57123</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Is there anyone out there looking at this, or should I post a support ticket?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 22:35:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1978569#M57123</guid>
      <dc:creator>WilliamW</dc:creator>
      <dc:date>2024-10-21T22:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S28 UART Hardware Flow Control not working properly</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1981090#M57146</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As the following Fig, I have tested on the LPCXPresso55S28 board, the Yellow signal is P1_7 signal which is FC0_RTS signal, the blue signal is FC0_TXD signal.&lt;/P&gt;
&lt;P&gt;I tested based on usart_Polling example in SDK.&lt;/P&gt;
&lt;P&gt;In the example, after uart receives a char from PC, it send a string.&lt;/P&gt;
&lt;P&gt;The high interval of the RTS signal (Yellow)means it is receiving uart signal, the low interval means that the uart receiver&amp;nbsp; is idle, it is able to receive char.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV style="background-color: #ffffff; padding: 0px 0px 0px 2px;"&gt;
&lt;DIV style="color: #000000; background-color: #ffffff; font-family: 'Consolas'; font-size: 10pt; white-space: pre;"&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;int&lt;/SPAN&gt; &lt;SPAN&gt;main&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;void&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;uint8_t&lt;/SPAN&gt;&lt;SPAN&gt; ch;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;usart_config_t&lt;/SPAN&gt;&lt;SPAN&gt; config;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* set BOD VBAT level to 1.65V */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; POWER_SetBodVbatLevel(&lt;/SPAN&gt;&lt;SPAN&gt;kPOWER_BodVbatLevel1650mv&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;kPOWER_BodHystLevel50mv&lt;/SPAN&gt;&lt;SPAN&gt;, false);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* attach 12 MHz clock to FLEXCOMM0 (debug console) */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; CLOCK_AttachClk(BOARD_DEBUG_UART_CLK_ATTACH);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; BOARD_InitBootPins();&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; BOARD_InitBootClocks();&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; BOARD_InitDebugConsole();&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/*&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; * config.baudRate_Bps = 115200U;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; * config.parityMode = kUSART_ParityDisabled;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; * config.stopBitCount = kUSART_OneStopBit;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; * config.loopback = false;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; * config.enableTx = false;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; * config.enableRx = false;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; USART_GetDefaultConfig(&amp;amp;config);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; config.&lt;/SPAN&gt;&lt;SPAN&gt;baudRate_Bps&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;BOARD_DEBUG_UART_BAUDRATE&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; config.&lt;/SPAN&gt;&lt;SPAN&gt;enableTx&lt;/SPAN&gt;&lt;SPAN&gt; = true;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; config.&lt;/SPAN&gt;&lt;SPAN&gt;enableRx&lt;/SPAN&gt;&lt;SPAN&gt; = true;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; config.&lt;/SPAN&gt;&lt;SPAN&gt;txWatermark&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;kUSART_TxFifo6&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; config.&lt;/SPAN&gt;&lt;SPAN&gt;rxWatermark&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;kUSART_RxFifo6&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;//config.enableHardwareFlowControl=true;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; USART_Init(DEMO_USART, &amp;amp;config, DEMO_USART_CLK_FREQ);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; USART_WriteBlocking(DEMO_USART, txbuff, &lt;/SPAN&gt;&lt;SPAN&gt;sizeof&lt;/SPAN&gt;&lt;SPAN&gt;(txbuff) - 1);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;while&lt;/SPAN&gt;&lt;SPAN&gt; (1)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; USART_ReadBlocking(DEMO_USART, &amp;amp;ch, 1);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;// USART_WriteBlocking(DEMO_USART, &lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;ch&lt;/SPAN&gt;&lt;SPAN&gt;, 1);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; USART_WriteBlocking(DEMO_USART, txbuff, &lt;/SPAN&gt;&lt;SPAN&gt;sizeof&lt;/SPAN&gt;&lt;SPAN&gt;(txbuff) - 1);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV style="background-color: #ffffff; padding: 0px 0px 0px 2px;"&gt;
&lt;DIV style="color: #000000; background-color: #ffffff; font-family: 'Consolas'; font-size: 10pt; white-space: pre;"&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;void&lt;/SPAN&gt; &lt;SPAN&gt;BOARD_InitPins&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;void&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* Enables the clock for the I/O controller.: Enable Clock. */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; CLOCK_EnableClock(&lt;/SPAN&gt;&lt;SPAN&gt;kCLOCK_Iocon&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;uint32_t&lt;/SPAN&gt;&lt;SPAN&gt; port0_pin29_config = (&lt;/SPAN&gt;&lt;SPAN&gt;/* Pin is configured as FC0_RXD_SDA_MOSI_DATA */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; IOCON_PIO_FUNC1 |&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* No addition pin function */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; IOCON_PIO_MODE_INACT |&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* Standard mode, output slew rate control is enabled */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; IOCON_PIO_SLEW_STANDARD |&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* Input function is not inverted */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; IOCON_PIO_INV_DI |&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* Enables digital function */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; IOCON_PIO_DIGITAL_EN |&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* Open drain is disabled */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; IOCON_PIO_OPENDRAIN_DI);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* PORT0 PIN29 (&lt;/SPAN&gt;&lt;SPAN&gt;coords&lt;/SPAN&gt;&lt;SPAN&gt;: 92) is configured as FC0_RXD_SDA_MOSI_DATA */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; IOCON_PinMuxSet(IOCON, 0U, 29U, port0_pin29_config);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;uint32_t&lt;/SPAN&gt;&lt;SPAN&gt; port0_pin30_config = (&lt;/SPAN&gt;&lt;SPAN&gt;/* Pin is configured as FC0_TXD_SCL_MISO_WS */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; IOCON_PIO_FUNC1 |&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* No addition pin function */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; IOCON_PIO_MODE_INACT |&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* Standard mode, output slew rate control is enabled */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; IOCON_PIO_SLEW_STANDARD |&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* Input function is not inverted */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; IOCON_PIO_INV_DI |&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* Enables digital function */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; IOCON_PIO_DIGITAL_EN |&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* Open drain is disabled */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; IOCON_PIO_OPENDRAIN_DI);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* PORT0 PIN30 (&lt;/SPAN&gt;&lt;SPAN&gt;coords&lt;/SPAN&gt;&lt;SPAN&gt;: 94) is configured as FC0_TXD_SCL_MISO_WS */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; IOCON_PinMuxSet(IOCON, 0U, 30U, port0_pin30_config);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;uint32_t&lt;/SPAN&gt;&lt;SPAN&gt; port1_pin7_config = (&lt;/SPAN&gt;&lt;SPAN&gt;/* Pin is configured as FC0_RTS */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; IOCON_PIO_FUNC1 |&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* No addition pin function */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; IOCON_PIO_MODE_INACT |&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* Standard mode, output slew rate control is enabled */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; IOCON_PIO_SLEW_STANDARD |&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* Input function is not inverted */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; IOCON_PIO_INV_DI |&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* Enables digital function */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; IOCON_PIO_DIGITAL_EN |&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* Open drain is disabled */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; IOCON_PIO_OPENDRAIN_DI);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;/* PORT0 PIN30 (&lt;/SPAN&gt;&lt;SPAN&gt;coords&lt;/SPAN&gt;&lt;SPAN&gt;: 94) is configured as FC0_TXD_SCL_MISO_WS */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; IOCON_PinMuxSet(IOCON, 1U, 7U, port1_pin7_config);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&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="xiangjun_rong_0-1729760077999.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306723i7CF517EE24CADFB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1729760077999.png" alt="xiangjun_rong_0-1729760077999.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I connect the Yellow signal of scope to pin 7 of P18(PIO1_7) on the LPC55S28 board, connect blue signal to the FC0_TXD signal pin3 of P8 connector(FC0_USART_TXD).&lt;/P&gt;
&lt;P&gt;so I suppose the yellow signal can be the flow control signal.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 09:13:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1981090#M57146</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-10-24T09:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S28 UART Hardware Flow Control not working properly</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1981556#M57150</link>
      <description>&lt;P&gt;Using your code I was able to reproduce the problem on the&amp;nbsp;LPCXPresso55S28.&amp;nbsp; The only change I made was to use a baud rate 115200 (to match the device that is sending the data).&amp;nbsp; &amp;nbsp; The signal looks the same as before.&amp;nbsp; I cannot understand why you would not also be seeing the problem.&amp;nbsp; Could you try it at 115200 to see if you can reproduce the problem as well?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 23:49:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1981556#M57150</guid>
      <dc:creator>WilliamW</dc:creator>
      <dc:date>2024-10-24T23:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S28 UART Hardware Flow Control not working properly</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1983294#M57166</link>
      <description>&lt;P&gt;I got the device producing the incoming data to transmit at 9600 baud.&amp;nbsp; So, now I am using your code essentially unaltered and I am still having the problem.&amp;nbsp; I haven't received a reply to my response on Thursday.&amp;nbsp; &amp;nbsp;Can I please get some help with this problem?&amp;nbsp; We have a product that is nearly ready to ship and only waiting on a resolution to the hardware flow control not working properly.&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>Mon, 28 Oct 2024 22:11:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1983294#M57166</guid>
      <dc:creator>WilliamW</dc:creator>
      <dc:date>2024-10-28T22:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S28 UART Hardware Flow Control not working properly</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1983684#M57171</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This is the timing I use the scope Trigger mode to capture.&lt;/P&gt;
&lt;P&gt;The Yellow is P1_7 pin, which is RTS signal.&lt;/P&gt;
&lt;P&gt;The red signal is uart0_RX pin(FC0_USART_RXD, P0_29, pin2 of P8 ), the pin get char from PC side.&lt;/P&gt;
&lt;P&gt;the blue signal is uart0_TX signal(FC0_USART_TXD, P0_30, pin 3 of P8), the pin transmits string.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1730192952287.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/307436i1DCF3A2EC4D7B9F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1730192952287.png" alt="xiangjun_rong_0-1730192952287.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Can you duplicate the timing with my code? do you think the timing is correct especially RTS signal?&lt;/P&gt;
&lt;P&gt;I have tested both 9600 and 15200 baud rate, the result is same.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Xiangjun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 09:35:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1983684#M57171</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-10-29T09:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S28 UART Hardware Flow Control not working properly</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1983694#M57172</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;If you observed different timing of RTS signal vs uart0_RXD and TXD, pls post on the community so that we can have a check.&lt;/P&gt;
&lt;P&gt;This is PUTTY screenshot, which you can input char&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1730196265848.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/307445i501F6C53B1E852D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1730196265848.png" alt="xiangjun_rong_0-1730196265848.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 10:05:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1983694#M57172</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-10-29T10:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S28 UART Hardware Flow Control not working properly</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1984047#M57175</link>
      <description>&lt;P&gt;Thank you for the scope image with the additional lines.&amp;nbsp; The image actually demonstrates the problem.&amp;nbsp; RTS should only go high if the microcontroller is unable to receive more bytes, usually due to the FIFO being full.&amp;nbsp; In your example, when you are receiving the first byte (red), RTS (yellow) goes high while the byte is being received.&amp;nbsp; I haven't seen any other microcontrollers that implement RTS in this manner and haven't been able to find any articles describing RTS being implemented in this way.&amp;nbsp; I'm concerned that our product, which is designed to talk to other microcontrollers, will cause problems for customers whose microcontrollers do not allow for our RTS to work in this unusual way.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I am mistaken, would you please direct me to the relevant standard so I can better understand the issue and get some assurance that all microcontrollers would support this implementation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 17:36:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1984047#M57175</guid>
      <dc:creator>WilliamW</dc:creator>
      <dc:date>2024-10-29T17:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S28 UART Hardware Flow Control not working properly</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1984277#M57177</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I will consult with AE team and check if the timing of RTS flow control signal is correct or not.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Xiangjun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 01:42:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S28-UART-Hardware-Flow-Control-not-working-properly/m-p/1984277#M57177</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-10-30T01:42:02Z</dc:date>
    </item>
  </channel>
</rss>

