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.

[AM335x] UART - Enable UARTs 3 - 6

I have a customer who requres the use of all 6 UARTs in their design.  The PSP release 4.06.00.08 only supports UARTS 0-3, 4-5 are planned. What is involved in enabling these addtional UARTS?  I have identified three key steps, please correct me if i'm wrong and provide help me flesh out these steps.

1. Enable the UARTs via Pin Mux

2. Enable UART clocks in the clocking Tree

3. Enable SDK support of the additonal UARTs

 

PSP Release Notes:

http://processors.wiki.ti.com/index.php/AM335x-PSP_04.06.00.08_Release_Notes

  • Currently all the UARTS are enabled as part of the base port for the am335x. The steps you outlined are correct in that pin mux must be addressed. The clocking does not.

    If you do an "ls /dev" you will see the device nodes exist for all 6 UARTS,

    .... ttyO0 ttyO1 ttyO2 ttyO3 ttyO4 ttyO5 ....

    In terms of software support in the SDK we can perhaps add an example in the future about how to access the UART. Right now I believe only UART 0 (/dev/ttyO0) is used for the linux console, which is defined in the /etc/inittab. Each of the other UARTs can be configured with tty commands.