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.

UART configuration

Part Number: TDA2EVM5777
Other Parts Discussed in Thread: J6EVM5777

Hi,

I have a question redarding UART. The UART debug console is ttyS0, so while using other UART port such as ttyS1,ttyS2,ttyS3 etc do we need change any multiplex setting or hardware settings in order to use that. We just did wiring for that UART3 and tried send data through ttyS2 but didnt get any reply.

I am using J6EVM5777

http://www.ti.com/tool/J6EVM5777

  • Hi Ganesh,
    I have the feeling from your post, you are not using the UART3 specific header.
    UART3 is a real 'old school' UART and should be connected to PC via external USB to serial adapter or to the classic 9-pin serial RS232. In this case you will have one additional ttySx.
    You have to find the TX/RX/GND header (typically labelled 'DEBUG HEADER') on your EVM and may have to solder your own connector and wires as well.

    Regards,
    Stan
  • Hi Stanislav,

    What do you mean by UART3 specific header? Will it generate an additional ttySx or will it be using ttyS3? We took UART out from the expansion header on EVM.

  • I'm sorry. I was thinking about other EVM. There is no separate UART3 header on that EVM board.

    You are right, you can observe UART3 on P9 connector.

    - Make sure you have muxed the correct UART3 pins in the processor itself (in software).

    -  Check mux K, switching between UART3 and MCSPI2 for bluetooth uart (BT_UART*) on P9.

  • Hi Stanislav,

    How can i do Muxing in software? Can you explain how to "Check mux K, switching between UART3 and MCSPI2 for bluetooth uart (BT_UART*) on P9". Does it generates a new ttyS* device or shouls i use ttyS2.
  • For TDA2x pin muxing, download the device TRM and then check registers

    CTRL_CORE_PAD_SPI2_SCLK

    CTRL_CORE_PAD_SPI2_D1

    are set to UART3.

    Set mux K:

    About ttyS, I was thinking about the host PC ttyS, please disregard this. EVM side ttyS should be ttyS2.