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.

CCS/PROCESSOR-SDK-AM65X: In the PRU, how to write global device registers in the main domain

Part Number: PROCESSOR-SDK-AM65X

Tool/software: Code Composer Studio

Hi,

I want to use the global peripherals like EPWM and EQEP in the PRU in the AM65x IDK. In my case, the A53 is running the Linux. And PRU for real-time control.

When i try to write to the direct register values, all write failed. And in the memory view, the all registers are zero and can not be written.

So how to enable these global peripherals to be written ?

Best Regards,

Jerry

  • Hi,

    Global address space is addressable from PRU. Few questions for you

    1. Has PRU been enabled by taking out of reset ? Are you running some firmware on it ? or did you just connect to it in CCS ?

    2. EPWM and EQEP clocks might be disabled by Linux because it's not part of device tree. Can you try accessing some other main domain register like DMA or Mailbox and see the result ?

    3. What happens when Linux is not running on A53, are those registers accessible ?

    Regards

    Vineet