Hello,
I'm using TM4C129XNZAD microcontroller and TivaWare_C_Series-2.1.0.12573. i am wandering if there is any sample for using hardware flow control with the UART.
Thank you
Regards
Ahmed
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I'm using TM4C129XNZAD microcontroller and TivaWare_C_Series-2.1.0.12573. i am wandering if there is any sample for using hardware flow control with the UART.
Thank you
Regards
Ahmed
Isn't it true that (some) MCU ports include more than the two standard (TX & RX) UART pins - and these, "extra pins" (usually RTS & CTS) are normally used to implement, HW Flow Control?
Note that not all MCU Ports contain these extra pins - you must examine the various ports to locate them.
You can experiment w/these pins by driving the (receive-based one - I believe that's CTS) with a simple routing to a free GPIO on your MCU. When that pin is properly controlled the MCU's UART_TX may not be enabled for output until CTS is properly driven. (I've not done this - with this vendor's parts - so you'll need to read the MCU manual & examine UART Registers to confirm)
I'm unaware of any UART example illustrating HW Flow Control. The experimental method I've outlined should yield success if you're systematic & patient...