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.

AM6548: Using all UARTs on Linux

Part Number: AM6548

AM6548 has 5 UARTs as shown below, can they all be used together on Linux?

WKUP_UART0
MCU_UART0
UART0
UART1
UART2

In the DT configuration example below, only up to 4 UARTs are used.

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

Best regards,

Daisuke

  • Hi Daisuke-san,

    AM6548 has 5 UARTs as shown below, can they all be used together on Linux?

    WKUP_UART is used SYSFW, so Linux cannot use WKUP_UART0. Linux can use the rest of the UARTs.

  • Hi Bin-san,

    Thank you for your reply.

    Can WKUP_UART be used by A53 or R5 in AM65x hardware?

    Does any configuration need to be changed through SYSFW to use WKUP_UART by A53 or R5?

    Our customer may use UART by RTOS on A53 or R5.

    Best regards,

    Daisuke

  • Hi Daisuke,

    I don't think applications can use the WKUP_UART since the SYSFW is using it. Likely the SYSFW has to be reconfigured and rebuild, which is not feasible since the SYSFW is provided in binary in the Processor SDK. I will double check on this internally and get back to you.

    Is there any reason why you picked AM65x for your project? Have you considered AM64x or AM62x? These devices have 6+ UARTs.

  • Hi Bin-san,

    Thank you for your reply.

    I don't think applications can use the WKUP_UART since the SYSFW is using it. Likely the SYSFW has to be reconfigured and rebuild, which is not feasible since the SYSFW is provided in binary in the Processor SDK. I will double check on this internally and get back to you.

    Thank you for your support. I would appreciate it if you could check and answer.

    Is there any reason why you picked AM65x for your project?

    Our customer wants to use AM65x for a new design, which needs a touch panel display, EtherCAT Slave, Ethernet ports, CAN, UARTs and Secure boot, etc, and which is expected to go into mass production at the end of 2023 with prototypes at the beginning of same year.

    Have you considered AM64x or AM62x?

    It may be possible to use a combination of AM64/AM24 and AM62, but we are concerned that those will not be delivered in time.

    Best regards,

    Daisuke

  • Hi daisuke-san,

    Thank you for your support. I would appreciate it if you could check and answer.

    SYSFW doesn't have to rebuild to disable WKUP UART. The SYSFW debug tracing to WKUP UART can be disabled in boardcfg when recompiling U-Boot, then the Linux applications can use WKUP UART.

    It may be possible to use a combination of AM64/AM24 and AM62, but we are concerned that those will not be delivered in time.

    I discussed your concern with our Marketing manager, the supply of AM64x/AM62x won't be any issue.

  • Bin-san,

    Thank you for your support.

    SYSFW doesn't have to rebuild to disable WKUP UART. The SYSFW debug tracing to WKUP UART can be disabled in boardcfg when recompiling U-Boot, then the Linux applications can use WKUP UART.

    It is good to know that it is easy to do that. If additional UARTs is needed on AM65x, we would like to try that.

    I discussed your concern with our Marketing manager, the supply of AM64x/AM62x won't be any issue.

    We will consider whether a combination of AM64/24 and AM62 will meet our customer's requirements.

    Best regards,

    Daisuke