Part Number: AM2434
Tool/software:
Hi,
My customer wants to access to PRU registers such like R0, R9.w0, etc... directly from R5F. Is it possible ?
If it's possible, could you tell them how to access from R5F ?
Thanks and regards,
Hideaki
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.
Part Number: AM2434
Tool/software:
Hi,
My customer wants to access to PRU registers such like R0, R9.w0, etc... directly from R5F. Is it possible ?
If it's possible, could you tell them how to access from R5F ?
Thanks and regards,
Hideaki
Hello Hideaki-san,
We support a communication protocol between R5F cores and PRU cores called PRU IPC. Please find more information about it here:
https://software-dl.ti.com/mcu-plus-sdk/esd/AM243X/10_00_00_20/exports/docs/api_guide_am243x/DRIVERS_PRU_IPC.html
In addition, the R5F can directly read from the PRU's Data RAM (DRAM), or Shared RAM (SRAM) by reading from the addresses in the "PRU_ICSSG Global Memory Map" in the Technical Reference Manual (TRM).
However, other processor cores are NOT able to directly read the PRU's internal registers R0-R31. You can use CCS to peek into the PRU internal registers during software development.
For getting started thoughts on using CCS for debug, feel free to refer to the PRU Getting Started Labs (currently targeted for CCS <--> PRU and Linux <--> PRU): https://software-dl.ti.com/processor-sdk-linux/esd/AM64X/10_00_07_04/exports/docs/common/PRU-ICSS/PRU-Getting-Started-Labs_Lab5.html
For getting started labs specific to AM243x, refer to the RTOS getting started guide: https://git.ti.com/cgit/pru-software-support-package/pru-software-support-package/tree/examples/am243x
Regards,
Nick