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.

TM4C1294NCPDT: Configuring UART 7 for TERATERM

Part Number: TM4C1294NCPDT


Hi,

I have the TM4C1294XL launch pad, I want to Configure UART 7 for connecting TERATERM through UART to USB converter(FT232)  to view the display function in TERATERM.

Issue:

1. I cannot able to configure the UART for Serial communication, why?

2. I have gone through the data sheet, which says below,

– UART0 (modem flow control and modem status)

– UART1 (modem flow control and modem status)

– UART2 (modem flow control)

– UART3 (modem flow control)

– UART4 (modem flow control)

3. I want to whether I can configure the UART 7 for serial port? how? Or only the UART with flow control can be used for Serial communication.

Regards,

Manohar

  • Flow control (modem flow control) - as used here - proves "useful" - yet not "essential" - for Serial Communication.      If you are not connecting to a modem - you are "freed" from such demands.

    CAUTION!     Do check (really check) to insure that your model "UART to USB" does NOT provide RS-232 levels - which if connected to your MCU - will (likely) destroy it!      You want "CMOS to USB Converter" if you have not installed RS232 line drivers upon your board!

    Indeed you can configure UART_7 - which appears (per the MCU Manual, Pg. 1164) - upon PC4 & PC5.

    The nature of your question (How to configure UART_7) signals that you've not yet read/reviewed (or fully absorbed) the: MCU Manual (UART Section); Peripheral Driver Library User's Guide (again UART); and the "examples\peripherals\uart" listing w/in the API.      While I could "Do that for you" - your learning is much lessened - that cannot be good...

    If you employ the API - your use of   "UARTCharGet() & UARTCharPut()" and/or their variants - will succeed w/UART_7.

    Some here prefer the utility, "stdio" - which often avoids, "Enabling of the higher numbered UARTs."     The API's source code (stdio.c) is available to you - and you can review it  to confirm that "those higher numbered UART Ports" are excluded.       One expects that you can "overcome that restriction" - should UART_7 be that important...

  • UART7 does not have RTS or CTS signals so you would be limited to using XOFF and XON for flow control.