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: PRU UART access from A15

Part Number: AM5728

Tool/software: Linux

We are in scarcity of UART ports of A15 Core, Want to know if we can use the UART of PRU from A15,

Gone through the following post,

e2e.ti.com/.../2395167

We are not going to use the PRU at all, So how the UART will be clocked if PRU is not being used at all. 

Apart from memory mapping, what other configurations has to be done?

  • Hello Sivaram, 

    TI does not provide a driver to directly control the PRU's UART from an A15 core. However, you can control the UART using firmware in the PRU, and then have the PRU communicate with an A15 using a method like RPMsg. Note that interrupts from the UART will go to the PRU, so the PRU will then have to pass those interrupts to the A15.

    Please see the AM335x PRU_Hardware_UART example for setting up PRU control of the UART either in the git repository or in a linux processor SDK (e.g. ti-processor-sdk-linux-am57xx-evm-04.02.00.09/example-applications/pru-icss-5.1.0/examples/am335x). You'll need to port that example to AM5728. The AM57x PRU_RPMsg_Interrupt examples may be useful (see the git repository or in a Linux processor SDK, e.g. ti-processor-sdk-linux-am57xx-evm-04.02.00.09/example-applications/pru-icss-5.1.0/examples/am57xx).

    Regards, 

    Nick