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.

UART1 Tiva, TM4C123BH6PZ. shutting of flow control

Other Parts Discussed in Thread: TM4C123BH6PZ

I'm using ARM Realview V5, the new peripheral 2.1 driverlib. The chip is TM4C123BH6PZ, circuit on my own board design.  UART0 is working perfectly, but I need to be pointed to some code that shows how to get UART1 to operate like a simple two wire UART0 style serial port?  My main problem is with getting the registers set up correctly to shut off all the flow control features/interrupts and clearing out all the framing errors, and break errors, and to get normal FIFO driven interrupt operation.  And finally I want to use the un-used UART1 flow control pins for other GPIO's.   PS:  All the pin unlocking has been figured out using the pin mux tool, so no hard fault problems with the entire project.

  • Hello Jeff,

    If you want to use UART1 as a standard 2-wire UART w/o flow control then you can refer to the uart_echo example which actually does that. The changes you need to make are for UART Base Address and UART Interrupt Handler.

    The Flow control does not start until it is enabled in the control register.

    The GPIO's for the flow control can be used as GPIO if the flow control is not being used.

    Regards

    Amit