AM6442: TCM access

Part Number: AM6442

Tool/software:

Hi,
customer needs to configure the R5FSS in dual-core mode so each core has 64KB tightly-coupled memory (TCM) per CPU. Can one CPU have also read access to the other CPU TCM?
The task is that CPU0 writes data TCM0 and CPU1 reads the data from TCM0. Would that work? I couldn't find a documentation.

Regards, Holger

  • Hello Holger,

    On the AM243x/AM64x R5F Subsystem:

    Each R5F core has private TCM (64 KB per core).

    TCM is tightly coupled to the CPU for performance.

    Each core can access any core’s TCM via its SOC address space through the SoC interconnect.

    Proposed Method

    1. Allocate TCM for Core0

    Core0 reserves a portion of its TCM for a shared data buffer.

    2. Notify Core1 via IPC

    Core0 sends an IPC message to Core1 once data is ready.

    This ensures proper synchronization, preventing Core1 from reading incomplete data.

    3. Core1 Reads via Global Address Space (Mapped Through SoC)

    Core1 accesses Core0’s TCM buffer using its SOC address space, which maps to the same physical memory via the SoC interconnect.

    Regards,

    Anil.