Hi Onur,
Thanks a lot for your updated information.
Actually, the KE1X LPUART already support the hardware flow control for RTS and CTS signals. But you use the GPIO to control the RTS, it's also OK.
When you receive the data, you need to pull RTS to low, RTS normally connect to the CTS to your slave device, then it means the master can receive the data, the slave will send the data. In your master side, you just need to use the UART to receive the data is OK, if your FIFO is full, you can pull the RTS to high, it means, you don't need to receive the data any more. If your receive have problems, you can refer to our offical uart receive code, actually, you just need to add the RTS control, and CTS control function. Actually, when you finish the reading data, then you pull RTS to low, it is controlled by yourself. If you don't enable the LOOPS in the CTRL register, the send data won't back to the read fifo.
So, I think you can check your UART receive function at first, after it works, then you add the RTS control again.
Wish it helps you!
If you still have question about it, please kindly let me know.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------