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.

AM625: UART ports for log output

Part Number: AM625
Other Parts Discussed in Thread: SK-AM62

Our customer wants to use UART ports for log output on their custom board and wants to use the same UART ports used for by the demos and examples in the SDK.

I understand that four UART ports are provided for COM ports on the SK-AM62 and their uses as follows.

MAIN_UART0: Used for Linux and U-Boot on A53
MAIN_UART1: Unknown
WKUP_UART0: Unknown
MCU_UART0: Used for MCU+ SDK demos and examples on M4

What is MAIN_UART1 or WKUP_UART0 used for by the demos and examples in the SDK?

Best regards,

Daisuke

  • Hi Daisuke-san,

    MAIN_UART1 is used for TIFS firmware, and WKUP_UART0 is used for DM firmware.

  • Hi Bin Liu-san,

    Thank you for your reply.

    Our customer wants to use more UART ports for communication such as RS-485 on their custom board.

    TIFS formware seems to run on SMS (M4) in AM62x.

    software-dl.ti.com/.../TISCI.html

    Is MCU_UART0 used for TIFS formware?

    Should their custom board be designed so that these UART ports can be used for log output by switching jumpers etc?

    MAIN_UART0: Used for Linux and U-Boot on A53
    MAIN_UART1: Used for TIFS firmware
    WKUP_UART0: Used for DM firmware
    MCU_UART0: Used for MCU+ SDK demos and examples on M4

    Best regards,

    Daisuke

  • Hi Daisuke-san,

    Is MCU_UART0 used for TIFS formware?

    No.

    Should their custom board be designed so that these UART ports can be used for log output by switching jumpers etc?

    I am not sure I understand your question? Could you please elaborate?

    By the way, TIFS firmware logging could be disabled in board config, so that applications can use MAIN_UART1.

  • Hi Bin Liu-san,

    Thank you for your reply.

    Should our customer designs these UART ports to be able to log output as COM ports for debugging on their custom board?

    Our customer will need to design their custom board so that these UART ports can be switched by jumpers, etc. to use them for log output as COM ports because their custom board will use many UART ports for communication such as RS-485.

    Best regards,

    Daisuke

  • Hi Daisuke-san,

    Sorry but it is still not clear to me what the use case is and what the jumper can resolve. Can you please take one UART as an example and explain your design idea and how the jumper is used? Maybe a diagram can help me understand?

  • Hi Bin Liu-san,

    Thank you for your reply.

    Our customer wants to know if these UART ports should be used to log output as COM ports for debugging on their custom board. They themselves will consider how to design these UART ports.

    If these UART ports are designed exclusively for communication such as RS-485, it will be difficult to check the log output.

    Best regards,

    Daisuke

  • Hi Daisuke-san,

    I think you probably want these debug UART ports to be directly exposed in your development board, so you might want to add jumpers to switch between RS232 and RS485. You can remove the jumpers in your production boards if the saving in BOM cost is an concern, you can always use blue-wires in case you need to debug your production boards.

  • Hi Bin Liu-san,

    Thank you for your reply.

    I would recommend to our customer to design these UART ports to be available for debugging.

    Best regards,

    Daisuke