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.

AM6548: Physical Address of PRU Control Register TRM Wrong?

Part Number: AM6548


Hi,

to make some PRU performance measurements, I would like to use the Cycle Count.

The TRM describe the physical address of PRU_ICSSG_0_PR1_PDSP0_IRAM to 0xB02200. The Cycle Count Register at 0xB0220C. However the memory at these address does not change when PRU is running.

However, after some time I disovered that at address 0xB02200C some data is placed, which could be the Cycle Count Register for ICSSG0_PRU0.
Can you confirm this?
If yes, why is there a 0 missing in the TRM?

Best regards,
Thomas

  • Thomas,

    Thanks for pointing this out. This is an error in the TRM and will be corrected in the next TRM release.

    As shown in the "PRU_ICSSG Global Memory Map" section of the TRM (section 6.4.4.4.2), the PRU_CTRL register addresses should all have a "0x00B2" prefix, instead of "0x00B0." For example, the ICSSG0_PRU0 Cycle Count Register is located at 0x00B2200C.

    Alternatively, if you're using the PRU firmware access this register, you can use address 0x0002200C to access the PRU_ICSSG's local memory map.

    Regards,

    Melissa

    * Edited response to correct addresses *

  • Thanks for confirmation!