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.

Linux/AM5728: Using multiple UARTs

Part Number: AM5728

Tool/software: Linux

Hi,

I am using a custom am5728 board where currently I am using uart3 as my serial debug console. And I can write to it using printf() from user space. However, I have to also use uart8 to control a separate device. How can I enable both uart3 and uart8? And how can I read/write data to both through user space?

Thanks, please let me know!

Eeshan

  • Hi Eashan,

    How can I enable both uart3 and uart8?


    You should add dts nodes for both uart3 and uart8 (pinmux and configuration) and should use status = "okay" to get them enabled at bootup.

    After you do this, you can check /dev directory in your rootfs you will see /dev/ttyO entry for each uart. You can use those to work with the uarts through user space.

    Best Regards,
    Yordan